@font-face {
    font-family: "Sour Gummy";
    src: url("../font/Sour_Gummy/SourGummy-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: "Sour Gummy", sans-serif;
}

body {
    min-height: 100vh;
    overflow-x: hidden !important;
    width: 100vw;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
}

.page-loader {
    align-items: center;
    background: rgba(23, 48, 66, 0.96);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    inset: 0;
    justify-content: center;
    opacity: 1;
    position: fixed;
    transition: opacity 180ms ease, visibility 180ms ease;
    visibility: visible;
    z-index: 9999;
}

.page-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.page-loader-spinner {
    animation: page-loader-spin 800ms linear infinite;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    border-top-color: #54d39b;
    height: 42px;
    width: 42px;
}

.page-loader span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

@keyframes page-loader-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader-spinner {
        animation-duration: 1600ms;
    }
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

.login-page {
    background: #f1f7f8;
    color: #173042;
}

.login-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 32px;
}

.login-panel {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(27, 61, 73, 0.14);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    max-width: 980px;
    overflow: hidden;
    width: 100%;
}

.login-intro {
    background: #2C9ADF;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 560px;
    overflow: hidden;
    padding: 48px;
    position: relative;
}

.login-intro-content,
.login-intro-footer {
    position: relative;
    z-index: 1;
}

.login-mark {
    align-items: center;
    background: #fff;
    border-radius: 15px;
    color: #2C9ADF;
    display: inline-flex;
    font-size: 22px;
    font-weight: 700;
    height: 50px;
    justify-content: center;
    margin-bottom: 56px;
    width: 50px;
}

.login-kicker,
.login-welcome {
    color: #2C9ADF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.login-kicker {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 12px;
}

.login-intro h1 {
    font-size: 48px;
    line-height: 1.08;
    max-width: 300px;
}

.login-intro-text {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    margin-top: 22px;
    max-width: 290px;
}

.login-intro-footer {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.login-orbit {
    border: 28px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    height: 260px;
    position: absolute;
    width: 260px;
}

.login-orbit-top {
    right: -90px;
    top: -90px;
}

.login-orbit-bottom {
    bottom: -120px;
    height: 300px;
    left: -100px;
    width: 300px;
}

.login-form-area {
    padding: 64px 72px;
}

.login-form-content {
    margin: 0 auto;
    max-width: 410px;
}

.login-heading {
    margin-bottom: 34px;
}

.login-heading>a {
    color: #173042;
    display: block;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    margin-top: 8px;
}

.login-heading>p:last-child {
    color: #74858b;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 12px;
}

.login-error {
    background: #fff2f1;
    border: 1px solid #f2c4c0;
    border-radius: 12px;
    color: #ad3c34;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 14px 16px;
}

.login-form {
    display: grid;
    gap: 22px;
}

.login-field label {
    color: #314951;
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 9px;
}

.login-field input[type="text"],
.login-field input[type="number"] {
    background: #f7faf9;
    border: 1px solid #dbe6e5;
    border-radius: 11px;
    color: #173042;
    font: inherit;
    padding: 14px 16px;
    width: 100%;
}

.login-field input::placeholder {
    color: #9aabad;
}

.login-field input:focus {
    background: #fff;
    border-color: #2C9ADF;
    box-shadow: 0 0 0 4px rgba(22, 139, 131, 0.12);
}

.login-form button {
    background: #2C9ADF;
    border: 0;
    border-radius: 11px;
    box-shadow: 0 10px 20px rgba(22, 139, 131, 0.2);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 15px 20px;
}

.login-form button:hover {
    background: #18547a;
    transform: translateY(-2px);
}

.recovery-panel {
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(27, 61, 73, 0.14);
    max-width: 520px;
    padding: 56px 64px;
    width: 100%;
}

.recovery-heading {
    margin-bottom: 32px;
}

.recovery-heading .login-mark {
    margin-bottom: 26px;
}

.recovery-heading h1 {
    color: #173042;
    font-size: 34px;
    line-height: 1.15;
    margin-top: 8px;
}

.recovery-heading p:last-child {
    color: #74858b;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 12px;
}

.login-success {
    background: #edf9f5;
    border: 1px solid #bce5d4;
    border-radius: 12px;
    color: #217052;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 14px 16px;
}

.recovery-link,
.recovery-back {
    color: #2C9ADF;
    display: block;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.recovery-link {
    margin-top: 12px;
    text-align: right;
}

.recovery-back {
    margin-top: 28px;
    text-align: center;
}

.dashboard-page {
    background: #f4f7f6;
    color: #173042;
}

.dashboard-header,
.dashboard-main {
    margin: 0 auto;
    max-width: 1400px;
    width: calc(100% - 64px);
}

.dashboard-header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    padding: 48px 0 30px;
}

.dashboard-header h1,
.dashboard-card h2 {
    color: #173042;
    line-height: 1.1;
}

.dashboard-header h1 {
    font-size: 42px;
    margin-top: 5px;
}

.dashboard-eyebrow {
    color: #168b83;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dashboard-subtitle {
    color: #718287;
    margin-top: 10px;
}

.sender-name-form {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(150px, 1fr) auto;
    margin: 18px 0 12px;
    max-width: 680px;
}

.sender-settings-form {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e1eae8;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(27, 61, 73, 0.05);
    display: grid;
    gap: 12px;
    margin: 18px 0 12px;
    max-width: 760px;
    padding: 16px;
}

.sender-settings-fields {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sender-settings-field {
    color: #314951;
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sender-settings-field input {
    background: #fff;
    border: 1px solid #dbe6e5;
    border-radius: 9px;
    color: #173042;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    min-height: 44px;
    min-width: 0;
    padding: 10px 12px;
    text-transform: none;
    width: 100%;
}

.sender-settings-field input::placeholder {
    color: #9aabad;
}

.sender-settings-field input:focus {
    background: #fff;
    border-color: #168b83;
    box-shadow: 0 0 0 3px rgba(22, 139, 131, 0.12);
}

.sender-settings-form button {
    background: #168b83;
    border: 0;
    border-radius: 9px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    justify-self: start;
    min-height: 42px;
    padding: 10px 18px;
}

.sender-settings-form button:hover {
    background: #11726b;
    transform: translateY(-1px);
}

.sender-name-fields {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sender-name-field {
    display: grid;
    gap: 6px;
}

.sender-name-field span {
    color: #314951;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sender-name-field input {
    background: #fff;
    border: 1px solid #dbe6e5;
    border-radius: 8px;
    color: #173042;
    flex: 1;
    font: inherit;
    min-height: 42px;
    min-width: 0;
    padding: 9px 11px;
}

.sender-name-field input:focus {
    border-color: #168b83;
    box-shadow: 0 0 0 3px rgba(22, 139, 131, 0.12);
    outline: 0;
}

.sender-name-form button {
    background: #168b83;
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    min-height: 42px;
    padding: 9px 14px;
    transition: background 160ms ease, transform 160ms ease;
}

.sender-name-form button:hover {
    background: #11726b;
    transform: translateY(-1px);
}

.dashboard-logout,
.primary-button,
.payment-form button {
    background: #2C9ADF;
    border: 0;
    border-radius: 9px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 12px 18px;
}

.dashboard-logout:hover,
.primary-button:hover,
.payment-form button:hover {
    background: #168b83;
    transform: translateY(-1px);
}

.dashboard-stats {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 22px;
}

.dashboard-stats article,
.dashboard-card {
    background: #fff;
    border: 1px solid #e1eae8;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(27, 61, 73, 0.06);
}

.dashboard-stats article {
    padding: 22px;
}

.dashboard-stats span {
    color: #718287;
    display: block;
    font-size: 13px;
}

.dashboard-stats strong {
    display: block;
    font-size: 26px;
    margin-top: 8px;
}

.dashboard-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: 1.35fr 0.65fr;
    margin-bottom: 22px;
}

.dashboard-card {
    padding: 28px;
}

.dashboard-card h2 {
    font-size: 25px;
    margin-top: 6px;
}

.dashboard-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

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

.dashboard-form label {
    color: #314951;
    display: grid;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
}

.dashboard-form input,
.dashboard-form select,
.contact-search,
.payment-form input,
.payment-form select,
textarea {
    background: #f7faf9;
    border: 1px solid #dbe6e5;
    border-radius: 8px;
    color: #173042;
    font: inherit;
    min-height: 42px;
    padding: 9px 11px;
}

.dashboard-form input:focus,
.dashboard-form select:focus,
.contact-search:focus,
.payment-form input:focus,
.payment-form select:focus,
textarea:focus {
    background: #fff;
    border-color: #168b83;
    box-shadow: 0 0 0 3px rgba(22, 139, 131, 0.12);
}

.dashboard-note-card {
    background: #2C9ADF;
    color: #d9e8e5;
}

.dashboard-note-card h2 {
    color: #fff;
    max-width: 260px;
}

.dashboard-note-card>p:not(.dashboard-eyebrow):not(.dashboard-note-small) {
    line-height: 1.7;
    margin-top: 20px;
}

.dashboard-note-small {
    color: #8eb8b1;
    font-size: 12px;
    margin-top: 34px;
}

.dashboard-alert {
    border-radius: 9px;
    margin-bottom: 18px;
    padding: 13px 16px;
}

.dashboard-alert-error {
    background: #fff2f1;
    border: 1px solid #f2c4c0;
    color: #ad3c34;
}

.dashboard-alert-success {
    background: #edf9f5;
    border: 1px solid #bce5d4;
    color: #217052;
}

.contacts-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
}

.contact-search {
    min-width: 250px;
}

.contacts-tools {
    align-items: center;
    display: flex;
    gap: 10px;
}

.export-button {
    background: #168b83;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    min-height: 42px;
    padding: 9px 14px;
}

.export-button:hover {
    background: #126b65;
    transform: translateY(-1px);
}

.table-wrap {
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    min-width: 1060px;
    width: 100%;
}

th {
    color: #718287;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

th,
td {
    border-bottom: 1px solid #edf1f0;
    padding: 15px 10px;
    vertical-align: middle;
}

td {
    color: #314951;
    font-size: 14px;
}

td strong,
td small {
    display: block;
}

td small {
    color: #87969a;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 3px;
}

.status {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    padding: 5px 9px;
    text-transform: capitalize;
}

.status-inscrit {
    background: #edf5ff;
    color: #28638f;
}

.status-en_cours {
    background: #fff5dc;
    color: #9b6a00;
}

.status-termine {
    background: #edf9f5;
    color: #217052;
}

.status-abandonne {
    background: #fff2f1;
    color: #ad3c34;
}

.payment-en_attente {
    color: #ad3c34;
}

.payment-partiel {
    color: #9b6a00;
}

.payment-paye {
    color: #217052;
}

.payment-form {
    align-items: center;
    display: flex;
    gap: 6px;
}

.payment-form input {
    width: 92px;
}

.payment-form select {
    width: 105px;
}

.payment-form button {
    border-radius: 7px;
    padding: 9px 13px;
}

.form-actions {
    align-items: center;
    display: flex;
    gap: 16px;
}

.cancel-link,
.edit-link {
    color: #168b83;
    font-size: 13px;
    font-weight: 700;
}

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

.delete-button {
    background: transparent;
    border: 0;
    color: #ad3c34;
    font-size: 24px;
    padding: 5px 10px;
}

.empty-state {
    color: #718287;
    padding: 34px;
    text-align: center;
}

.admin-users-card {
    overflow: hidden;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-users-table {
    border-collapse: collapse;
    min-width: 1500px;
    width: 100%;
}

.admin-users-table th,
.admin-users-table td {
    border-bottom: 1px solid #e1eae8;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.admin-users-table th {
    color: #718287;
    font-size: 11px;
    text-transform: uppercase;
}

.admin-users-table input,
.admin-users-table select {
    min-width: 130px;
}

.admin-logs-card {
    margin-top: 24px;
    overflow: hidden;
}

.admin-logs-table {
    border-collapse: collapse;
    min-width: 680px;
    width: 100%;
}

.admin-logs-table th,
.admin-logs-table td {
    border-bottom: 1px solid #e1eae8;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.admin-logs-table th {
    color: #718287;
    font-size: 11px;
    text-transform: uppercase;
}

.admin-logs-table td:last-child {
    white-space: pre-wrap;
}

.admin-user-form {
    display: contents;
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-save-button,
.admin-delete-button {
    border: 0;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 9px 12px;
}

.admin-save-button {
    background: #168b83;
}

.admin-delete-button {
    background: #ad3c34;
}

.admin-save-button:hover {
    background: #11726b;
}

.admin-delete-button:hover {
    background: #8d2f2a;
}

.admin-header-copy {
    max-width: 700px;
}

.information-page {
    background: #f4f7f6;
    color: #173042;
}

.information-header,
.information-main,
.information-footer {
    margin: 0 auto;
    max-width: 1120px;
    width: calc(100% - 64px);
}

.information-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
}

.information-brand,
.information-back {
    align-items: center;
    color: #173042;
    display: inline-flex;
    gap: 10px;
    text-decoration: none;
}

.information-brand {
    font-size: 18px;
    font-weight: 700;
}

.information-brand img {
    height: 30px;
    object-fit: contain;
    width: 30px;
}

.information-back {
    color: #168b83;
    font-size: 14px;
    font-weight: 700;
}

.information-back:hover {
    color: #173042;
}

.information-main {
    padding: 54px 0 40px;
}

.information-hero {
    background: #173042;
    border-radius: 14px;
    color: #fff;
    overflow: hidden;
    padding: 54px;
    position: relative;
}

.information-hero::after {
    border: 24px solid rgba(84, 211, 155, 0.18);
    border-radius: 50%;
    content: "";
    height: 240px;
    position: absolute;
    right: -70px;
    top: -110px;
    width: 240px;
}

.information-hero h1 {
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.02;
    margin: 18px 0;
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.information-hero > p:last-child {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.information-index {
    border-bottom: 1px solid #dce7e5;
    border-top: 1px solid #dce7e5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 28px 0 0;
}

.information-index a {
    align-items: center;
    color: #173042;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
    min-height: 78px;
    padding: 14px 16px;
    text-decoration: none;
}

.information-index a + a {
    border-left: 1px solid #dce7e5;
}

.information-index a:hover {
    background: #e8f2f0;
}

.information-index strong {
    color: #168b83;
    font-size: 12px;
}

.information-index span:nth-child(2) {
    font-size: 14px;
    font-weight: 700;
}

.information-section {
    border-bottom: 1px solid #dce7e5;
    display: grid;
    gap: 60px;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    padding: 70px 16px;
    scroll-margin-top: 20px;
}

.information-section-heading h2 {
    font-size: 32px;
    line-height: 1.1;
    margin-top: 12px;
}

.faq-list {
    border-top: 1px solid #cbdad7;
}

.faq-list details {
    border-bottom: 1px solid #cbdad7;
    padding: 20px 0;
}

.faq-list summary {
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    list-style-position: outside;
    padding-left: 8px;
}

.faq-list p,
.information-copy {
    color: #52676c;
    line-height: 1.8;
}

.faq-list p {
    padding: 14px 28px 0;
}

.information-copy p + p {
    margin-top: 18px;
}

.information-notice {
    background: #fff1d6;
    border-left: 4px solid #e0a63b;
    color: #79561e;
    padding: 14px 18px;
}

.information-footer {
    color: #718287;
    font-size: 13px;
    padding: 8px 0 34px;
}

@media (max-width: 720px) {
    .information-header,
    .information-main,
    .information-footer {
        width: calc(100% - 32px);
    }

    .information-header {
        align-items: flex-start;
        gap: 18px;
        padding: 20px 0;
    }

    .information-header,
    .information-section {
        display: block;
    }

    .information-back {
        font-size: 12px;
        text-align: right;
    }

    .information-main {
        padding-top: 24px;
    }

    .information-hero {
        padding: 30px 24px;
    }

    .information-index {
        grid-template-columns: 1fr 1fr;
    }

    .information-index a + a {
        border-left: 0;
    }

    .information-index a:nth-child(even) {
        border-left: 1px solid #dce7e5;
    }

    .information-section {
        padding: 48px 0;
    }

    .information-section-heading {
        margin-bottom: 30px;
    }
}

@media (max-width: 720px) {
    .login-shell {
        padding: 16px;
    }

    .login-panel {
        display: block;
    }

    .login-intro {
        min-height: auto;
        padding: 30px;
    }

    .login-mark {
        margin-bottom: 30px;
    }

    .login-intro h1 {
        font-size: 34px;
    }

    .login-intro-footer {
        margin-top: 42px;
    }

    .login-form-area {
        padding: 36px 24px 40px;
    }

    .login-heading>a {
        font-size: 29px;
    }

    .recovery-panel {
        padding: 36px 24px 40px;
    }

    .recovery-heading h1 {
        font-size: 29px;
    }

    .dashboard-header,
    .dashboard-main {
        width: calc(100% - 32px);
    }

    .dashboard-header {
        display: block;
        padding: 28px 0 22px;
    }

    .dashboard-header h1 {
        font-size: 32px;
    }

    .sender-name-form {
        max-width: none;
    }

    .sender-settings-form {
        margin-top: 16px;
        padding: 14px;
    }

    .sender-settings-fields {
        grid-template-columns: 1fr;
    }

    .sender-settings-form button {
        justify-self: stretch;
    }

    .sender-name-form {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .sender-name-fields {
        grid-template-columns: 1fr;
    }

    .dashboard-logout {
        margin-top: 18px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
    }

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

    .dashboard-card {
        padding: 20px;
    }

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

    .contacts-heading {
        align-items: stretch;
        display: grid;
        gap: 16px;
    }

    .contacts-tools {
        align-items: stretch;
        display: grid;
    }

    .contact-search {
        min-width: 0;
        width: 100%;
    }
}

.dashboard-page {
    background: #eef4f8;
    background-image: linear-gradient(rgba(44, 154, 223, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(44, 154, 223, 0.045) 1px, transparent 1px);
    background-size: 32px 32px;
}

.dashboard-header {
    align-items: flex-start;
    padding-bottom: 24px;
}

.dashboard-brand .dashboard-eyebrow {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    text-decoration: none;
}

.dashboard-brand .dashboard-eyebrow img {
    height: 22px;
    object-fit: contain;
    width: 22px;
}

.dashboard-brand h1 {
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.02em;
    margin-top: 22px;
}

.dashboard-subtitle {
    font-size: 16px;
}

.dashboard-logout {
    background: #173042;
    border-radius: 5px;
    padding: 11px 17px;
}

.dashboard-logout:hover {
    background: #2c9adf;
}

.dashboard-overview {
    align-items: center;
    background: #173042;
    border: 1px solid #254b60;
    border-radius: 10px;
    box-shadow: 0 16px 30px rgba(23, 48, 66, 0.16);
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    overflow: hidden;
    padding: 18px 22px;
    position: relative;
}

.dashboard-overview::after {
    background: #2c9adf;
    content: '';
    height: 100%;
    opacity: 0.75;
    position: absolute;
    right: 0;
    top: 0;
    transform: skewX(-25deg) translateX(25px);
    width: 90px;
}

.overview-copy {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.overview-copy > span:not(.status-dot) {
    color: #b9d7e5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.overview-copy strong {
    flex-basis: 100%;
    font-size: 15px;
    font-weight: 400;
    margin-left: 19px;
}

.status-dot {
    background: #f3bd4d;
    border-radius: 50%;
    height: 9px;
    width: 9px;
}

.status-dot.is-online {
    background: #54d39b;
    box-shadow: 0 0 0 4px rgba(84, 211, 155, 0.15);
}

.overview-action {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    position: relative;
    text-decoration: none;
    z-index: 1;
}

.overview-action span,
.quota-link span {
    color: #54d39b;
    font-size: 20px;
    margin-left: 7px;
}

.sender-settings-form {
    background: rgba(255, 255, 255, 0.86);
    border-color: #d4e2e8;
    border-radius: 10px;
    max-width: none;
}

.sender-settings-form button,
.primary-button {
    background: #2c9adf;
    border-radius: 5px;
}

.dashboard-stats {
    gap: 12px;
    grid-template-columns: repeat(4, 1fr);
    margin: 18px 0;
}

.dashboard-stats article {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(23, 48, 66, 0.09);
    min-height: 132px;
    padding: 19px;
    position: relative;
}

.stat-card::before {
    background: #2c9adf;
    content: '';
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.stat-card-yellow::before { background: #f3bd4d; }
.stat-card-green::before { background: #40bd88; }
.stat-card-dark::before { background: #173042; }

.dashboard-stats strong {
    color: #173042;
    font-size: 34px;
    letter-spacing: -0.03em;
}

.dashboard-stats small {
    color: #82939c;
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.dashboard-stats em {
    color: #9aaab0;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    margin-left: 3px;
}

.dashboard-analytics {
    display: grid;
    gap: 18px;
    grid-template-columns: 1.45fr 0.55fr;
    margin-bottom: 18px;
}

.dashboard-card {
    border-color: #d7e3e8;
    border-radius: 9px;
    box-shadow: 0 10px 24px rgba(23, 48, 66, 0.07);
}

.activity-card,
.quota-card {
    min-height: 280px;
}

.dashboard-card-heading {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.period-label {
    color: #82939c;
    font-size: 12px;
    padding-top: 4px;
}

.activity-chart {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(7, 1fr);
    height: 165px;
    margin-top: 24px;
}

.chart-column {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: end;
}

.chart-value {
    color: #2c9adf;
    font-size: 11px;
    font-weight: 700;
    min-height: 16px;
}

.chart-track {
    align-items: end;
    background: #edf3f5;
    border-radius: 4px;
    display: flex;
    height: 115px;
    margin: 5px 0 8px;
    overflow: hidden;
    width: 100%;
}

.chart-track span {
    background: linear-gradient(180deg, #2c9adf, #54d39b);
    border-radius: 4px 4px 0 0;
    display: block;
    min-height: 3px;
    width: 100%;
}

.chart-column small {
    color: #82939c;
    font-size: 11px;
    text-transform: uppercase;
}

.quota-card {
    background: #173042;
    color: #fff;
}

.quota-card h2 { color: #fff; }
.quota-card .dashboard-eyebrow { color: #54d39b; }

.quota-ring {
    align-items: center;
    border: 5px solid #405b6a;
    border-right-color: #f3bd4d;
    border-radius: 50%;
    display: flex;
    height: 67px;
    justify-content: center;
    width: 67px;
}

.quota-ring.has-credit { border-right-color: #54d39b; border-top-color: #2c9adf; }
.quota-ring span { font-size: 16px; font-weight: 700; }
.quota-message { color: #b9cbd3; line-height: 1.6; margin-top: 30px; }
.quota-link { color: #fff; display: inline-flex; font-size: 13px; font-weight: 700; margin-top: 26px; text-decoration: none; }

@media (max-width: 900px) {
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .dashboard-analytics { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .dashboard-overview { align-items: flex-start; flex-direction: column; gap: 16px; }
    .overview-action { align-self: flex-end; }
    .dashboard-stats { grid-template-columns: 1fr 1fr; }
    .dashboard-stats article { min-height: 120px; padding: 15px; }
    .dashboard-stats strong { font-size: 28px; }
    .activity-card, .quota-card { min-height: 250px; }
}

/* Login refresh */
.login-page {
    background-color: #eaf4f6;
    background-image: linear-gradient(135deg, rgba(44, 154, 223, 0.12), transparent 42%), radial-gradient(circle at 85% 18%, rgba(84, 211, 155, 0.2), transparent 28%);
}

.login-shell {
    padding: 28px;
}

.login-panel {
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(23, 48, 66, 0.17);
    grid-template-columns: minmax(270px, 0.8fr) minmax(380px, 1.2fr);
    max-width: 940px;
}

.login-intro {
    background: #173042;
    min-height: 540px;
    padding: 42px;
}

.login-intro::after {
    background: linear-gradient(135deg, transparent 35%, rgba(44, 154, 223, 0.7) 35%, rgba(84, 211, 155, 0.65) 65%, transparent 65%);
    content: '';
    height: 220px;
    opacity: 0.45;
    position: absolute;
    right: -70px;
    top: 145px;
    transform: rotate(-16deg);
    width: 360px;
}

.login-mark {
    border-radius: 12px;
    margin-bottom: 70px;
}

.login-intro h1 {
    font-size: 46px;
    letter-spacing: 0;
}

.login-intro-text {
    font-size: 16px;
}

.login-orbit {
    border-color: rgba(84, 211, 155, 0.14);
}

.login-form-area {
    background: rgba(255, 255, 255, 0.94);
    padding: 62px 68px;
}

.login-heading {
    margin-bottom: 38px;
}

.login-heading > a {
    font-size: 32px;
    letter-spacing: 0;
}

.login-form {
    gap: 26px;
}

.login-field-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.login-field-heading label {
    margin-bottom: 0;
}

.login-field-heading span {
    background: #e9f6f3;
    border-radius: 999px;
    color: #217052;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 9px;
}

.login-field input[type="text"] {
    background: #f4f9fb;
    border: 2px solid #d8e8eb;
    border-radius: 13px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.28em;
    min-height: 64px;
    padding: 12px 18px 12px 24px;
    text-align: center;
}

.login-field input[type="text"]::placeholder {
    color: #a9bdc2;
    font-size: 17px;
    letter-spacing: 0.08em;
}

.login-field input[type="text"]:focus {
    border-color: #2c9adf;
    box-shadow: 0 0 0 5px rgba(44, 154, 223, 0.12);
}

.login-field-hint {
    color: #82939c;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 10px;
}

.login-form button {
    align-items: center;
    background: #2c9adf;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    min-height: 52px;
    padding: 12px 16px 12px 20px;
}

.login-form button strong {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 7px;
    display: inline-flex;
    font-size: 21px;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.login-form-note {
    color: #82939c;
    font-size: 12px;
    margin-top: 30px;
    text-align: center;
}

.login-form-note span {
    color: #40bd88;
    font-size: 9px;
    margin-right: 6px;
    vertical-align: 1px;
}

.login-info-link {
    color: #168b83;
    display: block;
    font-size: 13px;
    margin-top: 18px;
    text-align: center;
    text-decoration: none;
}

.login-info-link:hover {
    color: #173042;
    text-decoration: underline;
}

@media (max-width: 720px) {
    .login-shell {
        padding: 14px;
    }

    .login-panel {
        grid-template-columns: 1fr;
    }

    .login-intro {
        min-height: 310px;
        padding: 28px;
    }

    .login-mark {
        margin-bottom: 38px;
    }

    .login-intro h1 {
        font-size: 36px;
    }

    .login-intro-footer {
        margin-top: 32px;
    }

    .login-form-area {
        padding: 36px 24px 34px;
    }

    .login-heading > a {
        font-size: 29px;
    }

    .login-field input[type="text"] {
        font-size: 22px;
        letter-spacing: 0.2em;
        padding-left: 18px;
    }
}