@charset "UTF-8";
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    /* added line */
    border: 0;
}

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important;
    }

    /* Black prints faster: h5bp.com/s */
    a,
a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
        content: "";
    }

    /* Don't show links for images,
    or javascript/internal links */
    pre,
blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    /* h5bp.com/t */
    tr,
img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }
    p,
h2,
h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
h3 {
        page-break-after: avoid;
    }
}
html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
}

*,
::before,
::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-moz-selection {
    color: #fff;
    text-shadow: none;
    background: #000;
}

::selection {
    color: #fff;
    text-shadow: none;
    background: #000;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

audio:not([controls]) {
    display: none;
}

[hidden] {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    display: inherit;
    font-size: inherit;
    font-weight: inherit;
}

a {
    cursor: pointer;
    text-decoration: none;
}
a:hover, a:active, a:focus {
    outline: none;
}

bbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

dfn {
    font-style: italic;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cbc1b3;
    margin: 1.5em 0;
    padding: 0;
}

ins {
    background: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background: #ff0;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

pre,
code,
kbd,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

q {
    quotes: none;
}

q:before,
q:after {
    content: "";
}

small {
    font-size: 85%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

dd {
    margin: 0 0 0 40px;
}

img {
    border: 0;
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    vertical-align: top;
}

/* form reset */
form {
    margin: 0;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

label {
    cursor: pointer;
}

legend {
    border: 0;
    *margin-left: -7px;
    padding: 0;
    white-space: normal;
}

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
    outline: none;
}

button,
input {
    line-height: normal;
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
    cursor: pointer;
    -webkit-appearance: button;
    *overflow: visible;
}

button[disabled],
input[disabled] {
    cursor: default;
}

input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0;
    *width: 13px;
    *height: 13px;
}

input[type=search] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

input:invalid,
textarea:invalid {
    background-color: #f0dddd;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

@font-face {
    font-family: "font-filename";
    src: url(/wp-content/themes/tempo/assets/fonts/font-filename.woff2) format("woff2"), url(/wp-content/themes/tempo/assets/fonts/font-filename.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
/*
@font-face {
    font-family: 'font-filename';
    src: url(../fonts/font-filename-Bold.woff2) format("woff2"), url(../fonts/font-filename-Bold.woff) format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'font-filename';
    src: url(../fonts/font-filename-SemiBold.woff2) format("woff2"), url(../fonts/font-filename-SemiBold.woff) format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'font-filename';
    src: url(../fonts/font-filename-Regular.woff2) format("woff2"), url(../fonts/font-filename-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'font-filename';
    src: url(../fonts/font-filename-Light.woff2) format("woff2"), url(../fonts/font-filename-Light.woff) format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
*/
:root {
    --font-fontName: "font-filename", sans-serif;
    --grid-offset: 15px;
    --color-white: #fff;
    --color-black: #000;
}

@media (min-width: 576px) {
    :root {
        --grid-offset: 15px;
    }
}
@media (min-width: 768px) {
    :root {
        --grid-offset: 30px;
    }
}
#rgpd-modal {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    max-width: 450px;
    min-height: 100px;
    background: #fff;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    margin: 20px;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-wrap: wrap;
}
#rgpd-modal .btn-refuse {
    margin-left: auto;
    margin-bottom: 10px;
    font-size: 1.2rem;
}
#rgpd-modal h2 {
    width: 100%;
    color: #000;
    margin-bottom: 10px;
    font-size: 1.8rem;
}
#rgpd-modal p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
#rgpd-modal .rgpd-manage-link {
    color: #000;
    margin-right: auto;
}
#rgpd-modal[aria-hidden=true] {
    display: none;
}

@keyframes rgpd-fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes rgpd-fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
#rgpd-manage {
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    box-sizing: border-box;
}
#rgpd-manage.open {
    display: flex;
    animation: rgpd-fadeIn 0.2s ease 0.1s both;
}
#rgpd-manage.close {
    animation: rgpd-fadeOut 0.2s ease 0.1s both;
}
#rgpd-manage .box {
    max-height: 100%;
    max-width: 700px;
    overflow: hidden;
    overflow-y: auto;
    background: #fff;
    box-sizing: border-box;
    padding: 40px;
    display: flex;
    flex-direction: column;
}
#rgpd-manage section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #000;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    align-items: center;
}
#rgpd-manage section p {
    font-size: 1.2rem;
    margin-top: 10px;
}
#rgpd-manage h1 {
    color: #000;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
#rgpd-manage h2 {
    color: #000;
    font-size: 1.6rem;
}
#rgpd-manage #rgpd-desc {
    margin-bottom: 20px;
}
#rgpd-manage details {
    font-size: 1.2rem;
    width: 100%;
    margin-top: 5px;
}
#rgpd-manage details summary {
    cursor: pointer;
}
#rgpd-manage details ul {
    display: block;
    margin-top: 5px;
    background-color: #000;
}
#rgpd-manage details ul li {
    padding: 5px;
}
#rgpd-manage input[type=checkbox] {
    margin-left: auto;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    height: 30px;
    width: 60px;
    background: #000;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
}
#rgpd-manage input[type=checkbox]:before {
    content: "";
    width: 28px;
    height: 28px;
    display: block;
    background: #000;
    border-radius: 15px;
    transition: all 0.2s ease;
}
#rgpd-manage input[type=checkbox]:after {
    content: attr(data-denied);
    position: absolute;
    right: calc(100% + 10px);
}
#rgpd-manage input[type=checkbox]:checked:before {
    transform: translateX(30px);
    background: #000;
}
#rgpd-manage input[type=checkbox]:checked:after {
    content: attr(data-accept);
}
#rgpd-manage .btn-close {
    align-self: flex-end;
    margin-top: -20px;
    margin-right: -20px;
}
#rgpd-manage .btn-save {
    align-self: flex-end;
    margin-top: 20px;
    --color: #000;
}
@media (min-width: 768px) {
    #rgpd-manage {
        background: rgba(255, 255, 255, 0.6);
        padding: 20px;
    }
    #rgpd-manage .box {
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
        margin: auto;
    }
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
    background-color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Sidebar Styles */
.dashboard-sidebar {
    width: 250px;
    background: #fff;
    border-right: 1px solid #e9ecef;
    padding: 0;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}
.sidebar-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}
.sidebar-nav .nav-item:hover, .sidebar-nav .nav-item.active {
    background-color: #f8f9fa;
    color: #222;
    border-left-color: #222;
    font-weight: 700;
}

.nav-icon {
    width: 30px;
    margin-right: 10px;
}
.nav-icon img {
    width: 100%;
    height: 20px;
}

/* Main Content */
.dashboard-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.dashboard-header h1 {
    margin: 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
}

.date-selector select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    color: #495057;
    font-size: 14px;
    cursor: pointer;
}
.date-selector select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* KPI Cards */
.kpi-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kpi-card.portfolio-card {
    background: #eee;
}
.kpi-card .cta-button {
    border: 0;
    margin-top: 10px;
}
.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.kpi-header h3 {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-period {
    color: #adb5bd;
    font-size: 12px;
}

.kpi-value {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.amount {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
}

.trend {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}
.trend.positive {
    color: #28a745;
    background-color: #d4edda;
}
.trend.negative {
    color: #dc3545;
    background-color: #f8d7da;
}

.kpi-subtitle {
    color: #6c757d;
    font-size: 12px;
}

/* Chart Container */
.chart-container {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.chart-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.chart-legend {
    display: flex;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.legend-color.mobile {
    background-color: #007bff;
}
.legend-color.desktop {
    background-color: #ccc;
}

.chart-wrapper {
    position: relative;
    height: 400px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-main {
        padding: 20px;
    }

    .kpi-container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        height: auto;
    }

    .sidebar-nav {
        display: flex;
        overflow-x: auto;
    }
    .sidebar-nav ul {
        display: flex;
        white-space: nowrap;
        min-width: 100%;
    }
    .sidebar-nav .nav-item {
        border-left: none;
        border-bottom: 3px solid transparent;
        min-width: 120px;
        justify-content: center;
    }
    .sidebar-nav .nav-item:hover, .sidebar-nav .nav-item.active {
        border-left: none;
        border-bottom-color: #222;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .dashboard-header h1 {
        font-size: 24px;
    }

    .chart-wrapper {
        height: 300px;
    }

    .amount {
        font-size: 28px;
    }

    .clients-filter {
        display: none;
    }

    .client-card {
        display: block !important;
    }

    .client-contact span {
        display: block !important;
        margin: 5px 0 !important;
    }

    .client-stats {
        display: block !important;
        margin-bottom: 15px !important;
        margin-top: 15px !important;
    }
    .client-stats .stat-item {
        text-align: left !important;
    }
}
@media (max-width: 480px) {
    .dashboard-main {
        padding: 15px;
    }

    .kpi-card {
        padding: 20px;
    }

    .chart-container {
        padding: 20px;
    }

    .chart-legend {
        flex-direction: column;
        gap: 10px;
    }

    .amount {
        font-size: 24px;
    }
}
/* Gestion des vues */
.dashboard-view {
    display: none;
}

.dashboard-view.active {
    display: block;
}

/* Styles minimaux pour la vue clients */
.clients-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

.clients-container {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.clients-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
}

.search-input, .filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.client-card {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-card:hover {
    background-color: #f9f9f9;
}

.client-info {
    flex: 1;
}

.client-name {
    font-weight: bold;
    margin: 0 0 5px 0;
}

.client-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 10px;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.client-contact {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}
.client-contact span {
    margin-right: 15px;
}

.client-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-weight: bold;
    font-size: 12px;
}

.stat-desc {
    font-size: 10px;
    color: #666;
}

.client-actions {
    display: flex;
    gap: 8px;
}

.clients-actions {
    display: flex;
    gap: 10px;
}

/* ===== HERO SECTION ===== */
.dashboard-hero {
    background: #FFF;
    color: #000;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #e9ecef;
    z-index: 10;
}

/* Logo Section */
.hero-left {
    display: flex;
    align-items: center;
}

.company-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: auto;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.8);
}

/* User Profile Section */
.hero-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    text-align: right;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 16px;
    color: rgba(0, 0, 0, 0.8);
}

.user-role {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.user-email {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.8);
}

.user-avatar {
    position: relative;
}

.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.avatar-img:hover {
    transform: scale(1.05);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
}

.status-indicator.online {
    background-color: #28a745;
}

.status-indicator.offline {
    background-color: #dc3545;
}

.status-indicator.away {
    background-color: #ffc107;
}

/* User Actions */
.user-actions {
    display: flex;
    gap: 10px;
}
.user-actions img {
    width: 20px;
}

.btn-action {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: white;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-action .icon {
    font-size: 16px;
    display: block;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .dashboard-hero {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .hero-right {
        width: 100%;
        justify-content: space-between;
    }

    .user-info {
        text-align: left;
    }

    .company-name {
        font-size: 20px;
    }

    .user-name {
        font-size: 16px;
    }

    .dashboard-sidebar {
        width: 100% !important;
    }

    .dashboard-content {
        display: block !important;
    }

    .dashboard-main {
        padding: 15px !important;
    }

    .sidebar-nav li {
        width: 50% !important;
    }

    .sidebar-nav .nav-item {
        border-bottom: 1px solid #e9ecef;
    }
    .sidebar-nav .nav-item.active {
        border-left: 1px solid #e9ecef !important;
        border-right: 1px solid #e9ecef !important;
    }

    .dashboard-header {
        margin-bottom: 15px !important;
    }

    .clients-stats {
        display: block !important;
    }
    .clients-stats .stat-card {
        margin-bottom: 15px !important;
    }
}
@media (max-width: 480px) {
    .dashboard-hero {
        padding: 12px 15px;
    }

    .company-logo {
        gap: 10px;
    }

    .logo-img {
        width: auto;
        height: 40px;
    }

    .avatar-img {
        width: 40px;
        height: 40px;
    }

    .user-actions {
        gap: 8px;
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .user-info {
        display: none;
    }

    .btn-action {
        padding: 8px;
    }

    .user-avatar {
        position: absolute;
        left: 15px;
        top: 15px;
    }
}
/* ===== LAYOUT ADJUSTMENTS ===== */
.dashboard-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #fff;
}

.dashboard-content {
    display: flex;
    flex: 1;
}

.dashboard-sidebar {
    width: 250px;
    background: #fff;
    border-right: 1px solid #e9ecef;
}

.dashboard-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* ===== EXISTING MINIMAL STYLES ===== */
/* Gestion des vues */
.dashboard-view {
    display: none;
}

.dashboard-view.active {
    display: block;
}

/* Styles minimaux pour la vue clients */
.clients-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

.clients-container {
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.clients-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
}

.search-input, .filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.client-card {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-card:hover {
    background-color: #f9f9f9;
}

.client-info {
    flex: 1;
}

.client-name {
    font-weight: bold;
    margin: 0 0 5px 0;
}

.client-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.client-contact {
    font-size: 12px;
    color: #666;
}

.client-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-weight: bold;
    font-size: 12px;
}

.stat-desc {
    font-size: 10px;
    color: #666;
}

.client-actions {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 12px;
}

.clients-actions {
    display: flex;
    gap: 10px;
}

/* ===== TRANSACTIONS TABLE ===== */
.transactions-container {
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-top: 30px;
    overflow: hidden;
}

.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}
.transactions-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.transactions-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #dee2e6;
    color: #6c757d;
}
.btn-outline:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.transactions-table-wrapper {
    overflow-x: auto;
    max-height: 500px;
    overflow-y: auto;
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.transactions-table thead {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}
.transactions-table thead th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.transactions-table tbody tr {
    transition: background-color 0.2s ease;
}
.transactions-table tbody tr:hover {
    background-color: #f8f9fa;
}
.transactions-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}
.transactions-table tbody td {
    padding: 12px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.transaction-id .id-text {
    font-family: "Monaco", "Menlo", monospace;
    font-size: 11px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    color: #495057;
}

.transaction-date {
    color: #6c757d;
    font-size: 13px;
    white-space: nowrap;
}

.transaction-client strong {
    color: #2c3e50;
    font-weight: 600;
}

.transaction-description {
    color: #495057;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transaction-amount {
    text-align: right;
}
.transaction-amount .amount-value {
    font-weight: 600;
    color: #28a745;
    font-size: 14px;
}

.transaction-payment .payment-method {
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    color: #495057;
    font-weight: 500;
}

.transaction-status .status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.transaction-status .status-badge.status-completed {
    background-color: #d4edda;
    color: #155724;
}
.transaction-status .status-badge.status-pending {
    background-color: #fff3cd;
    color: #856404;
}
.transaction-status .status-badge.status-failed {
    background-color: #f8d7da;
    color: #721c24;
}

.transaction-actions .action-buttons {
    display: flex;
    gap: 4px;
}
.transaction-actions .btn-action-small {
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: #6c757d;
}
.transaction-actions .btn-action-small:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
}
.transaction-actions .btn-action-small:active {
    transform: translateY(0);
}

/* Animation de chargement pour les transactions */
.transaction-row {
    animation: fadeInUp 0.3s ease-out;
}
.transaction-row:nth-child(1) {
    animation-delay: 0.05s;
}
.transaction-row:nth-child(2) {
    animation-delay: 0.1s;
}
.transaction-row:nth-child(3) {
    animation-delay: 0.15s;
}
.transaction-row:nth-child(4) {
    animation-delay: 0.2s;
}
.transaction-row:nth-child(5) {
    animation-delay: 0.25s;
}
.transaction-row:nth-child(6) {
    animation-delay: 0.3s;
}
.transaction-row:nth-child(7) {
    animation-delay: 0.35s;
}
.transaction-row:nth-child(8) {
    animation-delay: 0.4s;
}
.transaction-row:nth-child(9) {
    animation-delay: 0.45s;
}
.transaction-row:nth-child(10) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* États spéciaux pour les lignes selon le statut */
.transaction-row[data-status=failed] {
    background-color: rgba(248, 215, 218, 0.3);
}
.transaction-row[data-status=pending] {
    background-color: rgba(255, 243, 205, 0.3);
}

/* ===== SIDEBAR SUBMENU ===== */
.nav-submenu {
    margin-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}
.nav-submenu .btn-primary {
    text-align: center;
    display: block;
}

.btn-add-client {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-add-client:active {
    transform: translateY(0);
}
.btn-add-client .btn-icon {
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
}

/* ===== MODAL POPUP ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
.modal #cancel-client {
    width: 60%;
}
.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}
.modal-overlay.show {
    display: block;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1001;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
}
.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.modal-close:hover {
    background: #f8f9fa;
    color: #495057;
}

/* ===== FORMULAIRE CLIENT ===== */
.client-form {
    padding: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}
.form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
}
.form-group input {
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
}
.form-group input:focus {
    outline: none;
    border-color: #ccc;
}
.form-group .input-suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-weight: 500;
    margin-top: 14px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
    margin-top: 25px;
}

/* ===== BOUTONS FORMULAIRE ===== */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    color: #6c757d;
    border-color: #dee2e6;
}
.btn-outline:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* ===== RESPONSIVE MODAL ===== */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modal-header {
        padding: 15px 20px;
    }
    .modal-header h3 {
        font-size: 18px;
    }

    .client-form {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }
}
/* ===== SUCCESS MESSAGE ===== */
.success-content {
    padding: 25px;
    text-align: center;
}

.success-message {
    margin-bottom: 30px;
}
.success-message .success-icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.success-message h4 {
    color: #28a745;
    margin: 15px 0;
    font-size: 18px;
    font-weight: 600;
}
.success-message p {
    color: #6c757d;
    margin-bottom: 0;
}

.url-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}
.url-container label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    font-size: 14px;
}

.url-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}
.url-input-group .url-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: white;
    font-family: "Monaco", "Menlo", monospace;
    font-size: 13px;
    color: #495057;
}
.url-input-group .url-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
.url-input-group .btn-copy {
    padding: 12px 16px;
    background: #000;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.url-input-group .btn-copy:hover {
    background: #000;
    transform: translateY(-1px);
}
.url-input-group .btn-copy:active {
    transform: translateY(0);
}

.admin-contact-container {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.admin-message .admin-icon {
    font-size: 32px;
    margin-bottom: 15px;
}
.admin-message h4 {
    color: #856404;
    margin: 15px 0;
    font-size: 18px;
    font-weight: 600;
}
.admin-message p {
    color: #856404;
    margin: 10px 0;
    line-height: 1.5;
}
.admin-message p:last-child {
    margin-bottom: 0;
}
.admin-message p strong {
    font-weight: 700;
}

.client-summary {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: left;
}
.client-summary h5 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 600px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

.summary-item {
    padding: 8px 0;
    font-size: 14px;
}
.summary-item:last-child {
    border-bottom: none;
}
.summary-item strong {
    color: #495057;
    font-weight: 600;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}
@media (max-width: 600px) {
    .success-actions {
        flex-direction: column;
    }
}
.success-actions .btn-outline {
    width: 60%;
}

/* ===== ANIMATIONS POUR NOTIFICATIONS ===== */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
@media (min-width: 768px) {
    html {
        font-size: 1vw;
    }
}

body {
    font-size: 16px;
    font-family: "Inter", sans-serif;
    color: oklch(55.6% 0 0);
}

a {
    color: var(--color-black);
}

p {
    margin: 0;
}

.bg-login {
    width: 50%;
    height: 100vh;
    position: absolute;
    right: 0;
    top: 0;
}
.bg-login img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-page {
    width: 50%;
    height: 100vh;
    background: #fff;
    position: relative;
}
.login-page .logo-login {
    width: 50px;
    margin: 0px auto 40px;
    display: block;
}
.login-page .container {
    width: 430px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    color: #000;
}
.login-page .container .login-header {
    text-align: center;
}
.login-page .container .login-header .login-title {
    font-weight: 700;
    font-size: 30px;
}
.login-page .container .login-header .login-subtitle {
    color: #888;
    margin-top: 8px;
}
.login-page .container form {
    margin-top: 40px;
}
.login-page .container form label {
    margin-bottom: 3px;
    display: block;
    color: #888;
}
.login-page .container form input {
    display: block;
    width: 100%;
    webkit-appearance: none;
    appearance: none;
    border: 1px solid #ddd;
    background: transparent;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.02);
}
.login-page .container form .btn-primary {
    margin-top: 20px;
}

.btn-primary {
    width: 100%;
    background: #000;
    border-radius: 5px;
    padding: 10px;
    font-weight: 700;
    border: 0;
    color: #FFF;
}

@media (max-width: 768px) {
    .bg-login {
        width: 100%;
    }

    .login-page {
        width: 90%;
        margin: 5vw;
        height: calc(100vh - 10vw);
    }

    .login-page .container {
        width: 100%;
        padding: 30px;
    }
}
/*@import 'components/';*/
/*@import 'pages/';*/

/*# sourceMappingURL=app.css.map*/