@font-face {
    font-family: "Circular Std";
    src: url("../fonts/Circular/CircularStd-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Circular Std";
    src: url("../fonts/Circular/CircularStd-BookItalic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Circular Std";
    src: url("../fonts/Circular/CircularStd-Book.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Circular Std";
    src: url("../fonts/Circular/CircularStd-MediumItalic.ttf")
        format("truetype");
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: "Circular Std";
    src: url("../fonts/Circular/CircularStd-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Circular Std";
    src: url("../fonts/Circular/CircularStd-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "Circular Std";
    src: url("../fonts/Circular/CircularStd-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: "Circular Std";
    src: url("../fonts/Circular/CircularStd-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: "Circular Std";
    src: url("../fonts/Circular/CircularStd-BlackItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic;
}

body {
    font-family: "Circular Std", sans-serif;
    background: #f4f7fb;
    min-height: 100vh;
}

/* Login Page Styles */

.company-login-page {
    position: relative;
    min-height: 100vh;
    padding: 24px 32px 40px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% -8%, rgba(253, 184, 10, 0.22), transparent 45%),
        radial-gradient(circle at -8% 105%, rgba(91, 33, 255, 0.22), transparent 45%),
        linear-gradient(160deg, #0a2148 0%, #071936 55%, #020b1d 100%);
}

.company-login-page > div {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 64px);
}

.company-login-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.company-login-logo {
    height: 32px;
    width: auto;
    display: block;
}

.back-to-site {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: all 0.2s ease;
}

.back-to-site:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fdb80a;
    transform: translateY(-1px);
}

.back-to-site i {
    font-size: 12px;
}

.company-login-shell {
    flex: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 32px;
    padding: 56px 0;
}

.company-login-visual {
    position: relative;
    color: #fff;
    padding-right: 12px;
}

.company-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(253, 184, 10, 0.14);
    border: 1px solid rgba(253, 184, 10, 0.35);
    color: #fdb80a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 26px;
}

.visual-title {
    font-size: 40px;
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 18px;
    max-width: 480px;
}

.visual-title span {
    color: #fdb80a;
}

.visual-text {
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 28px;
}

.visual-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
    padding: 0;
    list-style: none;
}

.visual-features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.visual-features i {
    color: #fdb80a;
    font-size: 13px;
}

.visual-card-wrap {
    max-width: 360px;
}

.visual-card-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
    animation: proCardFloat 5s ease-in-out infinite;
}

@keyframes proCardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.company-login-form-side {
    position: relative;
    background: #fff;
    border-radius: 26px;
    padding: 48px 44px;
    box-shadow: 0 40px 80px rgba(2, 8, 25, 0.45);
    animation: proLoginRise 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes proLoginRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form-wrap {
    width: 100%;
}

.login-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0b1f49, #16305f);
    color: #fdb80a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 22px;
}

.login-title {
    font-size: 28px;
    font-weight: 800;
    color: #0b1c3f;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.company-login-form .form-group {
    margin-bottom: 20px;
}

.company-login-form label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 8px;
}

.company-login-form .input-group {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    height: 48px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.company-login-form .input-group:focus-within {
    border-color: #fdb80a;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(253, 184, 10, 0.12);
}

.company-login-form .input-group-text {
    border: 0;
    background: transparent;
    color: #94a3b8;
    width: 30px;
    padding-left: 14px;
    padding-right: 0;
    justify-content: center;
    font-size: 16px;
}

.company-login-form .form-control {
    border: 0;
    background: transparent;
    height: 48px;
    box-shadow: none;
    font-weight: 500;
    color: #0f172a;
}

.company-login-form .form-control::placeholder {
    color: #94a3b8;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 26px;
    gap: 16px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.remember-me input {
    width: 16px;
    height: 16px;
    accent-color: #0b1c3f;
}

.forgot-link {
    color: #0b1c3f;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #fdb80a;
    padding-bottom: 1px;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #fdb80a;
}

.login-submit {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: #fdb80a !important;
    border-color: #fdb80a !important;
    color: #0b1c3f !important;
    font-weight: 800;
    font-size: 15px;
    transition: all 0.2s ease;
}

.login-submit:hover {
    background: #0b1c3f !important;
    border-color: #0b1c3f !important;
    color: #fff !important;
}

.login-bottom {
    text-align: center;
    margin-top: 28px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.login-bottom a {
    display: inline-block;
    margin-top: 4px;
    color: #0b1c3f;
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid #fdb80a;
}

.login-bottom a:hover {
    color: #fdb80a;
    border-color: #0b1c3f;
}

.company-login-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    margin-top: auto;
    padding-top: 24px;
}

.alert {
    border-radius: 16px;
    margin-bottom: 22px;
}

@media (max-width: 992px) {
    .company-login-shell {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        padding: 32px 0;
        text-align: center;
    }

    .company-login-visual {
        display: none;
    }

    .company-login-form-side {
        width: 100%;
        max-width: 460px;
        padding: 40px 32px;
    }
}

@media (max-width: 576px) {
    .company-login-page {
        padding: 18px 16px 24px;
    }

    .visual-title {
        font-size: 30px;
    }

    .visual-text {
        font-size: 15px;
    }

    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .company-login-form-side {
        padding: 32px 22px;
        border-radius: 20px;
    }
}


/* Profile Page Styles */

.profile-cover-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 2;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
}

.profile-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-detail-page .card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.profile-detail-page .card-title i {
    color: #001c64;
}

/* HERO */
.profile-hero-card {
    margin-bottom: 18px;
}

.profile-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
}

.profile-identity {
    display: flex;
    align-items: center;
    gap: 26px;
}

.profile-avatar-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e6edef;
}

.avatar-edit-btn {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.profile-title-line {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-title-line h3 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.profile-job {
    margin-bottom: 0;
    color: #475569;
    font-size: 18px;
}

.profile-card-summary {
    border-left: 1px solid #edf0f7;
    padding-left: 28px;
}

.summary-label {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.linked-card {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}

/* BADGES */
.status-badge,
.badge-soft {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active,
.badge-soft.success {
    background: #dcfce7;
    color: #16a34a;
}

.status-badge.pending {
    background: #ffedd5;
    color: #ea580c;
}

.status-badge.muted {
    background: #f1f5f9;
    color: #64748b;
}

/* TABS */
.profile-tabs {
    background: #fff;
    border: 1px solid #edf0f7;
    border-radius: 16px;
    padding: 0 20px;
    display: flex;
    gap: 26px;
    margin-bottom: 18px;
    overflow-x: auto;
}

.profile-tabs a {
    padding: 15px 0;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
}

.profile-tabs a.active {
    color: #5b21ff;
    border-bottom-color: #5b21ff;
}

/* INFOS */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid #edf0f7;
    border-radius: 14px;
    overflow: hidden;
}

.info-item {
    padding: 16px;
    border-right: 1px solid #edf0f7;
    border-bottom: 1px solid #edf0f7;
}

.info-item:nth-child(3n) {
    border-right: 0;
}

.info-item:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.item-content {
    width: calc(100% - 42px - 30px - 80px);
}

.info-item span,
.bio-box span,
.item-content span,
.quick-stat span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 2px;
    line-height: 1.4;
    font-weight: 400;
}

.info-item strong,
.item-content strong,
.quick-stat strong {
    color: #111827;
    font-size: 16px;
    font-weight: 500;
}

.item-content strong {
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bio-box {
    padding: 16px;
    border: 1px solid #edf0f7;
    border-radius: 14px;
    background: #fbfcff;
}

.bio-box p {
    margin: 0;
    color: #334155;
    line-height: 1.6;
    font-size: 15px;
}

/* LISTES */
.profile-list {
    display: flex;
    flex-direction: column;
}

.profile-list-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #edf0f7;
}

.profile-list-item:last-child {
    border-bottom: 0;
}

.item-actions {
    display: flex;
    gap: 8px;
    width: 80px;
}

.item-actions button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border: 1px solid #e6edef;
    border-radius: 6px;
    font-size: 15px;
    background: transparent;
    color: #334155;
}

.item-actions button {
    background: #f1f5f9;
}

.item-actions button:hover {
    background: #e2e8f0;
    color: #111827 !important;
}

.item-actions button.danger {
    color: #ef4444;
}

/* STATS */
.quick-stat {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f7;
}

.quick-stat:last-child {
    border-bottom: 0;
}

.quick-stat strong {
    font-size: 22px;
}

/* COMPLETION */
.completion-box {
    display: flex;
    align-items: center;
    gap: 18px;
}

.completion-circle {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fff 58%, transparent 59%),
        conic-gradient(#5b21ff 0 85%, #ede9fe 85% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5b21ff;
    font-size: 20px;
    font-weight: 800;
    flex: 0 0 82px;
}

.completion-content strong {
    display: block;
    color: #111827;
    margin-bottom: 8px;
}

.completion-content ul {
    margin: 0;
    padding-left: 18px;
    color: #64748b;
    font-size: 13px;
}

/* ACTIONS */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-actions .action-button {
    width: 100%;
    border: 1px solid #edf0f7;
    background: #fff;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #334155;
    font-weight: 600;
}

.quick-actions .action-button span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-actions .action-button:hover {
    background: #f8fafc;
}

.quick-actions .action-button.danger {
    color: #dc2626;
}

.quick-actions .action-button.danger:hover {
    background: #fef2f2;
    color: #b91c1c !important;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .profile-hero-layout {
        grid-template-columns: 1fr;
    }
    .profile-card-summary {
        border-left: 0;
        border-top: 1px solid #edf0f7;
        padding-left: 0;
        padding-top: 22px;
    }
}

@media (max-width: 768px) {
    .profile-identity {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-avatar-wrap,
    .profile-avatar {
        width: 110px;
        height: 110px;
        flex-basis: 110px;
    }

    .profile-title-line h3 {
        font-size: 22px;
    }

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

    .info-item,
    .info-item:nth-child(3n),
    .info-item:nth-last-child(-n + 3) {
        border-right: 0;
        border-bottom: 1px solid #edf0f7;
    }

    .info-item:last-child {
        border-bottom: 0;
    }

    .profile-list-item .badge-soft,
    .profile-list-item .item-actions {
        grid-column: 2;
    }
}

@media (max-width: 575px) {
    .profile-list-item {
        grid-template-columns: 42px 1fr;
    }
}

.stats-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-card .card-body {
    display: flex;
    gap: 8px;
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card-icon.purple {
    background: #f0e9ff;
    color: #5b21ff;
}
.stat-card-icon.green {
    background: #eafbf0;
    color: #16a34a;
}
.stat-card-icon.orange {
    background: #fff3e8;
    color: #f97316;
}
.stat-card-icon.blue {
    background: #eaf3ff;
    color: #2563eb;
}

.stat-label {
    display: block;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-size: 28px;
    color: #111827;
    line-height: 1;
}

.stat-growth {
    color: #16a34a;
    font-size: 13px;
    font-weight: 700;
}


.donut-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.donut-box {
    width: 100%;
    max-height: 1800px;
    max-width: 180px;
    margin: 0 auto;
}

.chart-legend-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chart-legend-list .legend-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #475569;
    font-weight: 700;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    margin-right: 8px;
}

.legend-dot.purple {
    background: #5b21ff;
}
.legend-dot.blue {
    background: #3b82f6;
}
.legend-dot.green {
    background: #22c55e;
}

.source-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.source-head {
    display: flex;
    justify-content: space-between;
    color: #334155;
    font-weight: 700;
    margin-bottom: 8px;
}

.source-bar {
    height: 10px;
    border-radius: 999px;
    background: #eef2f7;
    overflow: hidden;
}

.source-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #5b21ff;
}

.source-bar.blue span {
    background: #3b82f6;
}
.source-bar.green span {
    background: #22c55e;
}
.source-bar.orange span {
    background: #f97316;
}

.top-link-list {
    display: flex;
    flex-direction: column;
}

.top-link-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f7;
}

.top-link-item .logo {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-link-item:last-child {
    border-bottom: 0;
}

.top-link-item strong {
    display: block;
    color: #111827;
}

.top-link-item span {
    display: block;
    color: #64748b;
    font-size: 13px;
    word-break: break-all;
}

.top-link-item b {
    color: #111827;
    white-space: nowrap;
}

.stat-activity-table th {
    color: #64748b;
    font-size: 13px;
}

.stat-activity-table td {
    vertical-align: middle;
    color: #334155;
}

@media (max-width: 768px) {
    .stats-toolbar {
        flex-wrap: wrap;
    }
}

/* Company management */


.company-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.company-stat-item {
    border: 1px solid #edf0f7;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-stat-item strong {
    display: block;
    color: #111827;
    font-size: 26px;
    line-height: 1;
    margin-bottom: 6px;
}

.company-stat-item span {
    font-weight: 600;
}

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

@media (max-width: 576px) {
    .company-logo-box {
        grid-template-columns: 1fr;
        padding-left: 0;
    }

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

    .company-contact-card {
        align-items: flex-start;
    }
}

.company-completion-card {
    border-radius: 16px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #edf0f7;
}

.completion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.completion-header strong {
    display: block;
    color: #111827;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 4px;
}

.completion-header span {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.completion-percent {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.company-progress {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.company-progress-bar {
    height: 100%;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.company-completion-card.danger .completion-percent {
    color: #ef4444;
}

.company-completion-card.danger .company-progress-bar {
    background: #ef4444;
}

.company-completion-card.warning .completion-percent {
    color: #f59e0b;
}

.company-completion-card.warning .company-progress-bar {
    background: #f59e0b;
}

.company-completion-card.success .completion-percent {
    color: #16a34a;
}

.company-completion-card.success .company-progress-bar {
    background: #16a34a;
}

.completion-missing {
    margin-top: 16px;
}

.completion-missing > span {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.missing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.missing-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

.completion-done {
    margin: 14px 0 0;
    color: #16a34a;
    font-size: 13px;
    font-weight: 700;
}

.completion-info {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 14px;

    margin-bottom: 18px;

    border-radius: 14px;

    background: #f8fafc;

    border: 1px solid #edf2f7;
}

.completion-info .info-icon {
    width: 42px;

    height: 42px;

    border-radius: 12px;

    background: #eef2ff;

    color: #4f46e5;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;
}

.completion-info strong {
    display: block;

    margin-bottom: 4px;

    font-size: 14px;

    color: #111827;
}

.completion-info p {
    margin: 0;

    font-size: 13px;

    line-height: 1.6;

    color: #64748b;
}

/* Dashboard page */

.dashboard-pro-page .stat-card .card-body {
    display: flex;
    align-items: center;
    gap: 18px;
}

.chart-box {
    height: 420px;
}

.legend-dot.muted {
    background: #94a3b8;
}

.dashboard-table {
    margin-bottom: 0;
}

.dashboard-table th {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-table td {
    color: #111827;
    vertical-align: middle;
}

.top-card-list {
    display: flex;
    flex-direction: column;
}

.top-card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f7;
}

.top-card-item:last-child {
    border-bottom: 0;
}

.top-card-item span {
    color: #111827;
    font-weight: 700;
}

.top-card-item strong {
    color: #5b21ff;
    font-weight: 800;
}

/* Contact details */

.contact-infos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
}

.contact-infos .names {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.contact-infos .names .letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.6);
    color: var(--secondary-color, #0b1f52);
    font-size: 32px;
    font-weight: 600;
    flex-shrink: 0;
}

.contact-infos .names .content {
    width: calc(100% - 72px);
}

.contact-infos .names .content .name {
    display: block;
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color, #1f2937);
    line-height: 1.2;
    text-align: left;
}

.contact-infos .names .content .company {
    margin-bottom: 0;
    font-size: 16px;
    color: var(--text-color, #6b7280);
    opacity: 0.8;
    line-height: 1.2;
    text-align: left;
}

.contact-infos .contact-actions {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-infos .contact-actions .btn {
    width: calc(50% - 6px);
    height: 44px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    border: 1px solid #e7e7e7 !important;
    background: #f5f5f5 !important;
    font-size: 14px;
    font-weight: 600;
}

.contact-infos .contact-actions .btn i {
    margin-right: 8px;
    font-size: 18px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 12px;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
}

.contact-details .details {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.contact-details .details:first-child {
    padding-bottom: 12px;
    border-bottom: 1px solid #e7e7e7;
}

.contact-details .details .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.6);
    color: var(--secondary-color, #0b1f52);
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.contact-details .details .icon i {
    font-size: 18px;
}

.contact-details .details .info {
    display: flex;
    flex-direction: column;
}

.contact-details .details .info .label {
    font-size: 14px;
    color: var(--text-color, #6b7280);
    opacity: 0.8;
}

.contact-details .details .info .value {
    font-size: 16px;
    color: var(--title-color, #1f2937);
    word-break: break-word;
}

.contact-message {
    margin-bottom: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
}

/* Subscription */

.subscription-month-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.month-subtitle {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.month-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.month-actions strong {
    color: #111827;
    font-size: 15px;
    font-weight: 800;
}

.subscription-table th {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.subscription-table td {
    vertical-align: middle;
    color: #111827;
    font-size: 13px;
}

.card-ref {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-ref img {
    width: 64px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    background: #f1f5f9;
}

.card-ref strong {
    display: block;
    color: #111827;
    font-weight: 800;
}

.card-ref span {
    display: block;
    color: #64748b;
    font-size: 12px;
}

.days-progress {
    min-width: 110px;
}

.days-progress span {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
    color: #334155;
    font-weight: 700;
}

.days-progress div {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.days-progress div span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #16a34a;
    margin: 0;
}

.status-badge.warning {
    background: #fff7ed;
    color: #f97316;
}

.status-badge.muted {
    background: #f1f5f9;
    color: #64748b;
}

.status-badge.red {
    background: #fee2e2;
    color: #dc2626;
}

.table-footer-link {
    padding: 16px;
    text-align: center;
    border-top: 1px solid #edf0f7;
}

.table-footer-link a {
    color: #5b21ff;
    font-weight: 800;
    text-decoration: none;
}

.subscription-note {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: #f5f3ff;
    color: #4c1d95;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 18px;
}

.subscription-note i {
    margin-top: 3px;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.summary-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #475569;
    font-weight: 700;
}

.legend-dot.red {
    background: #ef4444;
}

/* Renewal */

.renewal-check-all {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
}

.renewal-table th {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.renewal-days {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-top: 2px;
}

.renewal-days {
    color: #dc2626;
    font-weight: 700;
}

.renewal-summary-card {
    position: sticky;
    top: 90px;
    z-index: 3 !important;
}

.renewal-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.renewal-summary-item strong {
    display: block;
    color: #111827;
    font-weight: 800;
}

.renewal-summary-item span,
.renewal-summary-item small {
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.renewal-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #334155;
    font-weight: 700;
}

.renewal-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid #edf0f7;
}

.renewal-total-row span {
    color: #111827;
    font-size: 16px;
    font-weight: 800;
}

.renewal-total-row strong {
    color: #5b21ff;
    font-size: 20px;
    font-weight: 900;
}

.renewal-payment-note {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding: 14px;
    border-radius: 14px;
    background: #f5f3ff;
    color: #4c1d95;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.renewal-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.renewal-empty {
    padding: 16px;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    text-align: center;
}

.renewal-card-checkbox,
#selectAllRenewalCards {
    width: 18px;
    height: 18px;
    accent-color: #5b21ff;
}

/* Buy cards */

.buy-cards-page .buy-card-box,
.buy-cards-page .summary-card {
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(15, 35, 70, 0.04);
    overflow: hidden;
    background: #fff;
}

.buy-cards-page .card-body {
    padding: 26px;
}

.buy-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.buy-step > span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #081d44;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.buy-step h3 {
    font-size: 20px;
    font-weight: 800;
    color: #081d44;
    margin: 0 0 4px;
}

.buy-step p {
    margin: 0;
    color: #667085;
}

.variant-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.variant-item {
    position: relative;
    display: grid;
    grid-template-columns: 28px 160px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: 0.2s ease;
}

.variant-item:hover,
.variant-item.active {
    border-color: #081d44;
    box-shadow: 0 10px 26px rgba(8, 29, 68, 0.08);
}

.variant-item input {
    display: none;
}

.variant-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #c7d0df;
    position: relative;
}

.variant-item.active .variant-radio {
    border-color: #081d44;
}

.variant-item.active .variant-radio::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #081d44;
    top: 4px;
    left: 4px;
}

.variant-image {
    width: 150px;
    height: 120px;
    border-radius: 9px;
    overflow: hidden;
    background: #f4f6f9;
}

.variant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.variant-content strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #081d44;
    margin-bottom: 6px;
}

.variant-content small {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #667085;
    max-width: 360px;
    margin-bottom: 8px;
}

.variant-price {
    font-size: 17px;
    font-weight: 900;
    color: #081d44;
    white-space: nowrap;
}

.quantity-control {
    height: 70px;
    border: 1px solid #dbe2ec;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    margin: 14px auto 18px;
    background: #fff;
}

.quantity-control input {
    border: none;
    outline: none;
    width: 120px;
    text-align: center;
    font-size: 26px;
    font-weight: 900;
    color: #081d44;
    background: transparent;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #dbe2ec;
    background: #fff;
    color: #081d44;
    font-size: 24px;
    font-weight: 800;
    cursor: pointer;
}

.qty-btn:hover {
    background: #f5f7fb;
}

.quick-quantities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.quick-quantities button {
    border: 1px solid #dbe2ec;
    background: #fff;
    color: #344054;
    border-radius: 10px;
    padding: 6px 12px;
    font-weight: 600;
    cursor: pointer;
}

.quick-quantities button.active {
    background: #081d44;
    color: #fff;
    border-color: #081d44;
}

.buy-info-box {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid #dbe2ec;
    border-radius: 14px;
    background: #f8fafd;
    color: #081d44;
}

.buy-info-box i {
    font-size: 22px;
    margin-top: 3px;
}

.buy-info-box strong {
    display: block;
    margin-bottom: 5px;
}

.buy-info-box p {
    margin: 0;
    color: #667085;
}

.summary-card {
    position: sticky;
    top: 90px;
}

.summary-card .card-header {
    padding: 22px 26px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}

.summary-card .card-title {
    font-size: 20px;
    font-weight: 800;
    color: #081d44;
    margin: 0;
}

.summary-variant {
    display: flex;
    align-items: center;
    gap: 16px;
}

.summary-variant img {
    width: 120px;
    height: 76px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f6;
}

.summary-variant span {
    display: block;
    color: #667085;
    font-size: 14px;
    margin-bottom: 5px;
}

.summary-variant strong {
    color: #081d44;
    font-size: 17px;
    font-weight: 900;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
    color: #111827;
}

.summary-row strong {
    color: #081d44;
    font-size: 17px;
}

.summary-card hr {
    border: none;
    border-top: 1px solid #e5eaf2;
    margin: 26px 0;
}

.summary-total span {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #081d44;
    margin-bottom: 18px;
}

.summary-total strong {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: #061a40;
    margin-bottom: 26px;
}

.secure-box {
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid #dbe2ec;
    border-radius: 12px;
    background: #f9fbff;
    color: #31405f;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.btn-pay {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: #081d44;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
}

.btn-pay:hover {
    background: #0b2658;
}

@media (max-width: 768px) {
    .variant-item {
        grid-template-columns: 28px 110px 1fr;
    }

    .variant-price {
        grid-column: 3;
        margin-top: -8px;
    }

    .variant-image {
        width: 110px;
        height: 70px;
    }

    .summary-card {
        position: static;
    }
}

/* Assign card modal */

.assign-card-modal {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(8, 29, 68, 0.18);
}

.assign-card-modal .modal-header {
    padding: 22px 26px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}

.assign-card-modal .modal-title {
    font-size: 20px;
    font-weight: 800;
    color: #081d44;
    margin: 0;
}

.assign-card-modal .modal-subtitle {
    margin: 5px 0 0;
    color: #667085;
    font-size: 14px;
}

.assign-card-modal .modal-subtitle strong {
    color: #081d44;
}

.assign-card-modal .close-modal {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e1e7f0;
    background: #fff;
    color: #081d44;
    display: flex;
    align-items: center;
    justify-content: center;
}

.assign-card-modal .modal-body {
    padding: 26px;
}

.assign-info-box {
    display: flex;
    gap: 12px;
    padding: 15px;
    border: 1px solid #dbe2ec;
    border-radius: 12px;
    background: #f8fafd;
    color: #31405f;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.assign-info-box i {
    font-size: 20px;
    color: #081d44;
    margin-top: 2px;
}

.assign-info-box.danger {
    border-color: #fecaca;
    background: #fef2f2;
    color: #7f1d1d;
}

.assign-info-box.danger i {
    color: #dc2626;
}

.assign-card-modal .form-label {
    font-weight: 700;
    color: #344054;
    margin-bottom: 7px;
}

.assign-card-modal .modal-footer {
    padding: 20px 26px;
    border-top: 1px solid #edf0f5;
    background: #fff;
}

.assign-card-modal .btn-primary {
    background: #081d44;
    border-color: #081d44;
    border-radius: 10px;
    font-weight: 800;
    padding: 12px 18px;
}

.assign-card-modal .btn-secondary {
    background: #f3f6fb;
    border-color: #e1e7f0;
    color: #344054;
    border-radius: 10px;
    font-weight: 700;
    padding: 12px 18px;
}



.profile-title-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.profile-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 8px;
}

.profile-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #758093;
    font-size: 15px;
}

.profile-hero-actions {
    flex-shrink: 0;
}

.profile-subtitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #273246;
    font-size: 14px;
}

.profile-subtitle span {
    min-width: 25px;
    padding: 3px 8px;
    border-radius: 20px;
    background: #edf3ff;
    color: #315eb5;
    font-size: 11px;
    text-align: center;
}

.profile-context-list {
    display: grid;
}

.profile-context-list > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 13px 0;
    border-bottom: 1px solid #edf0f5;
}

.profile-context-list > div:first-child {
    padding-top: 0;
}

.profile-context-list > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.profile-context-list span {
    color: #7a8495;
    font-size: 12px;
}

.profile-context-list strong,
.profile-context-list a {
    color: #263247;
    font-size: 14px;
    font-weight: 600;
}

.profile-card-information {
    display: flex;
    align-items: center;
    gap: 13px;
}

.profile-card-information > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-card-information span {
    color: #7a8495;
    font-size: 12px;
}

.profile-card-information strong {
    color: #263247;
    font-size: 15px;
}

.profile-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #edf3ff;
    color: #315eb5;
    font-size: 19px;
}

.subscription-icon.danger {
    background: #fff0f0;
    color: #d44747;
}

.profile-list-item .item-content {
    min-width: 0;
}

.profile-list-item .item-content strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .profile-hero-layout {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-hero-actions {
        width: 100%;
    }
}

/* Sidebar help card */

header.main-nav .nav-menu.custom-scrollbar {
    padding-bottom: 190px;
}

.sidebar-help-card {
    position: fixed;
    left: 16px;
    width: 268px;
    bottom: 16px;
    z-index: 2;
    padding: 20px;
    border-radius: 18px;
    text-align: center;
    background: linear-gradient(155deg, #0b1f49 0%, #142c5c 100%);
    box-shadow: 0 16px 32px rgba(11, 31, 73, 0.18);
}

.sidebar-help-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: rgba(253, 184, 10, 0.15);
    color: #fdb80a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sidebar-help-card strong {
    display: block;
    color: #fff;
    font-size: 15px;
    margin-bottom: 4px;
}

.sidebar-help-card span {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12.5px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.sidebar-help-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 11px;
    background: #fdb80a;
    color: #0b1f49;
    font-weight: 700;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

.sidebar-help-btn:hover {
    background: #fff;
    color: #0b1f49;
    transform: translateY(-2px);
}

/* Écrans peu hauts : la carte d'aide se réduit au bouton pour ne plus masquer le menu */
@media (max-height: 900px) {
    header.main-nav .nav-menu.custom-scrollbar {
        padding-bottom: 90px;
    }

    .sidebar-help-card {
        padding: 10px;
        border-radius: 14px;
    }

    .sidebar-help-icon,
    .sidebar-help-card strong,
    .sidebar-help-card span {
        display: none;
    }

    .sidebar-help-btn {
        padding: 10px;
    }
}

/* Help contact modal */

.help-contact-modal .text {
    color: #64748b;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.help-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e6edef;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.help-contact-item:hover {
    border-color: #fdb80a;
    background: #fffaf0;
}

.help-contact-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    background: #0b1f49;
    color: #fdb80a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.help-contact-item .key {
    display: block;
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 2px;
}

.help-contact-item .value {
    display: block;
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
}
/* PROFIL : en-tête, ligne d'abonnement, actions et relances */
.profile-hero-layout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
}

.profile-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.profile-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile-subscription-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f5f7fb;
}

.profile-subscription-line span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #758093;
    font-size: 14px;
}

.profile-subscription-line strong {
    color: #0f172a;
}

.profile-subscription-line .days-ok strong {
    color: #1a8f5c;
}

.profile-subscription-line .days-warn strong {
    color: #d97706;
}

.profile-subscription-line .days-danger strong {
    color: #dc2626;
}

.profile-stats-line {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    margin-bottom: 18px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid #e6edef;
    border-radius: 12px;
}

.profile-stats-line div {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #758093;
    font-size: 14px;
}

.profile-stats-line div i {
    color: #001c64;
}

.profile-stats-line strong {
    color: #0f172a;
    font-size: 18px;
}

/* Carte Abonnement compacte */
.subscription-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.subscription-summary div {
    display: grid;
    gap: 2px;
}

.subscription-summary span {
    color: #758093;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.subscription-summary strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
}

.subscription-summary .days-ok strong {
    color: #1a8f5c;
}

.subscription-summary .days-warn strong {
    color: #d97706;
}

.subscription-summary .days-danger strong {
    color: #dc2626;
}

.subscription-summary .full {
    grid-column: 1 / -1;
}

.subscription-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.subscription-progress .progress {
    flex: 1;
    margin: 0;
}

.subscription-progress small {
    color: #758093;
    white-space: nowrap;
}

.subscription-actions {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e6edef;
}

.subscription-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.subscription-actions form {
    margin: 0;
}

.reminder-block {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e6edef;
}

.reminder-block-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #273246;
    font-size: 13px;
    font-weight: 600;
}

.reminder-hint {
    margin: 6px 0 0;
    color: #758093;
    font-size: 12.5px;
    line-height: 1.4;
}

.reminder-list {
    display: grid;
    gap: 6px;
}

.reminder-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border-left: 3px solid #cbd5e1;
    font-size: 12.5px;
}

.reminder-item.manual {
    border-left-color: #315eb5;
}

.reminder-item strong {
    display: block;
    color: #0f172a;
    font-weight: 600;
}

.reminder-item small {
    color: #758093;
    white-space: nowrap;
}

.wallet-pass-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.wallet-pass-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 13px;
}

.wallet-pass-item span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-weight: 600;
}

.profile-orders-table td,
.profile-orders-table th {
    vertical-align: middle;
    white-space: nowrap;
}

.profile-orders-table small {
    display: block;
    color: #758093;
}

@media (max-width: 991px) {
    .profile-hero-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-hero-actions {
        justify-content: flex-start;
    }
}

/* Actions de la carte Entreprise de la fiche profil : bouton pleine largeur, explication dessous */
.profile-company-actions {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e6edef;
}

.profile-company-action form {
    margin: 0;
}

.profile-company-action .btn {
    width: 100%;
}

/* Choix radio sur plusieurs lignes (titre + explication), ex. mode de carte au remplacement */
.form-check.form-check-choice {
    height: auto;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    padding: 12px 15px;
    transition: border-color .15s, background-color .15s;
}

.form-check.form-check-choice .form-check-input {
    flex-shrink: 0;
    float: none;
    margin-top: 3px;
}

.form-check.form-check-choice .form-check-label {
    line-height: 1.4;
}

.form-check.form-check-choice .form-check-label small {
    margin-top: 2px;
    line-height: 1.4;
}

.form-check.form-check-choice:has(.form-check-input:checked) {
    border-color: #0b1f49;
    background-color: #f5f7fb;
}

.form-check.form-check-choice:has(.form-check-input:disabled) {
    cursor: not-allowed;
    opacity: .6;
}

/* Fiche profil BO : carte d'intro (couverture 5/2, avatar, identité, méta) */
.profile-intro-card {
    overflow: hidden;
}

.profile-intro-cover {
    aspect-ratio: 5 / 2;
    background: linear-gradient(135deg, #0b1f49 0%, #3b5998 100%);
}

.profile-intro-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-intro-card .card-body {
    padding-top: 0;
}

.profile-intro-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: -48px;
    margin-bottom: 14px;
}

.profile-intro-avatar {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.profile-intro-card .profile-title-line h3 {
    font-size: 22px;
    margin-bottom: 0;
}

.profile-intro-card .profile-job {
    margin-top: 4px;
    font-size: 15px;
}

.profile-intro-card .profile-hero-meta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e6edef;
}

.profile-intro-card .profile-hero-meta span {
    font-size: 14px;
}

/* Carte Vue d'ensemble : compteurs en grille 2 x 2 */
.profile-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.profile-overview div {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f5f7fb;
}

.profile-overview span {
    color: #758093;
    font-size: 12px;
}

.profile-overview strong {
    color: #0f172a;
    font-size: 18px;
}

@media (max-width: 575px) {
    .profile-intro-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-intro-avatar {
        width: 88px;
        height: 88px;
        flex-basis: 88px;
    }
}
