.cc-account-page {
    background: #f6fafb;
    padding: 48px 0 72px;
}

.cc-account-shell {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 24px;
}

.cc-account-sidebar,
.cc-account-panel,
.cc-account-card {
    background: #fff;
    border: 1px solid #ddecf0;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(16, 32, 42, 0.06);
}

.cc-account-sidebar {
    align-self: start;
    padding: 18px;
    position: sticky;
    top: 112px;
}

.cc-account-user {
    border-bottom: 1px solid #e5f2f5;
    margin-bottom: 12px;
    padding-bottom: 14px;
}

.cc-account-user strong {
    color: #10202a;
    display: block;
    font-size: 1rem;
}

.cc-account-user span {
    color: #65737c;
    font-size: .9rem;
}

.cc-account-nav {
    display: grid;
    gap: 6px;
}

.cc-account-nav a {
    align-items: center;
    border-radius: 8px;
    color: #33424b;
    display: flex;
    font-weight: 700;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
}

.cc-account-nav a:hover,
.cc-account-nav a.active {
    background: #eaf7fa;
    color: #176f7d;
}

.cc-account-nav i {
    color: #2CA1B5;
    width: 18px;
}

.cc-account-panel {
    padding: 28px;
}

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

.cc-account-kicker {
    color: #2CA1B5;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.cc-account-title {
    color: #10202a;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.cc-account-lead {
    color: #65737c;
    margin: 8px 0 0;
}

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

.cc-account-grid-3 {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cc-account-card {
    padding: 18px;
}

.cc-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cc-form-span {
    grid-column: 1 / -1;
}

.cc-form-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 22px;
}

.cc-empty-state {
    background: #f8fdff;
    border: 1px dashed #b8dfe7;
    border-radius: 10px;
    color: #65737c;
    padding: 32px 18px;
    text-align: center;
}

.cc-table-card {
    border: 1px solid #ddecf0;
    border-radius: 10px;
    overflow: hidden;
}

.cc-table-card .table {
    margin-bottom: 0;
}

.cc-table-card thead th {
    background: #eef8fa;
    border-bottom: 1px solid #ddecf0;
    color: #10202a;
    font-size: .85rem;
    text-transform: uppercase;
}

.cc-badge-soft {
    background: #eaf7fa;
    border-radius: 999px;
    color: #176f7d;
    display: inline-block;
    font-weight: 800;
    padding: 5px 10px;
}

.cc-danger-zone {
    background: #fff8f8;
    border: 1px solid #f2c6c6;
}

.cc-swal {
    border-radius: 10px !important;
}

.cc-appointment-summary {
    display: grid;
    gap: 12px;
}

.cc-appointment-row {
    align-items: center;
    background: #f8fdff;
    border: 1px solid #ddecf0;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    padding: 13px 15px;
}

.cc-appointment-row i {
    color: #2CA1B5;
}

@media (max-width: 991px) {
    .cc-account-shell {
        grid-template-columns: 1fr;
    }

    .cc-account-sidebar {
        position: static;
    }

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

@media (max-width: 767px) {
    .cc-account-page {
        padding: 28px 0 84px;
    }

    .cc-account-panel {
        padding: 20px;
    }

    .cc-account-header {
        display: block;
    }

    .cc-account-title {
        font-size: 1.45rem;
    }

    .cc-account-grid,
    .cc-account-grid-3,
    .cc-form-grid {
        grid-template-columns: 1fr;
    }

    .cc-account-nav {
        grid-template-columns: 1fr;
    }

    .cc-form-actions {
        justify-content: stretch;
    }

    .cc-form-actions .btn,
    .cc-account-header .btn {
        width: 100%;
    }

    .cc-table-card table,
    .cc-table-card thead,
    .cc-table-card tbody,
    .cc-table-card tr,
    .cc-table-card td {
        display: block;
    }

    .cc-table-card thead {
        display: none;
    }

    .cc-table-card tr {
        border-bottom: 1px solid #ddecf0;
        padding: 12px;
    }

    .cc-table-card td {
        border: 0;
        padding: 7px 0;
    }

    .cc-table-card td::before {
        color: #2CA1B5;
        content: attr(data-label);
        display: block;
        font-size: .78rem;
        font-weight: 800;
        text-transform: uppercase;
    }
}
