/* ============================================================
   Projet : jeromarsan.local
   Fichier : assets/css/style.css
   Rôle    : Styles principaux de l'interface glassmorphism
   Source  : CSS inspiré du template fourni, aplati pour navigateur.

   Notes :
   - Police globale : Poppins.
   - Les couleurs principales sont centralisées dans :root.
   - Le mode clair est piloté par la classe body.light-mode.
   - Les cartes utilisent un fond sombre transparent + blur.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  outline: none;
}

* {
  box-sizing: border-box;
}

:root {
  --theme-bg-color: rgba(16 18 27 / 40%);
}

:root {
  --border-color: rgba(113 119 144 / 25%);
}

:root {
  --theme-color: #f9fafb;
}

:root {
  --inactive-color: rgb(113 119 144 / 78%);
}

:root {
  --body-font: "Poppins", sans-serif;
}

:root {
  --hover-menu-bg: rgba(12 15 25 / 30%);
}

:root {
  --content-title-color: #999ba5;
}

:root {
  --content-bg: rgb(146 151 179 / 13%);
}

:root {
  --button-inactive: rgb(249 250 251 / 55%);
}

:root {
  --dropdown-bg: #21242d;
}

:root {
  --dropdown-hover: rgb(42 46 60);
}

:root {
  --popup-bg: rgb(22 25 37);
}

:root {
  --search-bg:  #14162b;
}

:root {
  --overlay-bg: rgba(36, 39, 59, 0.3);
}

:root {
  --scrollbar-bg: rgb(1 2 3 / 40%);
}

.light-mode {
  --theme-bg-color: rgb(255 255 255 / 31%);
}

.light-mode {
  --theme-color: #3c3a3a;
}

.light-mode {
  --inactive-color: #333333;
}

.light-mode {
  --button-inactive: #3c3a3a;
}

.light-mode {
  --search-bg: rgb(255 255 255 / 31%);
}

.light-mode {
  --dropdown-bg: #f7f7f7;
}

.light-mode {
  --overlay-bg: rgb(255 255 255 / 30%);
}

.light-mode {
  --dropdown-hover: rgb(236 236 236);
}

.light-mode {
  --border-color: rgb(255 255 255 / 35%);
}

.light-mode {
  --popup-bg: rgb(255 255 255);
}

.light-mode {
  --hover-menu-bg: rgba(255 255 255 / 35%);
}

.light-mode {
  --scrollbar-bg: rgb(255 253 253 / 57%);
}

.light-mode {
  --content-title-color: var(--theme-color);
}

html {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--body-font);
}

body {
  background-image: url(https://wallpapershome.com/images/wallpapers/macos-big-sur-1280x720-dark-wwdc-2020-22655.jpg);
}

body {
  background-size: cover;
}

body {
  background-position: center;
}

body {
  display: flex;
}

body {
  justify-content: center;
}

body {
  align-items: center;
}

body {
  flex-direction: column;
}

body {
  padding: 2em;
}

body {
  width: 100%;
}

body {
  height: 100vh;
}

@media screen and (max-width: 480px) {
body {
  padding: 0.8em;
}
}

.video-bg {
  position: fixed;
}

.video-bg {
  right: 0;
}

.video-bg {
  top: 0;
}

.video-bg {
  width: 100%;
}

.video-bg {
  height: 100%;
}

.video-bg video {
  width: 100%;
}

.video-bg video {
  height: 100%;
}

.video-bg video {
  object-fit: cover;
}

img {
  max-width: 100%;
}

.dark-light {
  position: fixed;
}

.dark-light {
  bottom: 50px;
}

.dark-light {
  right: 30px;
}

.dark-light {
  background-color: var(--dropdown-bg);
}

.dark-light {
  box-shadow: -1px 3px 8px -1px rgba(0, 0, 0, 0.2);
}

.dark-light {
  padding: 8px;
}

.dark-light {
  border-radius: 50%;
}

.dark-light {
  z-index: 3;
}

.dark-light {
  cursor: pointer;
}

.dark-light svg {
  width: 24px;
}

.dark-light svg {
  flex-shrink: 0;
}

.dark-light svg {
  fill: #ffce45;
}

.dark-light svg {
  stroke: #ffce45;
}

.dark-light svg {
  transition: 0.5s;
}

.light-mode .dark-light svg {
  fill: transparent;
}

.light-mode .dark-light svg {
  stroke: var(--theme-color);
}

.light-mode .profile-img {
  border: 2px solid var(--theme-bg-color)
}

.light-mode .content-section ul {
  background-color: var(--theme-bg-color);
}

.light-mode .pop-up__title {
  border-color: var(--theme-color);
}

.light-mode .dropdown.is-active ul {
  background-color:rgb(255 255 255 / 94%);
}

body.light-mode:before,

body.light-mode .video-bg:before {
  content: "";
}

body.light-mode .video-bg:before {
  position: absolute;
}

body.light-mode .video-bg:before {
  left: 0;
}

body.light-mode .video-bg:before {
  top: 0;
}

body.light-mode .video-bg:before {
  width: 100%;
}

body.light-mode .video-bg:before {
  height: 100vh;
}

body.light-mode .video-bg:before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgb(255 255 255 / 45%) 100%);
}

body.light-mode .video-bg:before {
  backdrop-filter: saturate(3);
}

.app {
  background-color: var(--theme-bg-color);
}

.app {
  max-width: 1750px;
}

.app {
  max-height: 1000px;
}

.app {
  height: 90vh;
}

.app {
  display: flex;
}

.app {
  flex-direction: column;
}

.app {
  overflow: hidden;
}

.app {
  position: relative;
}

.app {
  width: 100%;
}

.app {
  border-radius: 14px;
}

.app {
  backdrop-filter: blur(20px);
}

.app {
  -webkit-backdrop-filter: blur(20px);
}

.app {
  font-size: 15px;
}

.app {
  font-weight: 500;
}

.header {
  display: flex;
}

.header {
  align-items: center;
}

.header {
  flex-shrink: 0;
}

.header {
  height: 58px;
}

.header {
  width: 100%;
}

.header {
  border-bottom: 1px solid var(--border-color);
}

.header {
  padding: 0 30px;
}

.header {
  white-space: nowrap;
}

@media screen and (max-width: 480px) {
.header {
  padding: 0 16px;
}
}

.header-menu {
  display: flex;
}

.header-menu {
  align-items: center;
}

.header-menu a {
  padding: 20px 30px;
}

.header-menu a {
  text-decoration: none;
}

.header-menu a {
  color: var(--inactive-color);
}

.header-menu a {
  border-bottom: 2px solid transparent;
}

.header-menu a {
  transition: 0.3s;
}

@media screen and (max-width: 610px) {
.header-menu a:not(.main-header-link) {
  display: none;
}
}

.header-menu a.is-active,
.header-menu a:hover {
  color: var(--theme-color);
}

.header-menu a:hover {
  border-bottom: 2px solid var(--theme-color);
}

.notify {
  position: relative;
}

.notify:before {
  content: "";
}

.notify:before {
  position: absolute;
}

.notify:before {
  background-color: #3a6df0;
}

.notify:before {
  width: 6px;
}

.notify:before {
  height: 6px;
}

.notify:before {
  border-radius: 50%;
}

.notify:before {
  right: 20px;
}

.notify:before {
  top: 16px;
}

@media screen and (max-width: 1055px) {
.notify {
  display: none;
}
}

.menu-circle {
  width: 15px;
}

.menu-circle {
  height: 15px;
}

.menu-circle {
  background-color: #f96057;
}

.menu-circle {
  border-radius: 50%;
}

.menu-circle {
  box-shadow: 24px 0 0 0 #f8ce52, 48px 0 0 0 #5fcf65;
}

.menu-circle {
  margin-right: 195px;
}

.menu-circle {
  flex-shrink: 0;
}

@media screen and (max-width: 945px) {
.menu-circle {
  display: none;
}
}

.search-bar {
  height: 40px;
}

.search-bar {
  display: flex;
}

.search-bar {
  width: 100%;
}

.search-bar {
  max-width: 400px;
}

.search-bar {
  padding-left: 16px;
}

.search-bar {
  border-radius: 4px;
}

.search-bar input {
  width: 100%;
}

.search-bar input {
  height: 100%;
}

.search-bar input {
  border: none;
}

.search-bar input {
  background-color: var(--search-bg);
}

.search-bar input {
  border-radius: 4px;
}

.search-bar input {
  font-family: var(--body-font);
}

.search-bar input {
  font-size: 15px;
}

.search-bar input {
  font-weight: 500;
}

.search-bar input {
  padding: 0 20px 0 40px;
}

.search-bar input {
  box-shadow: 0 0 0 2px rgb(134 140 160 / 2%);
}

.search-bar input {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23717790c7'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
}

.search-bar input {
  background-size: 14px;
}

.search-bar input {
  background-repeat: no-repeat;
}

.search-bar input {
  background-position: 16px 48%;
}

.search-bar input {
  color: var(--theme-color);
}

.search-bar input::placeholder {
  font-family: var(--body-font);
}

.search-bar input::placeholder {
  color: var(--inactive-color);
}

.search-bar input::placeholder {
  font-size: 15px;
}

.search-bar input::placeholder {
  font-weight: 500;
}

.header-profile {
  display: flex;
}

.header-profile {
  align-items: center;
}

.header-profile {
  padding: 0 16px 0 40px;
}

.header-profile {
  margin-left: auto;
}

.header-profile {
  flex-shrink: 0;
}

.header-profile svg {
  width: 22px;
}

.header-profile svg {
  color: #f9fafb;
}

.header-profile svg {
  flex-shrink: 0;
}

.notification {
  position: relative;
}

.notification-number {
  position: absolute;
}

.notification-number {
  background-color: #3a6df0;
}

.notification-number {
  width: 16px;
}

.notification-number {
  height: 16px;
}

.notification-number {
  border-radius: 50%;
}

.notification-number {
  font-size: 10px;
}

.notification-number {
  display: flex;
}

.notification-number {
  align-items: center;
}

.notification-number {
  justify-content: center;
}

.notification-number {
  color: #fff;
}

.notification-number {
  right: -6px;
}

.notification-number {
  top: -6px;
}

.notification + svg {
  margin-left: 22px;
}

@media screen and (max-width: 945px) {
.notification + svg {
  display: none;
}
}

.profile-img {
  width: 32px;
}

.profile-img {
  height: 32px;
}

.profile-img {
  border-radius: 50%;
}

.profile-img {
  object-fit: cover;
}

.profile-img {
  border: 2px solid var(--theme-color);
}

.profile-img {
  margin-left: 22px;
}

.header-menu,

.wide .header-profile {
  display: none;
}

.wide .search-bar {
  max-width: 600px;
}

.wide .search-bar {
  margin: auto;
}

.wide .search-bar {
  transition: 0.4s;
}

.wide .search-bar {
  box-shadow: 0 0 0 1px var(--border-color);
}

.wide .search-bar {
  padding-left: 0;
}

.wide .menu-circle {
  margin-right: 0;
}

.wrapper {
  display: flex;
}

.wrapper {
  flex-grow: 1;
}

.wrapper {
  overflow: hidden;
}

.left-side {
  flex-basis: 240px;
}

.left-side {
  border-right: 1px solid var(--border-color);
}

.left-side {
  padding: 26px;
}

.left-side {
  overflow: auto;
}

.left-side {
  flex-shrink: 0;
}

@media screen and (max-width: 945px) {
.left-side {
  display: none;
}
}

.side-wrapper + .side-wrapper {
  margin-top: 20px;
}

.side-title {
  color: var(--inactive-color);
}

.side-title {
  margin-bottom: 14px;
}

.side-menu {
  display: flex;
}

.side-menu {
  flex-direction: column;
}

.side-menu {
  white-space: nowrap;
}

.side-menu a {
  text-decoration: none;
}

.side-menu a {
  color: var(--theme-color);
}

.side-menu a {
  display: flex;
}

.side-menu a {
  align-items: center;
}

.side-menu a {
  font-weight: 400;
}

.side-menu a {
  padding: 10px;
}

.side-menu a {
  font-size: 14px;
}

.side-menu a {
  border-radius: 6px;
}

.side-menu a {
  transition: 0.3s;
}

.side-menu a:hover {
  background-color: var(--hover-menu-bg);
}

.side-menu svg {
  width: 16px;
}

.side-menu svg {
  margin-right: 8px;
}

.updates {
  position: relative;
}

.updates {
  top: 0;
}

.updates {
  right: 0;
}

.updates {
  margin-left: auto;
}

.updates {
  width: 18px;
}

.updates {
  height: 18px;
}

.updates {
  font-size: 11px;
}

.main-header {
  display: flex;
}

.main-header {
  align-items: center;
}

.main-header {
  border-bottom: 1px solid var(--border-color);
}

.main-header {
  height: 58px;
}

.main-header {
  flex-shrink: 0;
}

.main-header .header-menu {
  margin-left: 150px;
}

@media screen and (max-width: 1055px) {
.main-header .header-menu {
  margin: auto;
}
}

.main-header .header-menu a {
  padding: 20px 24px;
}

.main-container {
  display: flex;
}

.main-container {
  flex-direction: column;
}

.main-container {
  flex-grow: 1;
}

.menu-link-main {
  text-decoration: none;
}

.menu-link-main {
  color: var(--theme-color);
}

.menu-link-main {
  padding: 0 30px;
}

@media screen and (max-width: 1055px) {
.menu-link-main {
  display: none;
}
}

.content-wrapper {
  display: flex;
}

.content-wrapper {
  flex-direction: column;
}

.content-wrapper {
  color: var(--theme-color);
}

.content-wrapper {
  padding: 20px 40px;
}

.content-wrapper {
  height: 100%;
}

.content-wrapper {
  overflow: auto;
}

.content-wrapper {
  background-color: var(--theme-bg-color);
}

@media screen and (max-width: 510px) {
.content-wrapper {
  padding: 20px;
}
}

.content-wrapper-header {
  display: flex;
}

.content-wrapper-header {
  align-items: center;
}

.content-wrapper-header {
  width: 100%;
}

.content-wrapper-header {
  justify-content: space-between;
}

.content-wrapper-header {
  background-image: url("https://www.transparenttextures.com/patterns/cubes.png"),
}

linear-gradient(

to right top,

#cf4af3,

#e73bd7,

#f631bc,

#fd31a2,

#ff3a8b,

#ff4b78,

#ff5e68,

#ff705c,

#ff8c51,

#ffaa49,

#ffc848,

#ffe652

);

.content-wrapper-header {
  border-radius: 14px;
}

.content-wrapper-header {
  padding: 20px 40px;
}

@media screen and (max-width: 415px) {
.content-wrapper-header {
  padding: 20px;
}
}

.content-wrapper.overlay {
  pointer-events: none;
}

.content-wrapper.overlay {
  transition: 0.3s;
}

.content-wrapper.overlay {
  background-color: var(--overlay-bg);
}

.overlay-app {
  width: 100%;
}

.overlay-app {
  height: 100%;
}

.overlay-app {
  position: fixed;
}

.overlay-app {
  left: 0;
}

.overlay-app {
  top: 0;
}

.overlay-app {
  pointer-events: all;
}

.overlay-app {
  background-color: rgba(36, 39, 59, 0.8);
}

.overlay-app {
  opacity: 0;
}

.overlay-app {
  visibility: hidden;
}

.overlay-app {
  transition: 0.3s;
}

.overlay-app.is-active {
  visibility: visible;
}

.overlay-app.is-active {
  opacity: 1;
}

.img-content {
  font-weight: 500;
}

.img-content {
  font-size: 17px;
}

.img-content {
  display: flex;
}

.img-content {
  align-items: center;
}

.img-content {
  margin: 0;
}

.img-content svg {
  width: 28px;
}

.img-content svg {
  margin-right: 14px;
}

.content-text {
  font-weight: 400;
}

.content-text {
  font-size: 14px;
}

.content-text {
  margin-top: 16px;
}

.content-text {
  line-height: 1.7em;
}

.content-text {
  color: #ebecec;
}

.content-text {
  display: -webkit-box;
}

.content-text {
  -webkit-line-clamp: 4;
}

.content-text {
  -webkit-box-orient: vertical;
}

.content-text {
  overflow: hidden;
}

.content-text {
  text-overflow: ellipsis;
}

.content-wrapper-context {
  max-width: 350px;
}

.content-button {
  background-color: #3a6df0;
}

.content-button {
  border: none;
}

.content-button {
  padding: 8px 26px;
}

.content-button {
  color: #fff;
}

.content-button {
  border-radius: 20px;
}

.content-button {
  margin-top: 16px;
}

.content-button {
  cursor: pointer;
}

.content-button {
  transition: 0.3s;
}

.content-button {
  white-space: nowrap;
}

.content-wrapper-img {
  width: 186px;
}

.content-wrapper-img {
  object-fit: cover;
}

.content-wrapper-img {
  margin-top: -25px;
}

.content-wrapper-img {
  object-position: center;
}

@media screen and (max-width: 570px) {
.content-wrapper-img {
  width: 110px;
}
}

.content-section {
  margin-top: 30px;
}

.content-section {
  display: flex;
}

.content-section {
  flex-direction: column;
}

.content-section-title {
  color: var(--content-title-color);
}

.content-section-title {
  margin-bottom: 14px;
}

.content-section ul {
  display: flex;
}

.content-section ul {
  flex-direction: column;
}

.content-section ul {
  width: 100%;
}

.content-section ul {
  height: 100%;
}

.content-section ul {
  justify-content: space-around;
}

.content-section ul {
  background-color: var(--content-bg);
}

.content-section ul {
  padding-left: 0;
}

.content-section ul {
  margin: 0;
}

.content-section ul {
  border-radius: 14px;
}

.content-section ul {
  border: 1px solid var(--theme-bg-color);
}

.content-section ul {
  cursor: pointer;
}

.content-section ul li {
  list-style: none;
}

.content-section ul li {
  padding: 10px 18px;
}

.content-section ul li {
  display: flex;
}

.content-section ul li {
  align-items: center;
}

.content-section ul li {
  font-size: 16px;
}

.content-section ul li {
  width: 100%;
}

.content-section ul li {
  height: 100%;
}

.content-section ul li {
  white-space: nowrap;
}

.content-section ul li {
  transition: 0.3s;
}

.content-section ul li:hover {
  background-color: var(--theme-bg-color);
}

.content-section ul li:hover:first-child {
  border-radius: 13px 13px 0 0;
}

.content-section ul li:hover:last-child {
  border-radius: 0 0 13px 13px;
}

.content-section ul li + li {
  border-top: 1px solid var(--border-color);
}

.content-section ul svg {
  width: 28px;
}

.content-section ul svg {
  border-radius: 6px;
}

.content-section ul svg {
  margin-right: 16px;
}

.content-section ul svg {
  flex-shrink: 0;
}

.products {
  display: flex;
}

.products {
  align-items: center;
}

.products {
  width: 150px;
}

@media screen and (max-width: 480px) {
.products {
  width: 120px;
}
}

.status {
  margin-left: auto;
}

.status {
  width: 140px;
}

.status {
  font-size: 15px;
}

.status {
  position: relative;
}

@media screen and (max-width: 700px) {
.status {
  display: none;
}
}

.status-circle {
  width: 6px;
}

.status-circle {
  height: 6px;
}

.status-circle {
  background-color: #396df0;
}

.status-circle {
  position: absolute;
}

.status-circle {
  border-radius: 50%;
}

.status-circle {
  top: 4px;
}

.status-circle {
  left: -20px;
}

.status-circle.green {
  background-color: #3bf083;
}

.status-button {
  font-size: 15px;
}

.status-button {
  margin-top: 0;
}

.status-button {
  padding: 6px 24px;
}

@media screen and (max-width: 390px) {
.status-button {
  padding: 6px 14px;
}
}

.status-button.open {
  background: none;
}

.status-button.open {
  color: var(--button-inactive);
}

.status-button.open {
  border: 1px solid var(--button-inactive);
}

.status-button:not(.open):hover {
  color: #fff;
}

.status-button:not(.open):hover {
  border-color: #fff;
}

.content-button:not(.open):hover {
  background: #1e59f1;
}

.menu {
  width: 5px;
}

.menu {
  height: 5px;
}

.menu {
  background-color: var(--button-inactive);
}

.menu {
  border-radius: 50%;
}

.menu {
  box-shadow: 7px 0 0 0 var(--button-inactive), 14px 0 0 0 var(--button-inactive);
}

.menu {
  margin: 0 12px;
}

@media screen and (max-width: 415px) {
.adobe-product .menu {
  display: none;
}
}

.dropdown {
  position: relative;
}

.dropdown {
  height: 53px;
}

.dropdown {
  width: 40px;
}

.dropdown {
  top: -24px;
}

.dropdown {
  display: flex;
}

.dropdown {
  left: -5px;
}

.dropdown {
  background: transparent;
}

.dropdown {
  border: none;
}

.dropdown {
  cursor: pointer;
}

.dropdown ul {
  position: absolute;
}

.dropdown ul {
  background: var(--dropdown-bg);
}

.dropdown ul {
  height: 110px;
}

.dropdown ul {
  width: 120px;
}

.dropdown ul {
  right: 0;
}

.dropdown ul {
  top: 20px;
}

.dropdown ul {
  pointer-events: none;
}

.dropdown ul {
  opacity: 0;
}

.dropdown ul {
  transform: translatey(10px);
}

.dropdown ul {
  transition: all 0.4s ease;
}

.dropdown ul li a {
  text-decoration: none;
}

.dropdown ul li a {
  color: var(--theme-color);
}

.dropdown ul li a {
  font-size: 12px;
}

.dropdown.is-active ul {
  opacity: 1;
}

.dropdown.is-active ul {
  pointer-events: all;
}

.dropdown.is-active ul {
  transform: translatey(25px);
}

.dropdown.is-active ul li:hover {
  background-color: var(--dropdown-hover);
}

.button-wrapper {
  display: flex;
}

.button-wrapper {
  align-items: center;
}

.button-wrapper {
  justify-content: flex-end;
}

.button-wrapper {
  width: 187px;
}

.button-wrapper {
  margin-left: auto;
}

@media screen and (max-width: 480px) {
.button-wrapper {
  width: auto;
}
}

.pop-up {
  position: absolute;
}

.pop-up {
  padding: 30px 40px;
}

.pop-up {
  top: 50%;
}

.pop-up {
  left: 50%;
}

.pop-up {
  transform: translate(-50%, -50%);
}

.pop-up {
  overflow-y: auto;
}

.pop-up {
  box-shadow: 0px 6px 30px rgba(0, 0, 0, 0.4);
}

.pop-up {
  transition: all 0.3s;
}

.pop-up {
  z-index: 10;
}

.pop-up {
  background-color: var(--popup-bg);
}

.pop-up {
  width: 500px;
}

.pop-up {
  visibility: hidden;
}

.pop-up {
  opacity: 0;
}

.pop-up {
  border-radius: 6px;
}

.pop-up {
  display: flex;
}

.pop-up {
  flex-direction: column;
}

.pop-up {
  white-space: normal;
}

@media screen and (max-width: 570px) {
.pop-up {
  width: 100%;
}
}

.pop-up.visible {
  visibility: visible;
}

.pop-up.visible {
  opacity: 1;
}

.pop-up__title {
  padding-bottom: 20px;
}

.pop-up__title {
  border-bottom: 1px solid var(--border-color);
}

.pop-up__title {
  display: flex;
}

.pop-up__title {
  justify-content: space-between;
}

.pop-up__title {
  align-items: center;
}

.pop-up__subtitle {
  white-space: normal;
}

.pop-up__subtitle {
  margin: 20px 0;
}

.pop-up__subtitle {
  font-size: 14px;
}

.pop-up__subtitle {
  font-weight: 400;
}

.pop-up__subtitle {
  line-height: 1.8em;
}

.pop-up__subtitle a {
  color: var(--theme-color);
}

.content-button-wrapper .content-button.status-button.open.close {
  width: auto;
}

.content-section .close {
  margin-right: 0;
}

.content-section .close {
  width: 24px;
}

.checkbox-wrapper {
  display: flex;
}

.checkbox-wrapper {
  align-items: center;
}

.checkbox-wrapper {
  font-size: 14px;
}

.checkbox-wrapper {
  font-weight: 400;
}

.checkbox-wrapper + .checkbox-wrapper {
  margin: 20px 0 40px;
}

.checkbox {
  display: none;
}

.checkbox + label {
  display: flex;
}

.checkbox + label {
  align-items: center;
}

.checkbox + label:before {
  content: "";
}

.checkbox + label:before {
  margin-right: 10px;
}

.checkbox + label:before {
  width: 15px;
}

.checkbox + label:before {
  height: 15px;
}

.checkbox + label:before {
  border: 1px solid var(--theme-color);
}

.checkbox + label:before {
  border-radius: 4px;
}

.checkbox + label:before {
  cursor: pointer;
}

.checkbox + label:before {
  flex-shrink: 0;
}

.checkbox:checked + label:before {
  background-color: #3a6df0;
}

.checkbox:checked + label:before {
  border-color: #3a6df0;
}

.checkbox:checked + label:before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3e%3cpath d='M20 6L9 17l-5-5'/%3e%3c/svg%3e");
}

.checkbox:checked + label:before {
  background-position: 50%;
}

.checkbox:checked + label:before {
  background-size: 12px;
}

.checkbox:checked + label:before {
  background-repeat: no-repeat;
}

.content-button-wrapper {
  margin-top: auto;
}

.content-button-wrapper {
  margin-left: auto;
}

.content-button-wrapper .open {
  margin-right: 8px;
}

.apps-card {
  display: flex;
}

.apps-card {
  align-items: center;
}

.apps-card {
  flex-wrap: wrap;
}

.apps-card {
  width: calc(100% + 20px);
}

.app-card {
  display: flex;
}

.app-card {
  flex-direction: column;
}

.app-card {
  width: calc(33.3% - 20px);
}

.app-card {
  font-size: 16px;
}

.app-card {
  background-color: var(--content-bg);
}

.app-card {
  border-radius: 14px;
}

.app-card {
  border: 1px solid var(--theme-bg-color);
}

.app-card {
  padding: 20px;
}

.app-card {
  cursor: pointer;
}

.app-card {
  transition: 0.3s ease;
}

.app-card:hover {
  transform: scale(1.02);
}

.app-card:hover {
  background-color: var(--theme-bg-color);
}

.app-card svg {
  width: 28px;
}

.app-card svg {
  border-radius: 6px;
}

.app-card svg {
  margin-right: 12px;
}

.app-card svg {
  flex-shrink: 0;
}

.app-card + .app-card {
  margin-left: 20px;
}

.app-card span {
  display: flex;
}

.app-card span {
  align-items: center;
}

.app-card__subtext {
  font-size: 14px;
}

.app-card__subtext {
  font-weight: 400;
}

.app-card__subtext {
  line-height: 1.6em;
}

.app-card__subtext {
  margin-top: 20px;
}

.app-card__subtext {
  border-bottom: 1px solid var(--border-color);
}

.app-card__subtext {
  padding-bottom: 20px;
}

.app-card-buttons {
  display: flex;
}

.app-card-buttons {
  align-items: center;
}

.app-card-buttons {
  margin-left: auto;
}

.app-card-buttons {
  margin-top: 16px;
}

@media screen and (max-width: 1110px) {
.app-card {
  width: calc(50% - 20px);
}
}

@media screen and (max-width: 1110px) {
.app-card:last-child {
  margin-top: 20px;
}
}

@media screen and (max-width: 1110px) {
.app-card:last-child {
  margin-left: 0px;
}
}

@media screen and (max-width: 565px) {
.app-card {
  width: calc(100% - 20px);
}
}

@media screen and (max-width: 565px) {
.app-card {
  margin-top: 20px;
}
}

@media screen and (max-width: 565px) {
.app-card + .app-card {
  margin-left: 0;
}
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar {
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

/* ============================================================
   Ajustements projet Jérôme Marsan
   ============================================================ */
.site-brand {
  color: var(--theme-color);
  font-weight: 700;
  letter-spacing: .02em;
  margin-right: 34px;
  white-space: nowrap;
}

.site-env {
  color: var(--button-inactive);
  font-size: 12px;
  margin-left: 8px;
}

@media screen and (max-width: 945px) {
  .site-brand {
    margin-right: 12px;
  }
}


/* ============================================================
   Logo dans le menu gauche
   ============================================================ */
.logo-wrapper {
  text-align: center;
  padding-bottom: 10px;
}

.logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  transition: .35s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* ============================================================
   IP publique dans le menu gauche
   ============================================================ */
.ip-link {
  cursor: default;
}

.public-ip {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-left: 8px;
  letter-spacing: .5px;
}

/* ============================================================
   Date + heure dans le header
   ============================================================ */
.date-heure {
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  margin-right: 22px;
  white-space: nowrap;
  opacity: .92;
}

@media screen and (max-width: 850px) {
  .date-heure {
    display: none;
  }
}


/* ============================================================
   OVERRIDES JEROMARSAN - NAVIGATION / RECHERCHE / PAGES
   Ces règles sont placées en fin de fichier pour prendre le
   dessus sur le template d'origine.
   ============================================================ */

/* Header plus propre avec recherche centrée */
.header{
  position: relative;
  gap: 18px;
}

.site-brand{
  color: var(--theme-color);
  font-weight: 700;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 170px;
  z-index: 2;
}

.site-env{
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(58,109,240,.25);
  border: 1px solid rgba(255,255,255,.18);
}

.header .search-bar{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 34vw);
  max-width: 520px;
  padding-left: 0;
  z-index: 1;
}

.header.wide .search-bar{
  width: min(620px, 52vw);
  max-width: 620px;
}

.header-profile{
  margin-left: auto;
  z-index: 2;
}

.date-heure{
  color: var(--theme-color);
  font-size: 13px;
  font-weight: 500;
  margin-right: 18px;
  white-space: nowrap;
  opacity: .92;
}

.logo-wrapper{
  text-align: center;
  padding-bottom: 10px;
}

.logo{
  width: 150px;
  height: 150px;
  object-fit: contain;
  transition: .35s ease;
}

.logo:hover{
  transform: scale(1.04);
}

.public-ip{
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-left: 8px;
  letter-spacing: .4px;
}

.side-menu a.is-active{
  background-color: var(--hover-menu-bg);
  color: #fff;
}

.main-container{
  min-width: 0;
}

.page-title-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.page-title{
  margin: 0;
  color: var(--theme-color);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.page-subtitle{
  margin: 10px 0 0;
  color: var(--button-inactive);
  line-height: 1.7;
  font-weight: 400;
}

.link-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.app-card-link{
  color: var(--theme-color);
  text-decoration: none;
}

.glass-panel,
.cv-card,
.resource-card,
.empty-state{
  background-color: var(--content-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-panel{
  padding: 24px;
  color: var(--theme-color);
}

.glass-panel h2,
.cv-card h3,
.timeline-content h3{
  margin-top: 0;
  color: var(--theme-color);
}

.glass-panel p,
.cv-card p,
.timeline-content p{
  color: var(--button-inactive);
  line-height: 1.7;
  font-weight: 400;
}

.cv-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cv-card{
  padding: 20px;
  transition: .3s ease;
}

.cv-card:hover,
.resource-card:hover{
  transform: translateY(-3px);
  background-color: var(--theme-bg-color);
}

.timeline{
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-item{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  color: var(--theme-color);
}

.timeline-dot{
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin-top: 8px;
  background: #3a6df0;
  box-shadow: 0 0 0 6px rgba(58,109,240,.18);
}

.timeline-content{
  background-color: var(--content-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px;
}

.timeline-content span{
  display: block;
  color: #DAB455;
  font-size: 13px;
  margin-bottom: 8px;
}

/* Explorateur téléchargements */
.resource-toolbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
  border-radius: 16px;
  background-color: var(--content-bg);
  border: 1px solid var(--border-color);
}

.breadcrumbs{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--button-inactive);
}

.breadcrumbs a{
  color: var(--theme-color);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover{
  text-decoration: underline;
}

.resource-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.resource-card{
  padding: 18px;
  color: var(--theme-color);
  transition: .3s ease;
}

.resource-icon{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 13px;
  background: rgba(58,109,240,.20);
  border: 1px solid rgba(255,255,255,.18);
}

.resource-icon.folder{ background: rgba(218,180,85,.25); }
.resource-icon.pdf{ background: rgba(214,53,91,.25); }
.resource-icon.image{ background: rgba(5,165,250,.25); }
.resource-icon.archive{ background: rgba(190,37,150,.25); }

.resource-name{
  font-weight: 700;
  word-break: break-word;
  margin-bottom: 8px;
}

.resource-meta{
  color: var(--button-inactive);
  font-size: 13px;
  margin-bottom: 16px;
}

.resource-actions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.resource-actions .content-button{
  margin-top: 0;
  text-decoration: none;
  padding: 6px 16px;
  font-size: 13px;
}

.empty-state{
  grid-column: 1 / -1;
  padding: 30px;
  color: var(--button-inactive);
  text-align: center;
}

/* Recherche locale : masque les cartes non correspondantes */
.is-hidden-by-search{
  display: none !important;
}

@media screen and (max-width: 1180px){
  .header .search-bar{
    width: min(360px, 28vw);
  }

  .date-heure{
    display: none;
  }

  .cv-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 760px){
  .header .search-bar{
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
  }

  .site-brand,
  .header-menu{
    display: none;
  }

  .page-title-row{
    align-items: flex-start;
    flex-direction: column;
  }

  .cv-grid{
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PATCH TÉLÉCHARGEMENTS V3
   - dossier réel : /dl
   - vue liste par défaut façon ressources.groupe-gb.fr
   - vue grille optionnelle
   - popup images
   ============================================================ */

.resource-toolbar-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.view-toggle{
  color:var(--button-inactive);
  border:1px solid var(--button-inactive);
  border-radius:999px;
  padding:6px 14px;
  font-size:13px;
  text-decoration:none;
  transition:.25s ease;
}

.view-toggle:hover,
.view-toggle.is-active{
  color:#fff;
  background:#3a6df0;
  border-color:#3a6df0;
}

.resource-list{
  width:100%;
  overflow:hidden;
  border-radius:14px;
  background:rgba(255,255,255,.94);
  color:#111827;
  box-shadow:0 18px 45px rgba(0,0,0,.16);
}

body.light-mode .resource-list{
  background:rgba(255,255,255,.96);
}

.resource-list-header,
.resource-row{
  display:grid;
  grid-template-columns: minmax(260px, 1.8fr) 120px 120px 160px minmax(220px, .9fr);
  align-items:center;
  gap:20px;
}

.resource-list-header{
  padding:14px 18px;
  font-weight:800;
  border-bottom:1px solid rgba(15,23,42,.08);
}

.resource-row{
  min-height:70px;
  padding:12px 18px;
  border-bottom:1px solid rgba(15,23,42,.08);
  transition:.25s ease;
}

.resource-row:last-child{
  border-bottom:0;
}

.resource-row:hover{
  background:rgba(58,109,240,.08);
}

.resource-row.is-folder{
  cursor:pointer;
}

.resource-row-name{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  font-weight:500;
}

.resource-row-name span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.file-icon{
  width:42px;
  height:42px;
  object-fit:contain;
  flex-shrink:0;
}

.resource-row .resource-actions{
  justify-content:flex-start;
  margin:0;
}

.resource-row .content-button,
.resource-card .content-button{
  margin-top:0;
}

.resource-row .content-button.status-button,
.resource-row button.content-button.status-button{
  border-radius:7px;
  padding:9px 16px;
  font-size:14px;
  font-weight:700;
}

.resource-row .content-button.status-button.open,
.resource-row button.content-button.status-button.open{
  color:#1f2937;
  border-color:#6b7280;
  background:transparent;
}

.resource-row .content-button.status-button:not(.open){
  background:#3498db;
}

.resource-card-icon{
  width:54px;
  height:54px;
  object-fit:contain;
  margin-bottom:16px;
}

.resource-card.is-folder{
  cursor:pointer;
}

.image-preview-overlay{
  position:fixed;
  inset:0;
  z-index:999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:30px;
  background:rgba(8,10,20,.78);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.image-preview-overlay.is-active{
  display:flex;
}

.image-preview-modal{
  width:min(980px, 96vw);
  max-height:90vh;
  overflow:hidden;
  border-radius:18px;
  background:var(--popup-bg);
  border:1px solid var(--border-color);
  box-shadow:0 24px 80px rgba(0,0,0,.45);
}

.image-preview-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:16px 18px;
  color:var(--theme-color);
  border-bottom:1px solid var(--border-color);
}

.image-preview-close{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:var(--theme-color);
  font-size:25px;
  cursor:pointer;
}

#image-preview-img{
  display:block;
  width:100%;
  max-height:calc(90vh - 68px);
  object-fit:contain;
  background:rgba(0,0,0,.20);
}

@media screen and (max-width: 980px){
  .resource-list{
    overflow:auto;
  }

  .resource-list-header,
  .resource-row{
    min-width:920px;
  }
}

/* ============================================================
   PATCH TÉLÉCHARGEMENTS V4
   - retour au style sombre / glassmorphism pour la vue liste
   - icône dans la colonne Nom
   - nom de fichier cliquable pour ouvrir image/PDF
   - suppression du bouton Voir dans le tableau
   ============================================================ */

.resource-list{
  background:var(--content-bg) !important;
  color:var(--theme-color) !important;
  border:1px solid var(--border-color) !important;
  box-shadow:none !important;
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}

body.light-mode .resource-list{
  background:var(--content-bg) !important;
  color:var(--theme-color) !important;
}

.resource-list-header{
  color:var(--theme-color);
  background:rgba(255,255,255,.04);
  border-bottom:1px solid var(--border-color) !important;
}

.resource-row{
  color:var(--theme-color);
  border-bottom:1px solid var(--border-color) !important;
}

.resource-row:hover{
  background:var(--theme-bg-color) !important;
}

.resource-open-link{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  color:var(--theme-color);
  font-family:var(--body-font);
  font-size:15px;
  font-weight:600;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}

.resource-open-link:hover span{
  color:#fff;
  text-decoration:underline;
}

.resource-row .content-button.status-button.open,
.resource-row button.content-button.status-button.open{
  color:var(--button-inactive) !important;
  border-color:var(--button-inactive) !important;
  background:transparent !important;
}

.resource-row .content-button.status-button:not(.open){
  background:#3a6df0 !important;
  color:#fff !important;
  border-radius:999px !important;
}

/* Popup générique : images + PDF */
.file-preview-overlay{
  position:fixed;
  inset:0;
  z-index:999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:30px;
  background:rgba(8,10,20,.78);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.file-preview-overlay.is-active{
  display:flex;
}

.file-preview-modal{
  width:min(1100px, 96vw);
  max-height:90vh;
  overflow:hidden;
  border-radius:18px;
  background:var(--popup-bg);
  border:1px solid var(--border-color);
  box-shadow:0 24px 80px rgba(0,0,0,.45);
}

.file-preview-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:16px 18px;
  color:var(--theme-color);
  border-bottom:1px solid var(--border-color);
}

.file-preview-close{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:var(--theme-color);
  font-size:25px;
  cursor:pointer;
}

#file-preview-img,
#file-preview-pdf{
  display:none;
  width:100%;
  height:calc(90vh - 68px);
  border:0;
  background:rgba(0,0,0,.20);
}

#file-preview-img{
  max-height:calc(90vh - 68px);
  object-fit:contain;
}

.file-preview-modal.is-image #file-preview-img,
.file-preview-modal.is-pdf #file-preview-pdf{
  display:block;
}

/* ============================================================
   PATCH V5 - Explorateur sombre + générateur de mot de passe
   ============================================================ */

/* L'explorateur reste sombre/glassmorphism, même en mode clair. */
.resource-list,
body.light-mode .resource-list{
  background:var(--content-bg) !important;
  color:var(--theme-color) !important;
  border:1px solid var(--border-color) !important;
  border-radius:16px !important;
  overflow:hidden;
  box-shadow:0 18px 50px rgba(0,0,0,.18) !important;
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}

.resource-list-header,
body.light-mode .resource-list-header{
  background:rgba(255,255,255,.05) !important;
  color:var(--theme-color) !important;
}

.resource-row,
body.light-mode .resource-row{
  color:var(--theme-color) !important;
  background:transparent !important;
}

.resource-row:hover,
body.light-mode .resource-row:hover{
  background:rgba(255,255,255,.07) !important;
}

.file-icon{
  width:34px;
  height:34px;
  object-fit:contain;
  flex-shrink:0;
}

.resource-card-icon{
  width:54px;
  height:54px;
  object-fit:contain;
  margin-bottom:16px;
}

/* ============================================================
   OUTIL : générateur de mot de passe
   ============================================================ */
.password-tool{
  position:relative;
  overflow:hidden;
  padding:32px;
  border-radius:24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,140,255,.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,255,200,.12), transparent 42%),
    var(--content-bg);
  border:1px solid var(--border-color);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03),
    0 28px 80px rgba(0,0,0,.30),
    0 0 100px rgba(0,198,255,.08);
}

.password-tool:before{
  content:"";
  position:absolute;
  inset:-35%;
  pointer-events:none;
  opacity:.20;
  background:
    linear-gradient(rgba(0,198,255,.22) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(90deg, rgba(0,198,255,.16) 1px, transparent 1px) 0 0 / 58px 58px;
  transform:perspective(900px) rotateX(58deg) translateY(120px);
  animation:gridMovePassword 12s linear infinite;
}

@keyframes gridMovePassword{
  from{ background-position:0 0, 0 0; }
  to{ background-position:0 232px, 232px 0; }
}

.password-tool > *{
  position:relative;
  z-index:1;
}

.password-tool h2{
  margin:12px 0 10px;
  color:var(--theme-color);
  font-size:clamp(24px, 3vw, 38px);
  letter-spacing:-.02em;
}

.password-tool p{
  margin:0 0 26px;
  color:rgba(249,250,251,.75);
  line-height:1.6;
}

.internal-badge{
  display:inline-block;
  padding:7px 13px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background:rgba(80,210,120,.14);
  border:1px solid rgba(80,210,120,.35);
  color:#eafff2;
  box-shadow:0 0 18px rgba(80,210,120,.22);
}

.password-box{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:24px;
}

#password{
  flex:1;
  min-width:0;
  padding:15px 16px;
  border-radius:14px;
  font-size:16px;
  font-family:var(--body-font);
  background:rgba(15,23,42,.78);
  border:1px solid rgba(255,255,255,.12);
  color:var(--theme-color);
  outline:none;
}

#password:focus{
  border-color:rgba(0,198,255,.36);
  box-shadow:0 0 0 6px rgba(0,198,255,.08);
}

#strength{
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  background:var(--badgeBg, rgba(0,198,255,.18));
  border:1px solid var(--badgeBd, rgba(0,198,255,.35));
  color:var(--badgeText, #dff7ff);
  box-shadow:0 0 22px var(--glowA, rgba(0,198,255,.18));
}

.badge-bump{ animation:badgeBump .35s ease-out 1; }
@keyframes badgeBump{
  0%{ transform:scale(.98); }
  60%{ transform:scale(1.08); }
  100%{ transform:scale(1); }
}

.generator-btn{
  margin-top:0 !important;
}

.length{
  margin:18px 0;
}

.length label{
  display:block;
  margin-bottom:12px;
  color:var(--theme-color);
  font-weight:800;
}

.length-controls{
  display:flex;
  align-items:center;
  gap:16px;
}

.len-btn{
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:20px;
  font-weight:900;
  background:rgba(15,23,42,.82);
  border:1px solid rgba(255,255,255,.16);
  color:var(--theme-color);
  box-shadow:0 12px 26px rgba(0,0,0,.22);
  cursor:pointer;
}

.len-btn:hover{
  transform:translateY(-1px);
}

input[type="range"]{
  flex:1;
  height:8px;
  border-radius:999px;
  outline:none;
  -webkit-appearance:none;
  appearance:none;
  background:linear-gradient(90deg, rgba(0,124,255,.95), rgba(0,198,255,.95));
}

input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:30px;
  height:30px;
  border-radius:50%;
  background:rgba(10,18,32,1);
  border:2px solid rgba(0,198,255,.95);
  box-shadow:0 0 0 6px rgba(0,198,255,.18), 0 10px 26px rgba(0,198,255,.32);
  cursor:pointer;
}

input[type="range"]::-moz-range-thumb{
  width:30px;
  height:30px;
  border-radius:50%;
  background:rgba(10,18,32,1);
  border:2px solid rgba(0,198,255,.95);
  box-shadow:0 0 0 6px rgba(0,198,255,.18), 0 10px 26px rgba(0,198,255,.32);
  cursor:pointer;
}

.options{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:18px;
}

.chip{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:var(--theme-color);
  font-weight:800;
  user-select:none;
}

.chip input{
  width:18px;
  height:18px;
  accent-color:rgba(0,198,255,.95);
  cursor:pointer;
}

.tips{
  margin-top:26px;
  padding:18px 20px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}

.tips h3{
  margin:0 0 10px;
  color:var(--theme-color);
  font-size:16px;
}

.tips ul{
  margin:0;
  padding-left:18px;
}

.tips li{
  margin-bottom:8px;
  color:rgba(249,250,251,.78);
  line-height:1.45;
}

.tips a{
  color:#6fe3ff;
  text-decoration:none;
  font-weight:800;
}

.tips a:hover{
  text-decoration:underline;
}

.toast{
  position:fixed;
  top:18px;
  right:18px;
  z-index:9999;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(20,25,38,.86);
  border:1px solid rgba(255,255,255,.14);
  color:var(--theme-color);
  box-shadow:0 14px 50px rgba(0,0,0,.45);
  backdrop-filter:blur(14px);
  display:flex;
  align-items:center;
  gap:10px;
  transform:translateY(-12px);
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
}

.toast.show{
  opacity:1;
  transform:translateY(0);
}

.toast .dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(0,198,255,.95);
  box-shadow:0 0 22px rgba(0,198,255,.55);
}

.toast small{ color:rgba(249,250,251,.65); }

.modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(5,8,15,.65);
  backdrop-filter:blur(6px);
}

.modal.show{ display:flex; }

.modal-content{
  max-width:420px;
  width:90%;
  padding:28px;
  border-radius:22px;
  background:rgba(15,23,42,.95);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 30px 80px rgba(0,0,0,.60);
  text-align:center;
  color:var(--theme-color);
}

.modal-content h3{
  margin:0 0 12px;
}

.modal-content p{
  margin:0 0 22px;
  color:rgba(249,250,251,.78);
  line-height:1.5;
}

@media screen and (max-width: 760px){
  .password-tool{ padding:22px; }
  .password-box{ flex-wrap:wrap; }
  #password{ flex-basis:100%; }
}

/* ==========================================================
   CORRECTION SIDEBAR LARGE
   ----------------------------------------------------------
   La sidebar passe de 240px à 310px pour laisser respirer
   les libellés longs comme "Générateur de mot de passe".
   Les liens prennent toute la largeur disponible afin que
   le hover couvre bien l'intégralité de la ligne.
   ========================================================== */
.left-side{
  flex: 0 0 310px;
  flex-basis: 310px;
  width: 310px;
  padding: 26px 20px 26px 26px;
}

.side-menu{
  width: 100%;
}

.side-menu a{
  width: 100%;
  min-width: 0;
  gap: 8px;
  padding: 11px 14px;
  line-height: 1.25;
  overflow: visible;
}

.side-menu a svg{
  flex: 0 0 16px;
  margin-right: 0;
}

.public-ip{
  overflow: visible;
  white-space: nowrap;
}

@media screen and (max-width: 1200px){
  .left-side{
    flex-basis: 290px;
    width: 290px;
  }
}

/* ==========================================================
   V7 - Sidebar pimpée + suppression du texte de marque header
   ----------------------------------------------------------
   Objectifs :
   - ne plus afficher "Jérôme Marsan / LOCAL" dans le header ;
   - faire respirer la sidebar ;
   - rapprocher les menus du logo ;
   - rendre les titres de catégories plus visibles ;
   - hover/active pleine largeur, propre sur les libellés longs.
   ========================================================== */

.header .site-brand,
.header .site-env{
  display:none !important;
}

.header .menu-circle{
  margin-right: 0;
}

.header .header-menu{
  margin-left: 0;
}

.left-side{
  flex: 0 0 330px;
  flex-basis: 330px;
  width: 330px;
  padding: 18px 18px 18px 28px;
}

.logo-wrapper{
  padding-bottom: 0;
  margin-bottom: 8px !important;
}

.logo{
  width: 136px;
  height: 136px;
}

.side-wrapper + .side-wrapper{
  margin-top: 16px;
}

/* Première section juste sous le logo : on la remonte un peu */
.logo-wrapper + .side-wrapper{
  margin-top: 8px;
}

.side-title{
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: .92;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.side-menu{
  gap: 6px;
}

.side-menu a{
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  color: rgba(255,255,255,.94);
  border: 1px solid transparent;
  background: transparent;
  transition: background-color .25s ease, border-color .25s ease, transform .18s ease, box-shadow .25s ease;
}

.side-menu a:hover,
.side-menu a.is-active{
  color: #fff;
  background: linear-gradient(135deg, rgba(190,37,150,.28), rgba(5,165,250,.16));
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.06);
  transform: translateX(2px);
}

.side-menu a svg{
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  filter: drop-shadow(0 0 8px rgba(5,165,250,.28));
}

.ip-link{
  background: rgba(255,255,255,.045) !important;
  border-color: rgba(255,255,255,.08) !important;
  cursor: default;
}

.public-ip{
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
}

/* La sidebar reste confortable sur écran moyen */
@media screen and (max-width: 1200px){
  .left-side{
    flex-basis: 310px;
    width: 310px;
  }
}
