﻿/* ============================================================
   DASHBOARD ORION
   ============================================================ */

.dashboard-layout {
    min-height: 100vh;
    display: flex;
    background: #f7f8f4;
    color: #153d38;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

.dashboard-sidebar {
    width: 280px;
    min-width: 280px;
    min-height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-right: 1px solid rgba(21, 61, 56, 0.08);
    padding: 28px 20px 22px;
}


.dashboard-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 10px 26px;
}


.dashboard-sidebar-logo {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: #e9f2ed;
    color: #2f6e59;
    font-size: 20px;
}


.dashboard-sidebar-brand > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}


.dashboard-sidebar-brand strong {
    color: #153d38;
    font-size: 16px;
    font-weight: 750;
}


.dashboard-sidebar-brand span {
    color: #909a96;
    font-size: 12px;
}


.dashboard-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}


.dashboard-sidebar-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding: 10px 13px;
    color: #697571;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}


    .dashboard-sidebar-link:hover {
        background: #f2f6f3;
        color: #2f6e59;
        transform: translateX(2px);
    }


    .dashboard-sidebar-link.active {
        background: #e9f2ed;
        color: #2f6e59;
    }


        .dashboard-sidebar-link.active::before {
            content: "";
            position: absolute;
            left: -20px;
            top: 10px;
            bottom: 10px;
            width: 4px;
            border-radius: 0 5px 5px 0;
            background: #2f6e59;
        }


.dashboard-sidebar-link-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}


.dashboard-sidebar-badge {
    min-width: 23px;
    height: 23px;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 999px;
    background: #2f6e59;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}


.dashboard-sidebar-separator {
    height: 1px;
    margin: 15px 10px;
    background: rgba(21, 61, 56, 0.08);
}


.dashboard-sidebar-bottom {
    padding-top: 20px;
}


.dashboard-sidebar-security {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    background: #f4f7f4;
    border: 1px solid rgba(21, 61, 56, 0.06);
    border-radius: 14px;
}


.dashboard-sidebar-security-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: #e4efe9;
    color: #2f6e59;
}


.dashboard-sidebar-security > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}


.dashboard-sidebar-security strong {
    color: #23453f;
    font-size: 12px;
}


.dashboard-sidebar-security span {
    color: #89938f;
    font-size: 10px;
}


/* ============================================================
   MAIN
   ============================================================ */

.dashboard-admin {
    min-width: 0;
    flex: 1;
    padding: 38px 42px 60px;
}


.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 31px;
}


    .dashboard-header h1 {
        margin: 0 0 7px;
        color: #153d38;
        font-size: clamp(28px, 3vw, 37px);
        font-weight: 760;
        letter-spacing: -0.8px;
    }


    .dashboard-header p {
        margin: 0;
        color: #7b8883;
        font-size: 14px;
    }


/* ============================================================
   TITRES DE SECTIONS
   ============================================================ */

.dashboard-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 15px;
}


    .dashboard-section-title h2 {
        margin: 0 0 4px;
        color: #24463f;
        font-size: 17px;
        font-weight: 720;
    }


    .dashboard-section-title p {
        margin: 0;
        color: #909995;
        font-size: 12px;
    }


/* ============================================================
   SERVICES
   ============================================================ */

.dashboard-services {
    margin-bottom: 29px;
}


.dashboard-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}


.dashboard-service-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, 0.07);
    border-radius: 17px;
    box-shadow: 0 8px 28px rgba(30, 72, 61, 0.04);
}


.dashboard-service-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 13px;
    font-size: 17px;
}


    .dashboard-service-icon.smtp {
        background: #e8f1ec;
        color: #2f6e59;
    }


    .dashboard-service-icon.imap {
        background: #eef0f7;
        color: #677798;
    }


    .dashboard-service-icon.storage {
        background: #faf1df;
        color: #af7d31;
    }


    .dashboard-service-icon.database {
        background: #eee9f4;
        color: #7b668e;
    }


.dashboard-service-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}


.dashboard-service-label {
    color: #9aa29f;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .75px;
}


.dashboard-service-content strong {
    overflow: hidden;
    color: #314c46;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.dashboard-service-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    font-size: 10px;
    font-weight: 700;
}


    .dashboard-service-status.active {
        color: #3f8269;
    }


    .dashboard-service-status.inactive {
        color: #b25555;
    }


    .dashboard-service-status.warning {
        color: #b07c30;
    }


/* ============================================================
   STATISTIQUES
   ============================================================ */

.dashboard-stats-section {
    margin-bottom: 29px;
}


.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}


.dashboard-stat-card {
    min-width: 0;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, 0.07);
    border-radius: 17px;
    box-shadow: 0 8px 28px rgba(30, 72, 61, 0.04);
}


.dashboard-stat-top {
    min-height: 36px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 15px;
}


.dashboard-stat-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 15px;
}


    .dashboard-stat-icon.documents {
        background: #e7f0eb;
        color: #2f6e59;
    }


    .dashboard-stat-icon.pending {
        background: #fbf0df;
        color: #ad7930;
    }


    .dashboard-stat-icon.users {
        background: #e8eff3;
        color: #5f7e8e;
    }


    .dashboard-stat-icon.appointments {
        background: #ede8f4;
        color: #78638f;
    }


    .dashboard-stat-icon.messages {
        background: #f5e9ea;
        color: #a56569;
    }


.dashboard-stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
}


    .dashboard-stat-badge.warning {
        background: #fff3df;
        color: #9e6d25;
    }


    .dashboard-stat-badge.success {
        background: #e9f3ed;
        color: #39725e;
    }


.dashboard-stat-content {
    display: flex;
    flex-direction: column;
}


.dashboard-stat-label {
    margin-bottom: 4px;
    color: #84908c;
    font-size: 11px;
    font-weight: 650;
}


.dashboard-stat-value {
    margin-bottom: 4px;
    color: #183f39;
    font-size: 27px;
    font-weight: 760;
    line-height: 1;
}


.dashboard-stat-description {
    color: #9ca5a1;
    font-size: 10px;
}


/* ============================================================
   GRAPHIQUES
   ============================================================ */

.dashboard-charts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
    gap: 18px;
    margin-bottom: 20px;
}


.dashboard-chart-card,
.dashboard-bottom-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, 0.07);
    border-radius: 19px;
    box-shadow: 0 10px 32px rgba(30, 72, 61, 0.045);
}


.dashboard-chart-card {
    padding: 21px;
}


.dashboard-chart-header,
.dashboard-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}


.dashboard-chart-header {
    margin-bottom: 21px;
}


    .dashboard-chart-header h3,
    .dashboard-card-header h3 {
        margin: 0 0 4px;
        color: #25463f;
        font-size: 15px;
        font-weight: 720;
    }


    .dashboard-chart-header p,
    .dashboard-card-header p {
        margin: 0;
        color: #96a09c;
        font-size: 10px;
    }


.dashboard-chart-header-icon,
.dashboard-card-header-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: #edf4f0;
    color: #2f6e59;
    font-size: 14px;
}


.dashboard-chart-container {
    height: 270px;
}


.dashboard-distribution-content {
    min-height: 270px;
    display: flex;
    align-items: center;
    gap: 24px;
}


.dashboard-donut-container {
    width: 155px;
    height: 155px;
    flex: 0 0 155px;
}


.dashboard-distribution-legend {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.dashboard-distribution-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(21, 61, 56, 0.06);
}


    .dashboard-distribution-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }


.dashboard-distribution-name {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c7975;
    font-size: 10px;
}


    .dashboard-distribution-name > span:last-child {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


.dashboard-distribution-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
}


.dashboard-distribution-item strong {
    color: #315049;
    font-size: 11px;
}


/* ============================================================
   BAS DU DASHBOARD
   ============================================================ */

.dashboard-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .85fr);
    gap: 18px;
    align-items: stretch;
}


.dashboard-bottom-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
}


.dashboard-card-header {
    margin-bottom: 18px;
}


/* ============================================================
   DOCUMENTS RÉCENTS
   ============================================================ */

.dashboard-documents-list {
    display: flex;
    flex-direction: column;
    flex: 1;
}


.dashboard-document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(21, 61, 56, 0.06);
}


    .dashboard-document-item:first-child {
        padding-top: 2px;
    }


    .dashboard-document-item:last-child {
        border-bottom: 0;
    }


.dashboard-document-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}


.dashboard-document-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
}


    .dashboard-document-icon.pdf {
        background: #f6e9ea;
        color: #ac5c61;
    }


    .dashboard-document-icon.image {
        background: #e7f1eb;
        color: #3d7a63;
    }


    .dashboard-document-icon.word {
        background: #e9eef5;
        color: #5d7290;
    }


    .dashboard-document-icon.excel {
        background: #e6f1e9;
        color: #427756;
    }


    .dashboard-document-icon.file {
        background: #efefef;
        color: #707875;
    }


.dashboard-document-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}


    .dashboard-document-info strong {
        max-width: 210px;
        overflow: hidden;
        color: #314c46;
        font-size: 11px;
        font-weight: 650;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


.dashboard-document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: #9ca4a1;
    font-size: 9px;
}


    .dashboard-document-meta span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }


.dashboard-document-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}


.dashboard-document-type,
.dashboard-document-status {
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
}


.dashboard-document-type {
    background: #f3f5f4;
    color: #7c8984;
}


.dashboard-document-status.valid {
    background: #e6f2eb;
    color: #3d765f;
}


.dashboard-document-status.pending {
    background: #fff1dd;
    color: #9d6d2c;
}


.dashboard-document-status.expired {
    background: #eeeeee;
    color: #767676;
}


.dashboard-document-status.refused {
    background: #f7e7e8;
    color: #a45459;
}


.dashboard-card-footer {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(21, 61, 56, 0.06);
}


.dashboard-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2f6e59;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}


    .dashboard-card-link:hover {
        color: #153d38;
    }


/* ============================================================
   ACTIVITÉ
   ============================================================ */

.dashboard-activity-list {
    display: flex;
    flex-direction: column;
    flex: 1;
}


.dashboard-activity-item {
    min-height: 54px;
    display: flex;
    gap: 10px;
}


.dashboard-activity-timeline {
    width: 31px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.dashboard-activity-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 10px;
}


    .dashboard-activity-icon.document {
        background: #e7f1eb;
        color: #3c775f;
    }


    .dashboard-activity-icon.appointment {
        background: #ede9f4;
        color: #786590;
    }


    .dashboard-activity-icon.default {
        background: #f1f2f1;
        color: #78827e;
    }


.dashboard-activity-line {
    width: 1px;
    min-height: 22px;
    flex: 1;
    margin: 3px 0;
    background: #e7ebe8;
}


.dashboard-activity-item:last-child .dashboard-activity-line {
    display: none;
}


.dashboard-activity-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 3px 0 13px;
}


    .dashboard-activity-content strong {
        color: #344e48;
        font-size: 10px;
        font-weight: 620;
        line-height: 1.45;
    }


    .dashboard-activity-content span {
        color: #a0a8a4;
        font-size: 8px;
    }


/* ============================================================
   RAPPELS
   ============================================================ */

.dashboard-reminders-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}


.dashboard-reminder-item {
    display: flex;
    gap: 10px;
    padding: 12px;
    border-radius: 13px;
}


    .dashboard-reminder-item.warning {
        background: #fff7e9;
    }


    .dashboard-reminder-item.appointment {
        background: #edf4f0;
    }


    .dashboard-reminder-item.message {
        background: #f3edf5;
    }


.dashboard-reminder-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.65);
    color: #587169;
    font-size: 11px;
}


.dashboard-reminder-content {
    min-width: 0;
    flex: 1;
}


.dashboard-reminder-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin-bottom: 3px;
}


    .dashboard-reminder-title strong {
        color: #385049;
        font-size: 10px;
        font-weight: 680;
    }


.dashboard-reminder-count {
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 999px;
    background: #ffffff;
    color: #3c6255;
    font-size: 9px;
    font-weight: 750;
}


.dashboard-reminder-content p {
    margin: 0;
    color: #81908a;
    font-size: 9px;
    line-height: 1.5;
}


.dashboard-reminders-empty {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 20px;
}


.dashboard-reminders-empty-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e8f3ec;
    color: #3e7a62;
}


.dashboard-reminders-empty strong {
    display: block;
    margin-bottom: 3px;
    color: #36524a;
    font-size: 11px;
}


.dashboard-reminders-empty p {
    margin: 0;
    color: #97a19d;
    font-size: 9px;
}


/* ============================================================
   EMPTY STATES
   ============================================================ */

.dashboard-card-empty,
.dashboard-chart-empty {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #98a29e;
}


.dashboard-card-empty-icon,
.dashboard-chart-empty-icon {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #eef4f0;
    color: #56806f;
}


.dashboard-card-empty strong,
.dashboard-chart-empty strong {
    margin-bottom: 4px;
    color: #50645e;
    font-size: 11px;
}


.dashboard-card-empty p,
.dashboard-chart-empty p {
    max-width: 220px;
    margin: 0;
    font-size: 9px;
    line-height: 1.5;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1350px) {

    .dashboard-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-reminders {
        grid-column: 1 / -1;
    }
}


@media (max-width: 1100px) {

    .dashboard-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-charts-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-distribution-content {
        justify-content: center;
    }
}


@media (max-width: 850px) {

    .dashboard-layout {
        display: block;
    }

    .dashboard-sidebar {
        width: 100%;
        min-width: 0;
        min-height: auto;
        position: relative;
        padding: 17px;
    }

    .dashboard-sidebar-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-sidebar-link.active::before {
        display: none;
    }

    .dashboard-sidebar-bottom {
        display: none;
    }

    .dashboard-admin {
        padding: 25px 18px 45px;
    }

    .dashboard-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-bottom-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-reminders {
        grid-column: auto;
    }
}


@media (max-width: 560px) {

    .dashboard-sidebar-nav,
    .dashboard-services-grid,
    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header h1 {
        font-size: 27px;
    }

    .dashboard-distribution-content {
        flex-direction: column;
    }

    .dashboard-donut-container {
        width: 170px;
        height: 170px;
        flex-basis: 170px;
    }

    .dashboard-document-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-document-right {
        padding-left: 49px;
        justify-content: flex-start;
    }
}



/* ============================================================
   DASHBOARD - PAGE DOCUMENTS
   ============================================================ */

.dashboard-documents-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 24px;
}


.dashboard-documents-stat-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 17px 18px;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, 0.07);
    border-radius: 17px;
    box-shadow: 0 8px 28px rgba(30, 72, 61, 0.04);
}


.dashboard-documents-stat-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    font-size: 15px;
}


    .dashboard-documents-stat-icon.total {
        background: #e7f0eb;
        color: #2f6e59;
    }


    .dashboard-documents-stat-icon.pending {
        background: #fff1dd;
        color: #ac762c;
    }


    .dashboard-documents-stat-icon.valid {
        background: #e6f2eb;
        color: #3d765f;
    }


    .dashboard-documents-stat-icon.refused {
        background: #f7e7e8;
        color: #a45459;
    }


    .dashboard-documents-stat-icon.expired {
        background: #eeeeee;
        color: #737b78;
    }


.dashboard-documents-stat-card > div:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}


.dashboard-documents-stat-card span {
    color: #86928e;
    font-size: 10px;
    font-weight: 650;
}


.dashboard-documents-stat-card strong {
    color: #183f39;
    font-size: 22px;
    font-weight: 760;
    line-height: 1;
}


/* ============================================================
   CARTE PRINCIPALE
   ============================================================ */

.dashboard-documents-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, 0.07);
    border-radius: 19px;
    box-shadow: 0 10px 32px rgba(30, 72, 61, 0.045);
}


/* ============================================================
   FILTRES
   ============================================================ */

.dashboard-documents-filters {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 190px 190px auto;
    gap: 12px;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(21, 61, 56, 0.07);
    background: #fbfcfa;
}


.dashboard-documents-search {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, 0.11);
    border-radius: 11px;
}


    .dashboard-documents-search i {
        color: #94a09b;
        font-size: 12px;
    }


    .dashboard-documents-search input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #2e4a43;
        font-size: 11px;
    }


        .dashboard-documents-search input::placeholder {
            color: #a2aaa7;
        }


.dashboard-documents-filter-select {
    position: relative;
}


    .dashboard-documents-filter-select select {
        width: 100%;
        height: 42px;
        padding: 0 34px 0 12px;
        appearance: none;
        border: 1px solid rgba(21, 61, 56, 0.11);
        border-radius: 11px;
        background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'%3E%3Cpath fill='%237b8883' d='M5.5 7.5L10 12l4.5-4.5'/%3E%3C/svg%3E") no-repeat right 12px center;
        color: #53645f;
        font-size: 11px;
        outline: none;
    }


.dashboard-documents-filter-button {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    border: 0;
    border-radius: 11px;
    background: #2f6e59;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}


    .dashboard-documents-filter-button:hover {
        background: #245947;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(47, 110, 89, 0.16);
    }


/* ============================================================
   TABLE
   ============================================================ */

.dashboard-documents-table-wrapper {
    width: 100%;
    overflow-x: auto;
}


.dashboard-documents-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
}


    .dashboard-documents-table thead {
        background: #f7f9f7;
    }


    .dashboard-documents-table th {
        padding: 12px 14px;
        color: #7b8883;
        font-size: 9px;
        font-weight: 750;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: .45px;
        border-bottom: 1px solid rgba(21, 61, 56, 0.07);
    }


    .dashboard-documents-table td {
        padding: 13px 14px;
        color: #5a6964;
        font-size: 10px;
        vertical-align: middle;
        border-bottom: 1px solid rgba(21, 61, 56, 0.055);
    }


    .dashboard-documents-table tbody tr {
        transition: background-color .16s ease;
    }


        .dashboard-documents-table tbody tr:hover {
            background: #fafcfa;
        }


        .dashboard-documents-table tbody tr:last-child td {
            border-bottom: 0;
        }


.dashboard-documents-actions-column {
    text-align: right !important;
}


/* ============================================================
   UTILISATEUR
   ============================================================ */

.dashboard-documents-user {
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 10px;
}


    .dashboard-documents-user img {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #eef3f0;
    }


    .dashboard-documents-user > div {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }


    .dashboard-documents-user strong {
        overflow: hidden;
        color: #314c46;
        font-size: 10px;
        font-weight: 680;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


    .dashboard-documents-user span {
        overflow: hidden;
        max-width: 150px;
        color: #9aa39f;
        font-size: 8px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


/* ============================================================
   FICHIER
   ============================================================ */

.dashboard-documents-file {
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 10px;
}


.dashboard-documents-file-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    font-size: 13px;
}


    .dashboard-documents-file-icon.pdf {
        background: #f6e9ea;
        color: #ac5c61;
    }


    .dashboard-documents-file-icon.image {
        background: #e7f1eb;
        color: #3d7a63;
    }


    .dashboard-documents-file-icon.word {
        background: #e9eef5;
        color: #5d7290;
    }


    .dashboard-documents-file-icon.excel {
        background: #e6f1e9;
        color: #427756;
    }


    .dashboard-documents-file-icon.file {
        background: #efefef;
        color: #707875;
    }


.dashboard-documents-file > div:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}


.dashboard-documents-file strong {
    overflow: hidden;
    max-width: 200px;
    color: #324c46;
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
    text-overflow: ellipsis;
}


.dashboard-documents-file span {
    overflow: hidden;
    max-width: 200px;
    color: #9ca5a1;
    font-size: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* ============================================================
   TYPE
   ============================================================ */

.dashboard-documents-type {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f1f4f2;
    color: #65756f;
    font-size: 8px;
    font-weight: 700;
}


/* ============================================================
   DATE
   ============================================================ */

.dashboard-documents-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
}


    .dashboard-documents-date strong {
        color: #53645f;
        font-size: 9px;
        font-weight: 650;
    }


    .dashboard-documents-date span {
        color: #a1aaa6;
        font-size: 8px;
    }


/* ============================================================
   STATUT
   ============================================================ */

.dashboard-documents-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
}


    .dashboard-documents-status.valid {
        background: #e7f3ec;
        color: #39745d;
    }


    .dashboard-documents-status.pending {
        background: #fff3df;
        color: #9c6d2a;
    }


    .dashboard-documents-status.refused {
        background: #f7e7e8;
        color: #a34f55;
    }


    .dashboard-documents-status.expired {
        background: #eeeeee;
        color: #757b79;
    }


    .dashboard-documents-status i {
        font-size: 6px;
    }


/* ============================================================
   ACTIONS
   ============================================================ */

.dashboard-documents-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}


    .dashboard-documents-actions form {
        display: inline-flex;
        margin: 0;
        padding: 0;
    }


.dashboard-documents-action {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(21, 61, 56, 0.09);
    border-radius: 9px;
    background: #ffffff;
    color: #697873;
    text-decoration: none;
    font-size: 10px;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}


    .dashboard-documents-action:hover {
        background: #edf4f0;
        border-color: #d8e7df;
        color: #2f6e59;
        transform: translateY(-1px);
    }


    .dashboard-documents-action.validate {
        color: #3e7a62;
    }


        .dashboard-documents-action.validate:hover {
            background: #e7f3ec;
            border-color: #d4e9dc;
            color: #2f6e59;
        }


    .dashboard-documents-action.refuse {
        color: #a45a5e;
    }


        .dashboard-documents-action.refuse:hover {
            background: #f8e9ea;
            border-color: #efd6d8;
            color: #983f45;
        }


/* ============================================================
   PAGINATION
   ============================================================ */

.dashboard-documents-pagination {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 20px;
    border-top: 1px solid rgba(21, 61, 56, 0.07);
    background: #fbfcfa;
}


    .dashboard-documents-pagination > span {
        color: #8e9995;
        font-size: 9px;
    }


    .dashboard-documents-pagination nav {
        display: flex;
        align-items: center;
        gap: 5px;
    }


        .dashboard-documents-pagination nav a {
            min-width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 8px;
            border: 1px solid rgba(21, 61, 56, 0.09);
            border-radius: 9px;
            background: #ffffff;
            color: #63736d;
            text-decoration: none;
            font-size: 9px;
            font-weight: 650;
            transition: background-color .16s ease, color .16s ease, border-color .16s ease;
        }


            .dashboard-documents-pagination nav a:hover {
                background: #eef4f0;
                color: #2f6e59;
            }


            .dashboard-documents-pagination nav a.active {
                background: #2f6e59;
                border-color: #2f6e59;
                color: #ffffff;
            }


/* ============================================================
   ÉTAT VIDE
   ============================================================ */

.dashboard-documents-empty {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    text-align: center;
}


    .dashboard-documents-empty > div {
        width: 54px;
        height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
        border-radius: 50%;
        background: #edf4f0;
        color: #4e7d6c;
        font-size: 18px;
    }


    .dashboard-documents-empty strong {
        margin-bottom: 5px;
        color: #405952;
        font-size: 12px;
    }


    .dashboard-documents-empty p {
        margin: 0;
        color: #96a09c;
        font-size: 9px;
    }


/* ============================================================
   RESPONSIVE DOCUMENTS
   ============================================================ */

@media (max-width: 1350px) {

    .dashboard-documents-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-documents-filters {
        grid-template-columns: minmax(240px, 1fr) 170px 170px auto;
    }
}


@media (max-width: 1050px) {

    .dashboard-documents-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-documents-filters {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-documents-search {
        grid-column: 1 / -1;
    }

    .dashboard-documents-filter-button {
        width: 100%;
    }
}


@media (max-width: 650px) {

    .dashboard-documents-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-documents-filters {
        grid-template-columns: 1fr;
    }

    .dashboard-documents-search {
        grid-column: auto;
    }

    .dashboard-documents-pagination {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ============================================================
   DASHBOARD - PAGE UTILISATEURS
   ============================================================ */

.dashboard-users-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 24px;
}

.dashboard-users-stat-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 18px;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, 0.07);
    border-radius: 17px;
    box-shadow: 0 8px 28px rgba(30, 72, 61, 0.04);
}

.dashboard-users-stat-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    font-size: 15px;
}

    .dashboard-users-stat-icon.total {
        background: #e7f0eb;
        color: #2f6e59;
    }

    .dashboard-users-stat-icon.active {
        background: #e6f2eb;
        color: #3d765f;
    }

    .dashboard-users-stat-icon.inactive {
        background: #f1f1ef;
        color: #737d79;
    }

    .dashboard-users-stat-icon.new {
        background: #e9eef5;
        color: #607990;
    }

.dashboard-users-stat-card > div:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dashboard-users-stat-card span {
    color: #86928e;
    font-size: 10px;
    font-weight: 650;
}

.dashboard-users-stat-card strong {
    color: #183f39;
    font-size: 22px;
    font-weight: 760;
    line-height: 1;
}


/* ============================================================
   CARTE PRINCIPALE
   ============================================================ */

.dashboard-users-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, 0.07);
    border-radius: 19px;
    box-shadow: 0 10px 32px rgba(30, 72, 61, 0.045);
}


/* ============================================================
   RECHERCHE / FILTRES
   ============================================================ */

.dashboard-users-filters {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 200px auto auto;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #fbfcfa;
    border-bottom: 1px solid rgba(21, 61, 56, 0.07);
}

.dashboard-users-search {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, 0.11);
    border-radius: 11px;
}

    .dashboard-users-search i {
        color: #94a09b;
        font-size: 12px;
    }

    .dashboard-users-search input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #2e4a43;
        font-size: 11px;
    }

        .dashboard-users-search input::placeholder {
            color: #a2aaa7;
        }

.dashboard-users-filter-select select {
    width: 100%;
    height: 42px;
    padding: 0 34px 0 12px;
    appearance: none;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'%3E%3Cpath fill='%237b8883' d='M5.5 7.5L10 12l4.5-4.5'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid rgba(21, 61, 56, 0.11);
    border-radius: 11px;
    color: #53645f;
    font-size: 11px;
    outline: none;
}

.dashboard-users-filter-button,
.dashboard-users-reset {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.dashboard-users-filter-button {
    border: 0;
    background: #2f6e59;
    color: #ffffff;
    cursor: pointer;
}

    .dashboard-users-filter-button:hover {
        background: #245947;
        transform: translateY(-1px);
    }

.dashboard-users-reset {
    border: 1px solid rgba(21, 61, 56, 0.11);
    background: #ffffff;
    color: #6c7a75;
}

    .dashboard-users-reset:hover {
        background: #f0f5f2;
        color: #2f6e59;
    }


/* ============================================================
   TABLEAU
   ============================================================ */

.dashboard-users-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.dashboard-users-table {
    width: 100%;
    min-width: 1050px;
    border-collapse: collapse;
}

    .dashboard-users-table thead {
        background: #f7f9f7;
    }

    .dashboard-users-table th {
        padding: 12px 14px;
        color: #7b8883;
        font-size: 9px;
        font-weight: 750;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: .45px;
        border-bottom: 1px solid rgba(21, 61, 56, 0.07);
    }

    .dashboard-users-table td {
        padding: 13px 14px;
        color: #5a6964;
        font-size: 10px;
        vertical-align: middle;
        border-bottom: 1px solid rgba(21, 61, 56, 0.055);
    }

    .dashboard-users-table tbody tr {
        transition: background-color .16s ease;
    }

        .dashboard-users-table tbody tr:hover {
            background: #fafcfa;
        }

        .dashboard-users-table tbody tr:last-child td {
            border-bottom: 0;
        }

.dashboard-users-actions-column {
    text-align: right !important;
}


/* ============================================================
   IDENTITÉ UTILISATEUR
   ============================================================ */

.dashboard-users-user {
    min-width: 210px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .dashboard-users-user img {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #eef3f0;
    }

    .dashboard-users-user > div {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .dashboard-users-user strong {
        max-width: 175px;
        overflow: hidden;
        color: #314c46;
        font-size: 10px;
        font-weight: 680;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .dashboard-users-user span {
        max-width: 175px;
        overflow: hidden;
        color: #939e9a;
        font-size: 8px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .dashboard-users-user small {
        width: fit-content;
        margin-top: 2px;
        padding: 2px 6px;
        background: #edf4f0;
        color: #527568;
        border-radius: 999px;
        font-size: 7px;
        font-weight: 700;
    }


/* ============================================================
   CONTACT / VILLE
   ============================================================ */

.dashboard-users-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64736e;
    font-size: 9px;
    white-space: nowrap;
}

    .dashboard-users-contact i {
        width: 12px;
        color: #82918c;
        text-align: center;
    }

.dashboard-users-empty-value {
    color: #b2b9b6;
}


/* ============================================================
   COMPTEURS
   ============================================================ */

.dashboard-users-counter {
    min-width: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
}

    .dashboard-users-counter.documents {
        background: #edf4f0;
        color: #3f725f;
    }

    .dashboard-users-counter.appointments {
        background: #eeebf5;
        color: #71648a;
    }


/* ============================================================
   DATE INSCRIPTION
   ============================================================ */

.dashboard-users-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
}

    .dashboard-users-date strong {
        color: #53645f;
        font-size: 9px;
        font-weight: 650;
    }

    .dashboard-users-date span {
        color: #a1aaa6;
        font-size: 8px;
    }


/* ============================================================
   STATUT UTILISATEUR
   ============================================================ */

.dashboard-users-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 700;
    white-space: nowrap;
}

    .dashboard-users-status i {
        font-size: 6px;
    }

    .dashboard-users-status.active {
        background: #e7f3ec;
        color: #39745d;
    }

    .dashboard-users-status.inactive {
        background: #eeeeee;
        color: #747c79;
    }

    .dashboard-users-status.blocked {
        background: #f7e7e8;
        color: #a34f55;
    }

    .dashboard-users-status.suspended {
        background: #fff3df;
        color: #9c6d2a;
    }

    .dashboard-users-status.default {
        background: #f1f3f2;
        color: #78847f;
    }


/* ============================================================
   ACTIONS
   ============================================================ */

.dashboard-users-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.dashboard-users-action {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(21, 61, 56, 0.09);
    border-radius: 9px;
    background: #ffffff;
    color: #697873;
    text-decoration: none;
    font-size: 10px;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

    .dashboard-users-action:hover {
        background: #edf4f0;
        border-color: #d8e7df;
        color: #2f6e59;
        transform: translateY(-1px);
    }

    .dashboard-users-action.edit {
        color: #657994;
    }

        .dashboard-users-action.edit:hover {
            background: #edf1f6;
            border-color: #dbe3ed;
            color: #4f6887;
        }


/* ============================================================
   PAGINATION
   ============================================================ */

.dashboard-users-pagination {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 20px;
    background: #fbfcfa;
    border-top: 1px solid rgba(21, 61, 56, 0.07);
}

    .dashboard-users-pagination > span {
        color: #8e9995;
        font-size: 9px;
    }

    .dashboard-users-pagination nav {
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .dashboard-users-pagination nav a {
            min-width: 30px;
            height: 30px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 8px;
            background: #ffffff;
            color: #63736d;
            border: 1px solid rgba(21, 61, 56, 0.09);
            border-radius: 9px;
            text-decoration: none;
            font-size: 9px;
            font-weight: 650;
        }

            .dashboard-users-pagination nav a:hover {
                background: #eef4f0;
                color: #2f6e59;
            }

            .dashboard-users-pagination nav a.active {
                background: #2f6e59;
                border-color: #2f6e59;
                color: #ffffff;
            }


/* ============================================================
   AUCUN UTILISATEUR
   ============================================================ */

.dashboard-users-empty {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    text-align: center;
}

    .dashboard-users-empty > div {
        width: 54px;
        height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
        background: #edf4f0;
        color: #4e7d6c;
        border-radius: 50%;
        font-size: 17px;
    }

    .dashboard-users-empty strong {
        margin-bottom: 5px;
        color: #405952;
        font-size: 12px;
    }

    .dashboard-users-empty p {
        margin: 0;
        color: #96a09c;
        font-size: 9px;
    }


/* ============================================================
   RESPONSIVE UTILISATEURS
   ============================================================ */

@media (max-width: 1200px) {

    .dashboard-users-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-users-filters {
        grid-template-columns: minmax(250px, 1fr) 180px auto;
    }

    .dashboard-users-reset {
        grid-column: 1 / -1;
        width: fit-content;
    }
}

@media (max-width: 750px) {

    .dashboard-users-filters {
        grid-template-columns: 1fr;
    }

    .dashboard-users-reset {
        grid-column: auto;
        width: 100%;
    }

    .dashboard-users-filter-button {
        width: 100%;
    }
}

@media (max-width: 560px) {

    .dashboard-users-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-users-pagination {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ============================================================
   CONTENU MODALES UTILISATEURS
   ============================================================ */

.dashboard-modal-loading {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #788681;
    font-size: 11px;
}

    .dashboard-modal-loading[hidden] {
        display: none !important;
    }


.dashboard-modal-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(21, 61, 56, .07);
}

    .dashboard-modal-list-item:last-child {
        border-bottom: 0;
    }


.dashboard-modal-list-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: #e9f2ed;
    color: #39745d;
}

    .dashboard-modal-list-icon.appointment {
        background: #eeebf5;
        color: #73668c;
    }


.dashboard-modal-list-content {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .dashboard-modal-list-content strong {
        color: #304d45;
        font-size: 10px;
    }

    .dashboard-modal-list-content span {
        color: #909b97;
        font-size: 8px;
    }


.dashboard-modal-status {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef3f0;
    color: #557267;
    font-size: 8px;
    font-weight: 700;
}


.dashboard-modal-list-actions {
    display: flex;
    gap: 6px;
}

    .dashboard-modal-list-actions a {
        width: 31px;
        height: 31px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(21, 61, 56, .1);
        border-radius: 9px;
        color: #64756f;
        text-decoration: none;
    }

        .dashboard-modal-list-actions a:hover {
            background: #edf4f0;
            color: #2f6e59;
        }


.dashboard-modal-appointment-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

    .dashboard-modal-appointment-right strong {
        color: #26483f;
        font-size: 10px;
    }

    .dashboard-modal-appointment-right span {
        color: #81908a;
        font-size: 8px;
    }


.dashboard-user-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

    .dashboard-user-edit-grid[hidden] {
        display: none !important;
    }

.dashboard-user-edit-full {
    grid-column: 1 / -1;
}


.dashboard-user-edit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .dashboard-user-edit-field label {
        color: #62736d;
        font-size: 9px;
        font-weight: 700;
    }

    .dashboard-user-edit-field input {
        width: 100%;
        height: 42px;
        padding: 0 12px;
        border: 1px solid rgba(21, 61, 56, .12);
        border-radius: 10px;
        outline: none;
        color: #304b44;
        font-size: 10px;
    }

        .dashboard-user-edit-field input:focus {
            border-color: #5c8c79;
            box-shadow: 0 0 0 3px rgba(47, 110, 89, .08);
        }


.dashboard-user-modal-primary {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 17px;
    border: 0;
    border-radius: 10px;
    background: #2f6e59;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

    .dashboard-user-modal-primary:hover {
        background: #255a49;
    }


.dashboard-modal-empty {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .dashboard-modal-empty > div {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        border-radius: 50%;
        background: #edf4f0;
        color: #4e7d6c;
    }

    .dashboard-modal-empty strong {
        color: #405952;
        font-size: 11px;
    }

    .dashboard-modal-empty p {
        margin: 4px 0 0;
        color: #96a09c;
        font-size: 9px;
    }


.dashboard-modal-error {
    padding: 12px 14px;
    border-radius: 11px;
    background: #f8eaea;
    color: #9c4b50;
    font-size: 10px;
}


@media (max-width: 650px) {

    .dashboard-user-edit-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-user-edit-full {
        grid-column: auto;
    }
}

/* ============================================================
   DASHBOARD - RENDEZ-VOUS
   ============================================================ */

.dashboard-rdv-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 22px;
}

.dashboard-rdv-stat-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 17px;
    background: #fff;
    border: 1px solid rgba(21, 61, 56, .07);
    border-radius: 17px;
    box-shadow: 0 8px 28px rgba(30, 72, 61, .04);
}

.dashboard-rdv-stat-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 16px;
}

    .dashboard-rdv-stat-icon.total {
        background: #e7f3ec;
        color: #2f7a5b;
    }

    .dashboard-rdv-stat-icon.upcoming {
        background: #e7f1fb;
        color: #3578ba;
    }

    .dashboard-rdv-stat-icon.confirmed {
        background: #fff1dd;
        color: #df8714;
    }

    .dashboard-rdv-stat-icon.cancelled {
        background: #fbe7e9;
        color: #cb3f4c;
    }

    .dashboard-rdv-stat-icon.month {
        background: #eeeafb;
        color: #6f55c5;
    }

.dashboard-rdv-stat-card > div:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dashboard-rdv-stat-card strong {
    margin-bottom: 2px;
    color: #183f39;
    font-size: 22px;
    line-height: 1;
}

.dashboard-rdv-stat-card span {
    color: #445c55;
    font-size: 10px;
    font-weight: 700;
}

.dashboard-rdv-stat-card small {
    margin-top: 2px;
    color: #9ba5a1;
    font-size: 8px;
}


/* ============================================================
   FILTRES
   ============================================================ */

.dashboard-rdv-filter-card {
    margin-bottom: 20px;
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(21, 61, 56, .07);
    border-radius: 17px;
    box-shadow: 0 8px 28px rgba(30, 72, 61, .04);
}

.dashboard-rdv-filters {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) minmax(150px, .8fr) minmax(150px, .8fr) minmax(250px, 1.2fr) auto;
    gap: 12px;
    align-items: end;
}

.dashboard-rdv-search {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 1px solid rgba(21, 61, 56, .11);
    border-radius: 11px;
}

    .dashboard-rdv-search input {
        width: 100%;
        border: 0;
        outline: 0;
        color: #304b44;
        font-size: 10px;
    }

    .dashboard-rdv-search i {
        color: #91a09a;
    }

.dashboard-rdv-filter-field,
.dashboard-rdv-filter-period {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .dashboard-rdv-filter-field label,
    .dashboard-rdv-filter-period label {
        color: #526a63;
        font-size: 9px;
        font-weight: 700;
    }

    .dashboard-rdv-filter-field select,
    .dashboard-rdv-filter-period input {
        height: 42px;
        padding: 0 11px;
        background: #fff;
        border: 1px solid rgba(21, 61, 56, .11);
        border-radius: 11px;
        color: #53645f;
        font-size: 9px;
        outline: none;
    }

    .dashboard-rdv-filter-period > div {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .dashboard-rdv-filter-period input {
        min-width: 0;
        width: 100%;
    }

    .dashboard-rdv-filter-period span {
        color: #9aa5a1;
    }

.dashboard-rdv-filter-button,
.dashboard-rdv-reset-button {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-rdv-filter-button {
    border: 0;
    background: #2f6e59;
    color: #fff;
}

.dashboard-rdv-reset-button {
    grid-column: -2 / -1;
    border: 1px solid rgba(21, 61, 56, .1);
    background: #fff;
    color: #5d746b;
}


/* ============================================================
   CONTENU PRINCIPAL
   ============================================================ */

.dashboard-rdv-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, .8fr);
    gap: 18px;
}

.dashboard-rdv-list-card,
.dashboard-rdv-calendar-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(21, 61, 56, .07);
    border-radius: 18px;
    box-shadow: 0 9px 28px rgba(30, 72, 61, .04);
}

.dashboard-rdv-card-header,
.dashboard-rdv-calendar-header {
    padding: 17px 18px;
    border-bottom: 1px solid rgba(21, 61, 56, .07);
}

    .dashboard-rdv-card-header h2,
    .dashboard-rdv-calendar-header h2 {
        margin: 0 0 3px;
        color: #28483f;
        font-size: 13px;
        font-weight: 750;
    }

    .dashboard-rdv-card-header p {
        margin: 0;
        color: #9aa39f;
        font-size: 8px;
    }


/* ============================================================
   TABLEAU
   ============================================================ */

.dashboard-rdv-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.dashboard-rdv-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
}

    .dashboard-rdv-table thead {
        background: #f8faf8;
    }

    .dashboard-rdv-table th {
        padding: 11px 12px;
        color: #72817b;
        font-size: 8px;
        font-weight: 750;
        text-align: left;
        border-bottom: 1px solid rgba(21, 61, 56, .07);
    }

    .dashboard-rdv-table td {
        padding: 12px;
        color: #5b6965;
        font-size: 9px;
        vertical-align: middle;
        border-bottom: 1px solid rgba(21, 61, 56, .055);
    }

    .dashboard-rdv-table tbody tr:hover {
        background: #fbfcfb;
    }


/* ============================================================
   UTILISATEUR
   ============================================================ */

.dashboard-rdv-user {
    min-width: 170px;
    display: flex;
    align-items: center;
    gap: 9px;
}

    .dashboard-rdv-user img {
        width: 34px;
        height: 34px;
        object-fit: cover;
        border-radius: 50%;
    }

    .dashboard-rdv-user > div {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .dashboard-rdv-user strong {
        color: #304b44;
        font-size: 9px;
    }

    .dashboard-rdv-user span {
        max-width: 140px;
        overflow: hidden;
        color: #98a19e;
        font-size: 7px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


/* ============================================================
   TYPE / DATE
   ============================================================ */

.dashboard-rdv-type,
.dashboard-rdv-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .dashboard-rdv-type strong,
    .dashboard-rdv-date strong {
        color: #3b514b;
        font-size: 9px;
    }

    .dashboard-rdv-type span,
    .dashboard-rdv-date span {
        color: #9ba49f;
        font-size: 7px;
    }


/* ============================================================
   STATUTS
   ============================================================ */

.dashboard-rdv-status,
.dashboard-rdv-payment {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 7px;
    border-radius: 999px;
    font-size: 7px;
    font-weight: 700;
    white-space: nowrap;
}

    .dashboard-rdv-status i {
        font-size: 5px;
    }

    .dashboard-rdv-status.confirmed {
        background: #e7f3ec;
        color: #39745d;
    }

    .dashboard-rdv-status.pending {
        background: #fff3df;
        color: #a56d22;
    }

    .dashboard-rdv-status.cancelled {
        background: #f9e7e8;
        color: #a74c53;
    }

    .dashboard-rdv-status.finished {
        background: #e9edf0;
        color: #65727c;
    }

    .dashboard-rdv-status.absent {
        background: #f6e7e8;
        color: #9b454b;
    }

    .dashboard-rdv-payment.paid {
        background: #e7f3ec;
        color: #39745d;
    }

    .dashboard-rdv-payment.pending {
        background: #fff3df;
        color: #a56d22;
    }

    .dashboard-rdv-payment.refunded {
        background: #edf0f2;
        color: #66747b;
    }

    .dashboard-rdv-payment.failed,
    .dashboard-rdv-payment.cancelled {
        background: #f9e7e8;
        color: #a74c53;
    }

.dashboard-rdv-price {
    color: #315047;
    font-size: 9px;
}


/* ============================================================
   ACTIONS
   ============================================================ */

.dashboard-rdv-actions {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.dashboard-rdv-action {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(21, 61, 56, .1);
    border-radius: 8px;
    background: #fff;
    color: #62736d;
    font-size: 9px;
    cursor: pointer;
}

    .dashboard-rdv-action:hover {
        background: #edf4f0;
        color: #2f6e59;
    }

    .dashboard-rdv-action.edit {
        color: #5d7290;
    }

    .dashboard-rdv-action.cancel {
        color: #a84f55;
    }

        .dashboard-rdv-action.cancel:hover {
            background: #f9e8e9;
            color: #9d3d45;
        }

.dashboard-rdv-actions-column {
    text-align: right !important;
}


/* ============================================================
   PAGINATION
   ============================================================ */

.dashboard-rdv-pagination {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 17px;
    background: #fbfcfa;
    border-top: 1px solid rgba(21, 61, 56, .07);
}

    .dashboard-rdv-pagination > span {
        color: #8d9894;
        font-size: 8px;
    }

    .dashboard-rdv-pagination nav {
        display: flex;
        gap: 4px;
    }

        .dashboard-rdv-pagination nav a {
            min-width: 29px;
            height: 29px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 7px;
            border: 1px solid rgba(21, 61, 56, .1);
            border-radius: 8px;
            color: #62736d;
            text-decoration: none;
            font-size: 8px;
        }

            .dashboard-rdv-pagination nav a.active {
                background: #2f6e59;
                border-color: #2f6e59;
                color: #fff;
            }


/* ============================================================
   CALENDRIER
   ============================================================ */

.dashboard-rdv-calendar-card {
    padding-bottom: 16px;
}

.dashboard-rdv-calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 17px;
}

    .dashboard-rdv-calendar-navigation a {
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #566d64;
        text-decoration: none;
        border-radius: 8px;
    }

        .dashboard-rdv-calendar-navigation a:hover {
            background: #edf4f0;
        }

    .dashboard-rdv-calendar-navigation strong {
        color: #29483f;
        font-size: 11px;
        text-transform: capitalize;
    }

.dashboard-rdv-calendar-week,
.dashboard-rdv-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.dashboard-rdv-calendar-week {
    padding: 0 12px 8px;
}

    .dashboard-rdv-calendar-week span {
        text-align: center;
        color: #697b74;
        font-size: 8px;
        font-weight: 700;
    }

.dashboard-rdv-calendar-days {
    gap: 3px;
    padding: 0 12px;
}

    .dashboard-rdv-calendar-day,
    .dashboard-rdv-calendar-days .empty {
        min-height: 43px;
    }

.dashboard-rdv-calendar-day {
    position: relative;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #415751;
    font-size: 9px;
    cursor: default;
}

    .dashboard-rdv-calendar-day:hover {
        background: #f2f6f3;
    }

    .dashboard-rdv-calendar-day.today {
        background: #2f6e59;
        color: #fff;
    }

.dashboard-rdv-calendar-dots {
    position: absolute;
    left: 50%;
    bottom: 5px;
    display: flex;
    gap: 2px;
    transform: translateX(-50%);
}

    .dashboard-rdv-calendar-dots i,
    .dashboard-rdv-calendar-legend i {
        width: 5px;
        height: 5px;
        display: inline-block;
        border-radius: 50%;
    }

    .dashboard-rdv-calendar-dots .confirmed,
    .dashboard-rdv-calendar-legend .confirmed {
        background: #2b9968;
    }

    .dashboard-rdv-calendar-dots .pending,
    .dashboard-rdv-calendar-legend .pending {
        background: #ef8c16;
    }

    .dashboard-rdv-calendar-dots .cancelled,
    .dashboard-rdv-calendar-legend .cancelled {
        background: #cf3646;
    }

    .dashboard-rdv-calendar-dots .other {
        background: #567da5;
    }

.dashboard-rdv-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 17px 14px 0;
    padding: 11px;
    border: 1px solid rgba(21, 61, 56, .07);
    border-radius: 10px;
}

    .dashboard-rdv-calendar-legend span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #697b74;
        font-size: 7px;
    }


/* ============================================================
   INFORMATION
   ============================================================ */

.dashboard-rdv-information {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 17px;
    background: #eef6fd;
    border: 1px solid #d7e8f7;
    border-radius: 12px;
    color: #496c88;
}

    .dashboard-rdv-information > i {
        font-size: 18px;
        color: #3477b6;
    }

    .dashboard-rdv-information p {
        margin: 0;
        font-size: 9px;
    }


/* ============================================================
   VIDE
   ============================================================ */

.dashboard-rdv-empty {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .dashboard-rdv-empty > div {
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        border-radius: 50%;
        background: #edf4f0;
        color: #4e7d6c;
    }

    .dashboard-rdv-empty strong {
        color: #405952;
        font-size: 11px;
    }

    .dashboard-rdv-empty p {
        margin: 4px 0 0;
        color: #96a09c;
        font-size: 8px;
    }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1350px) {

    .dashboard-rdv-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-rdv-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-rdv-search {
        grid-column: 1 / -1;
    }

    .dashboard-rdv-reset-button {
        grid-column: auto;
    }
}

@media (max-width: 1100px) {

    .dashboard-rdv-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    .dashboard-rdv-stats,
    .dashboard-rdv-filters {
        grid-template-columns: 1fr;
    }

    .dashboard-rdv-search {
        grid-column: auto;
    }

    .dashboard-rdv-filter-period > div {
        flex-direction: column;
    }

    .dashboard-rdv-filter-button,
    .dashboard-rdv-reset-button {
        width: 100%;
    }
}



/* ============================================================
   DASHBOARD - AUGMENTATION GLOBALE DES TEXTES
   ============================================================ */

/* Texte général */
.dashboard-admin {
    font-size: 13px;
}


/* ============================================================
   HEADER
   ============================================================ */

.dashboard-header h1 {
    font-size: 36px;
}

.dashboard-header p {
    font-size: 15px;
}


/* ============================================================
   TITRES DE SECTIONS
   ============================================================ */

.dashboard-section-title h2 {
    font-size: 18px;
}

.dashboard-section-title p {
    font-size: 13px;
}


/* ============================================================
   CARTES STATISTIQUES
   ============================================================ */

.dashboard-stat-label,
.dashboard-documents-stat-card span,
.dashboard-users-stat-card span,
.dashboard-rdv-stat-card span {
    font-size: 12px;
}

.dashboard-stat-value {
    font-size: 30px;
}

.dashboard-documents-stat-card strong,
.dashboard-users-stat-card strong,
.dashboard-rdv-stat-card strong {
    font-size: 25px;
}

.dashboard-stat-description,
.dashboard-rdv-stat-card small {
    font-size: 11px;
}


/* ============================================================
   FILTRES
   ============================================================ */

.dashboard-documents-search input,
.dashboard-users-search input,
.dashboard-rdv-search input {
    font-size: 13px;
}

.dashboard-documents-filter-select select,
.dashboard-users-filter-select select,
.dashboard-rdv-filter-field select,
.dashboard-rdv-filter-period input {
    font-size: 12px;
}

.dashboard-rdv-filter-field label,
.dashboard-rdv-filter-period label {
    font-size: 11px;
}

.dashboard-documents-filter-button,
.dashboard-users-filter-button,
.dashboard-users-reset,
.dashboard-rdv-filter-button,
.dashboard-rdv-reset-button {
    font-size: 12px;
}


/* ============================================================
   TABLEAUX
   ============================================================ */

.dashboard-documents-table th,
.dashboard-users-table th,
.dashboard-rdv-table th {
    font-size: 10px;
}

.dashboard-documents-table td,
.dashboard-users-table td,
.dashboard-rdv-table td {
    font-size: 11px;
}


/* ============================================================
   UTILISATEUR DANS TABLEAUX
   ============================================================ */

.dashboard-documents-user strong,
.dashboard-users-user strong,
.dashboard-rdv-user strong {
    font-size: 11px;
}

.dashboard-documents-user span,
.dashboard-users-user span,
.dashboard-rdv-user span {
    font-size: 9px;
}


/* ============================================================
   DOCUMENTS
   ============================================================ */

.dashboard-documents-file strong {
    font-size: 11px;
}

.dashboard-documents-file span {
    font-size: 9px;
}

.dashboard-documents-type {
    font-size: 9px;
}

.dashboard-documents-date strong {
    font-size: 10px;
}

.dashboard-documents-date span {
    font-size: 9px;
}

.dashboard-documents-status {
    font-size: 9px;
}


/* ============================================================
   UTILISATEURS
   ============================================================ */

.dashboard-users-contact {
    font-size: 10px;
}

.dashboard-users-counter {
    font-size: 10px;
}

.dashboard-users-date strong {
    font-size: 10px;
}

.dashboard-users-date span {
    font-size: 9px;
}

.dashboard-users-status {
    font-size: 9px;
}


/* ============================================================
   RENDEZ-VOUS
   ============================================================ */

.dashboard-rdv-type strong,
.dashboard-rdv-date strong {
    font-size: 10px;
}

.dashboard-rdv-type span,
.dashboard-rdv-date span {
    font-size: 9px;
}

.dashboard-rdv-status,
.dashboard-rdv-payment {
    font-size: 9px;
}

.dashboard-rdv-price {
    font-size: 10px;
}


/* ============================================================
   PAGINATION
   ============================================================ */

.dashboard-documents-pagination > span,
.dashboard-users-pagination > span,
.dashboard-rdv-pagination > span {
    font-size: 10px;
}

.dashboard-documents-pagination nav a,
.dashboard-users-pagination nav a,
.dashboard-rdv-pagination nav a {
    font-size: 10px;
}


/* ============================================================
   CALENDRIER
   ============================================================ */

.dashboard-rdv-calendar-navigation strong {
    font-size: 13px;
}

.dashboard-rdv-calendar-week span {
    font-size: 10px;
}

.dashboard-rdv-calendar-day {
    font-size: 11px;
}

.dashboard-rdv-calendar-legend span {
    font-size: 9px;
}


/* ============================================================
   PARAMETRES PAIEMENT
   ============================================================ */

.dashboard-settings-alert {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    padding: 13px 15px;
    border-radius: 11px;
    font-size: 11px;
}

    .dashboard-settings-alert.success {
        background: #e8f4ed;
        border: 1px solid #d1e7da;
        color: #39725d;
    }

    .dashboard-settings-alert.error {
        background: #faeaea;
        border: 1px solid #efcccc;
        color: #a3484f;
    }


/* ============================================================
   TABS
   ============================================================ */

.dashboard-settings-tabs {
    display: grid;
    grid-template-columns: repeat(3, 210px);
    gap: 22px;
    margin-bottom: 24px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, .08);
    border-radius: 16px;
}

.dashboard-settings-tab {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    position: relative;
    color: #65756f;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    border-radius: 11px;
}

    .dashboard-settings-tab:hover {
        background: #f3f7f4;
        color: #2f6e59;
    }

    .dashboard-settings-tab.active {
        background: #f0f6f2;
        color: #246047;
    }

        .dashboard-settings-tab.active::after {
            content: "";
            position: absolute;
            left: 20px;
            right: 20px;
            bottom: -10px;
            height: 2px;
            background: #2f6e59;
        }


/* ============================================================
   GRID PROVIDERS
   ============================================================ */

.dashboard-payment-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}


/* ============================================================
   PROVIDER
   ============================================================ */

.dashboard-payment-provider {
    padding: 23px;
    background: #ffffff;
    border: 1px solid rgba(21, 61, 56, .08);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(28, 66, 57, .04);
}

.dashboard-payment-provider-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.dashboard-payment-provider-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

    .dashboard-payment-provider-identity h2 {
        margin: 0 0 4px;
        color: #193f39;
        font-size: 20px;
        font-weight: 760;
    }

    .dashboard-payment-provider-identity p {
        max-width: 360px;
        margin: 0;
        color: #7e8d88;
        font-size: 11px;
        line-height: 1.55;
    }


/* ============================================================
   LOGOS
   ============================================================ */

.dashboard-payment-logo {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    font-size: 27px;
    font-weight: 800;
}

    .dashboard-payment-logo.stripe {
        background: linear-gradient(135deg, #635bff, #5865e8);
        color: #ffffff;
    }

    .dashboard-payment-logo.paypal {
        background: #e8f2fc;
        color: #0b4d9a;
        font-size: 30px;
    }


/* ============================================================
   SWITCH
   ============================================================ */

.dashboard-payment-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .dashboard-payment-switch input {
        display: none;
    }

.dashboard-payment-slider {
    width: 39px;
    height: 22px;
    position: relative;
    background: #d9e1dd;
    border-radius: 999px;
    transition: .2s;
}

    .dashboard-payment-slider::after {
        content: "";
        width: 16px;
        height: 16px;
        position: absolute;
        left: 3px;
        top: 3px;
        background: #ffffff;
        border-radius: 50%;
        box-shadow: 0 1px 5px rgba(0,0,0,.15);
        transition: .2s;
    }

.dashboard-payment-switch input:checked + .dashboard-payment-slider {
    background: #277559;
}

    .dashboard-payment-switch input:checked + .dashboard-payment-slider::after {
        transform: translateX(17px);
    }

.dashboard-payment-switch strong {
    color: #35715d;
    font-size: 11px;
}


/* ============================================================
   INFORMATION
   ============================================================ */

.dashboard-payment-info {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 12px 14px;
    background: #edf6fe;
    border: 1px solid #d1e6f8;
    border-radius: 9px;
    color: #3975a9;
    font-size: 10px;
}

    .dashboard-payment-info i {
        font-size: 17px;
    }


/* ============================================================
   INPUTS
   ============================================================ */

.dashboard-payment-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

    .dashboard-payment-field label {
        color: #354e47;
        font-size: 11px;
        font-weight: 700;
    }

        .dashboard-payment-field label span {
            color: #7d8985;
            font-weight: 500;
        }

    .dashboard-payment-field input,
    .dashboard-payment-field select {
        width: 100%;
        height: 45px;
        padding: 0 13px;
        background: #ffffff;
        border: 1px solid rgba(21, 61, 56, .14);
        border-radius: 9px;
        color: #3e514b;
        font-size: 11px;
        outline: none;
        transition: border-color .16s ease, box-shadow .16s ease;
    }

        .dashboard-payment-field input:focus,
        .dashboard-payment-field select:focus {
            border-color: #5d917e;
            box-shadow: 0 0 0 3px rgba(47, 110, 89, .08);
        }


/* ============================================================
   PASSWORD
   ============================================================ */

.dashboard-payment-password {
    position: relative;
}

    .dashboard-payment-password input {
        padding-right: 45px;
    }

.dashboard-payment-password-toggle {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 3px;
    top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #73817c;
    cursor: pointer;
}

    .dashboard-payment-password-toggle:hover {
        color: #2f6e59;
    }

.dashboard-payment-field-help {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
}

    .dashboard-payment-field-help.success {
        color: #4d7969;
    }


/* ============================================================
   FOOTER PROVIDER
   ============================================================ */

.dashboard-payment-provider-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 28px;
}

.dashboard-payment-test,
.dashboard-payment-save {
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.dashboard-payment-test {
    background: #ffffff;
    color: #326d58;
    border: 1px solid #67a08b;
}

    .dashboard-payment-test:hover {
        background: #f0f6f3;
    }

.dashboard-payment-save {
    border: 0;
    background: #226f50;
    color: #ffffff;
}

    .dashboard-payment-save:hover {
        background: #195b41;
    }


/* ============================================================
   TEST RESULT
   ============================================================ */

.dashboard-payment-test-result {
    margin-top: 13px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 10px;
}

    .dashboard-payment-test-result.success {
        background: #e8f4ed;
        color: #39725d;
    }

    .dashboard-payment-test-result.error {
        background: #f9e8e9;
        color: #a2484f;
    }


/* ============================================================
   SECURITY
   ============================================================ */

.dashboard-payment-security {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    padding: 22px 24px;
    background: linear-gradient( 90deg, #f2f8f4, #fbfdfc );
    border: 1px solid #d8e6de;
    border-radius: 16px;
}

.dashboard-payment-security-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 13px;
    background: #267456;
    color: #ffffff;
    font-size: 18px;
}

.dashboard-payment-security h3 {
    margin: 0 0 9px;
    color: #2a594b;
    font-size: 13px;
}

.dashboard-payment-security p {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 5px 0;
    color: #63746e;
    font-size: 9px;
}

    .dashboard-payment-security p i {
        color: #297557;
    }

.dashboard-payment-security-decoration {
    margin-left: auto;
    position: relative;
    padding-right: 18px;
    color: #267456;
    font-size: 53px;
    opacity: .85;
}

    .dashboard-payment-security-decoration span {
        width: 29px;
        height: 29px;
        position: absolute;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e0eee6;
        border-radius: 50%;
        font-size: 12px;
    }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {

    .dashboard-payment-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .dashboard-settings-tabs {
        grid-template-columns: 1fr;
    }

    .dashboard-payment-provider-header {
        flex-direction: column;
    }

    .dashboard-payment-provider-footer {
        flex-direction: column;
    }

    .dashboard-payment-test,
    .dashboard-payment-save {
        width: 100%;
    }

    .dashboard-payment-security-decoration {
        display: none;
    }
}

.dashboard-rdv-modal {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

    .dashboard-rdv-modal .modal-header,
    .dashboard-rdv-modal .modal-footer {
        border-color: #edf1ed;
        padding: 18px 22px;
    }

    .dashboard-rdv-modal .modal-body {
        padding: 22px;
    }

    .dashboard-rdv-modal .modal-header small {
        display: block;
        color: #7c8f88;
        margin-bottom: 3px;
        font-size: 11px;
    }

    .dashboard-rdv-modal .modal-title {
        color: #153d38;
        font-weight: 700;
    }

.dashboard-rdv-modal-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid #e4ebe6;
    background: #f8faf8;
    border-radius: 14px;
}

.dashboard-rdv-modal-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e9f3ec;
    color: #2f6e59;
}

.dashboard-rdv-modal-user strong,
.dashboard-rdv-modal-user span {
    display: block;
}

.dashboard-rdv-modal-user span {
    color: #75877f;
    font-size: 12px;
}

.dashboard-rdv-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

    .dashboard-rdv-modal-grid > div {
        padding: 12px 14px;
        border: 1px solid #e7ece8;
        border-radius: 12px;
    }

    .dashboard-rdv-modal-grid .full {
        grid-column: 1 / -1;
    }

    .dashboard-rdv-modal-grid span {
        display: block;
        color: #809189;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .04em;
        margin-bottom: 4px;
    }

    .dashboard-rdv-modal-grid strong,
    .dashboard-rdv-modal-grid p,
    .dashboard-rdv-modal-grid a {
        font-size: 12px;
        margin: 0;
        color: #153d38;
    }

.dashboard-rdv-modal-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
}

    .dashboard-rdv-modal-warning.danger {
        background: #fff5f5;
        border-color: #fecaca;
    }

    .dashboard-rdv-modal-warning i {
        font-size: 20px;
        color: #c2410c;
    }

    .dashboard-rdv-modal-warning.danger i {
        color: #b91c1c;
    }

    .dashboard-rdv-modal-warning strong,
    .dashboard-rdv-modal-warning span {
        display: block;
    }

    .dashboard-rdv-modal-warning span {
        color: #7a8780;
        font-size: 11px;
    }

.dashboard-rdv-modal-note {
    margin: 12px 0 0;
    font-size: 11px;
    line-height: 1.55;
    color: #76867f;
}

.dashboard-rdv-modal-secondary,
.dashboard-rdv-modal-danger {
    border-radius: 9px;
    padding: 9px 14px;
    font-size: 11px;
    font-weight: 600;
}

.dashboard-rdv-modal-secondary {
    border: 1px solid #dce5df;
    background: white;
    color: #3d554d;
}

.dashboard-rdv-modal-danger {
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #b91c1c;
}

.dashboard-rdv-modal textarea {
    width: 100%;
    resize: vertical;
}

@media (max-width: 700px) {
    .dashboard-rdv-modal-grid {
        grid-template-columns: 1fr;
    }

        .dashboard-rdv-modal-grid .full {
            grid-column: auto;
        }
}

/* =========================================================
   PARAMETRES GENERAUX
   ========================================================= */

.dashboard-general-settings {
    background: linear-gradient( 180deg, #f7faf7 0%, #f2f7f3 100% );
}

    .dashboard-general-settings form {
        display: grid;
        gap: 22px;
    }

.dashboard-general-card {
    background: #ffffff;
    border: 1px solid #e3ebe6;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(21, 61, 56, 0.055);
}

.dashboard-general-card-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.dashboard-general-card-title-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #2f6e59;
    background: #edf6f1;
}

.dashboard-general-card-title h2 {
    margin: 0;
    color: #153d38;
    font-size: 18px;
    font-weight: 800;
}

.dashboard-general-card-title p {
    margin: 4px 0 0;
    color: #718078;
    font-size: 13px;
}

.dashboard-home-visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, .8fr);
    gap: 20px;
}

.dashboard-home-preview {
    min-height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    border: 1px solid #e3ebe6;
}

.dashboard-home-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(30, 76, 63, .78) 0%, rgba(30, 76, 63, .48) 46%, rgba(30, 76, 63, .08) 74%, rgba(30, 76, 63, 0) 100% );
}

.dashboard-home-preview-content {
    position: relative;
    z-index: 2;
    width: min(520px, 65%);
    padding: 46px;
    color: #fff;
}

    .dashboard-home-preview-content > span:first-child {
        display: block;
        margin-bottom: 14px;
        letter-spacing: .26em;
        font-size: 11px;
        font-weight: 800;
    }

    .dashboard-home-preview-content h3 {
        margin: 0 0 16px;
        font-size: clamp(28px, 3vw, 45px);
        line-height: 1.08;
    }

    .dashboard-home-preview-content p {
        margin: 0 0 22px;
        line-height: 1.65;
        font-size: 13px;
    }

.dashboard-home-preview-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #2f6e59;
    font-weight: 800;
    font-style: normal;
    font-size: 12px;
}

.dashboard-general-upload {
    min-height: 250px;
    border: 1px dashed #bfd1c6;
    border-radius: 18px;
    background: #fbfdfb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    cursor: pointer;
    transition: .2s ease;
}

    .dashboard-general-upload:hover {
        border-color: #2f6e59;
        background: #f3f8f5;
        transform: translateY(-1px);
    }

    .dashboard-general-upload input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .dashboard-general-upload > i {
        margin-bottom: 14px;
        color: #2f6e59;
        font-size: 35px;
    }

    .dashboard-general-upload strong {
        color: #153d38;
        font-size: 14px;
    }

    .dashboard-general-upload span {
        margin-top: 8px;
        color: #7a8781;
        line-height: 1.6;
        font-size: 12px;
    }

    .dashboard-general-upload em {
        margin-top: 16px;
        padding: 10px 16px;
        border-radius: 10px;
        color: #fff;
        background: #2f6e59;
        font-style: normal;
        font-size: 12px;
        font-weight: 800;
    }

.dashboard-general-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, .9fr);
    gap: 22px;
    align-items: start;
}

.dashboard-general-side-column {
    display: grid;
    gap: 22px;
}

.dashboard-general-form-grid,
.dashboard-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-general-field {
    display: grid;
    gap: 7px;
}

.dashboard-general-field-full {
    grid-column: 1 / -1;
}

.dashboard-general-field label {
    color: #3f514a;
    font-size: 12px;
    font-weight: 750;
}

    .dashboard-general-field label span {
        color: #bf4b4b;
    }

.dashboard-general-field input,
.dashboard-general-field textarea {
    width: 100%;
    min-height: 45px;
    padding: 11px 13px;
    border: 1px solid #dce6df;
    border-radius: 11px;
    outline: none;
    background: #fbfdfb;
    color: #173d38;
    font: inherit;
    font-size: 13px;
    transition: .2s ease;
}

.dashboard-general-field textarea {
    min-height: 105px;
    resize: vertical;
}

    .dashboard-general-field input:focus,
    .dashboard-general-field textarea:focus {
        border-color: #78a692;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(47, 110, 89, .08);
    }

.dashboard-logo-setting {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.dashboard-logo-preview {
    display: grid;
    place-items: center;
    min-height: 180px;
    border-radius: 16px;
    background: #f7faf8;
    border: 1px solid #e3ebe6;
}

    .dashboard-logo-preview img {
        width: 120px;
        height: 120px;
        object-fit: contain;
    }

.dashboard-general-upload.compact {
    min-height: 180px;
}

.dashboard-hours-card {
    overflow: hidden;
}

.dashboard-hours-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(150px, 1fr));
    gap: 12px;
}

.dashboard-hour-item {
    padding: 14px;
    border-radius: 14px;
    background: #fafcfb;
    border: 1px solid #e2ebe5;
}

.dashboard-hour-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

    .dashboard-hour-head strong {
        color: #173d38;
        font-size: 12px;
    }

.dashboard-hour-switch {
    position: relative;
    width: 38px;
    height: 22px;
    flex: 0 0 auto;
}

    .dashboard-hour-switch input[type="checkbox"] {
        position: absolute;
        opacity: 0;
    }

    .dashboard-hour-switch span {
        position: absolute;
        inset: 0;
        border-radius: 999px;
        background: #cfd8d2;
        transition: .2s ease;
    }

        .dashboard-hour-switch span::after {
            content: "";
            position: absolute;
            width: 16px;
            height: 16px;
            left: 3px;
            top: 3px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
            transition: .2s ease;
        }

    .dashboard-hour-switch input[type="checkbox"]:checked + span {
        background: #3d9870;
    }

        .dashboard-hour-switch input[type="checkbox"]:checked + span::after {
            transform: translateX(16px);
        }

.dashboard-hour-times {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
    align-items: center;
}

    .dashboard-hour-times input {
        width: 100%;
        min-width: 0;
        padding: 8px 7px;
        border-radius: 9px;
        border: 1px solid #dce6df;
        background: #fff;
        color: #173d38;
        font-size: 11px;
    }

    .dashboard-hour-times span {
        color: #8a9690;
        font-size: 11px;
    }

.dashboard-general-footer {
    display: flex;
    justify-content: flex-end;
}

.dashboard-general-save {
    border: 0;
    border-radius: 12px;
    padding: 13px 20px;
    background: #2f6e59;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    box-shadow: 0 9px 22px rgba(47, 110, 89, .18);
}

    .dashboard-general-save:hover {
        background: #275d4c;
    }

@media (max-width: 1350px) {
    .dashboard-hours-grid {
        grid-template-columns: repeat(4, minmax(160px, 1fr));
    }
}

@media (max-width: 1100px) {
    .dashboard-home-visual-grid,
    .dashboard-general-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-home-preview-content {
        width: 80%;
    }
}

@media (max-width: 760px) {
    .dashboard-general-form-grid,
    .dashboard-social-grid,
    .dashboard-logo-setting,
    .dashboard-hours-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-home-preview-content {
        width: 100%;
        padding: 28px;
    }
}

/* =========================================================
   PARAMETRES SMTP / IMAP + SQL
   A ajouter au CSS dashboard
   ========================================================= */

.dashboard-settings-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dashboard-mail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-mail-full {
    grid-column: 1 / -1;
}

.dashboard-mail-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

    .dashboard-mail-status.active {
        color: #257a58;
        background: #e9f7ef;
    }

    .dashboard-mail-status.inactive {
        color: #7a8781;
        background: #f0f3f1;
    }

.dashboard-payment-logo.smtp,
.dashboard-payment-logo.imap,
.dashboard-payment-logo.sql {
    background: #edf6f1;
    color: #2f6e59;
}

.dashboard-mail-ssl {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e1e9e4;
    border-radius: 13px;
    background: #fafcfb;
    display: flex;
    align-items: center;
    gap: 13px;
}

    .dashboard-mail-ssl > input {
        position: absolute;
        opacity: 0;
    }

    .dashboard-mail-ssl .dashboard-payment-slider {
        position: relative;
        width: 42px;
        height: 24px;
        flex: 0 0 auto;
        background: #cfd8d2;
        border-radius: 999px;
    }

        .dashboard-mail-ssl .dashboard-payment-slider::after {
            content: "";
            position: absolute;
            left: 3px;
            top: 3px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #fff;
            transition: .2s ease;
        }

    .dashboard-mail-ssl input[type="checkbox"]:checked + .dashboard-payment-slider {
        background: #2f8a66;
    }

        .dashboard-mail-ssl input[type="checkbox"]:checked + .dashboard-payment-slider::after {
            transform: translateX(18px);
        }

    .dashboard-mail-ssl strong,
    .dashboard-mail-ssl small {
        display: block;
    }

    .dashboard-mail-ssl strong {
        color: #173d38;
        font-size: 13px;
    }

    .dashboard-mail-ssl small {
        margin-top: 2px;
        color: #78857f;
        font-size: 11px;
    }

.dashboard-mail-last-check {
    margin-top: 14px;
    color: #74827b;
    font-size: 12px;
}

.dashboard-sql-main {
    margin-top: 24px;
}

.dashboard-sql-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.dashboard-sql-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid #e0e9e3;
    border-radius: 14px;
    background: #fbfdfb;
}

.dashboard-sql-file-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #edf6f1;
    color: #2f6e59;
}

.dashboard-sql-file strong,
.dashboard-sql-file span {
    display: block;
}

.dashboard-sql-file strong {
    color: #173d38;
}

.dashboard-sql-file span {
    margin-top: 3px;
    color: #7b8982;
    font-size: 12px;
}

.dashboard-sql-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

    .dashboard-sql-actions form {
        margin: 0;
    }

.dashboard-sql-delete {
    border: 1px solid #e7c6c6;
    background: #fff7f7;
    color: #a14242;
    padding: 10px 13px;
    border-radius: 10px;
    font-weight: 750;
}

.dashboard-sql-empty {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    text-align: center;
    color: #77847e;
}

    .dashboard-sql-empty > i {
        font-size: 34px;
        color: #7da391;
    }

    .dashboard-sql-empty strong {
        color: #173d38;
    }

@media (max-width: 1000px) {
    .dashboard-settings-tabs {
        grid-template-columns: 1fr;
    }

    .dashboard-mail-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-mail-full {
        grid-column: auto;
    }

    .dashboard-sql-item {
        grid-template-columns: auto 1fr;
    }

    .dashboard-sql-actions {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   CONFIGURATION PAGE A PROPOS
   ========================================================= */

.dashboard-about-settings form {
    display: grid;
    gap: 22px;
}

.dashboard-about-two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 24px;
    align-items: start;
}

    .dashboard-about-two-columns.reverse {
        grid-template-columns: minmax(360px, .85fr) minmax(0, 1.15fr);
    }

.dashboard-about-fields {
    display: grid;
    gap: 16px;
}

.dashboard-about-inline-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.dashboard-about-image-editor {
    display: grid;
    gap: 14px;
}

.dashboard-about-preview {
    height: 270px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid #e0e9e3;
    border-radius: 18px;
    background: #f7faf8;
}

    .dashboard-about-preview img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.dashboard-about-empty-preview {
    display: grid;
    place-items: center;
    gap: 8px;
    color: #819087;
}

    .dashboard-about-empty-preview i {
        color: #6b9f87;
        font-size: 34px;
    }

.dashboard-about-value-grid,
.dashboard-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-about-value-card,
.dashboard-about-stat-card {
    padding: 16px;
    border: 1px solid #e2ebe5;
    border-radius: 15px;
    background: #fbfdfb;
    display: grid;
    gap: 13px;
}

    .dashboard-about-value-card > strong,
    .dashboard-about-stat-card > strong {
        color: #153d38;
    }

.dashboard-about-preview-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 17px;
    border: 1px solid #bcd0c4;
    border-radius: 11px;
    color: #2f6e59;
    background: #fff;
    text-decoration: none;
    font-weight: 800;
}

    .dashboard-about-preview-button:hover {
        color: #245b49;
        background: #f5faf7;
    }

.dashboard-general-footer {
    gap: 12px;
}

@media (max-width: 1200px) {
    .dashboard-about-value-grid,
    .dashboard-about-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 950px) {
    .dashboard-about-two-columns,
    .dashboard-about-two-columns.reverse {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .dashboard-about-inline-fields,
    .dashboard-about-value-grid,
    .dashboard-about-stats-grid {
        grid-template-columns: 1fr;
    }
}