/* ═══════════════════════════════════════════════════════════════
   MHM Theme Client Area Styles
   assets/css/client-area.css
════════════════════════════════════════════════════════════════ */

:root {
    --ca-sidebar-w:  260px;
    --ca-sidebar-sm: 70px;
    --ca-topbar-h:   66px;
    --ca-sidebar-bg: #001e5a;
    --ca-content-bg: #f0f4fb;
    --ca-card-bg:    #ffffff;
    --ca-shadow:     0 2px 16px rgba(0,29,90,0.08);
    --ca-radius:     14px;
    --ca-transition: 0.22s ease;
    --ca-yellow:     #ffd300;
    --ca-blue:       #003da5;
    --ca-dark:       #002b75;
}

/* ── Hide ALL front-end chrome when client shell is present ── */
body:has(.ca-shell) .top-bar,
body:has(.ca-shell) .site-header,
body:has(.ca-shell) header:not(.ca-topbar),
body:has(.ca-shell) footer,
body:has(.ca-shell) .site-footer {
    display: none !important;
}
body:has(.ca-shell) {
    background: var(--ca-content-bg);
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Admin bar offset — covers both client (ca-*) and admin (mhm-*) sidebars */
.admin-bar .ca-sidebar  { top: 32px; }
.admin-bar .ca-main     { padding-top: 32px; }
@media (max-width: 782px) {
    .admin-bar .ca-sidebar  { top: 46px; }
    .admin-bar .ca-main     { padding-top: 46px; }
}

/* ── Shell ── */
.ca-shell {
    display: flex;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: var(--ca-content-bg);
}

/* ═══════════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════════════ */
.ca-sidebar {
    width: var(--ca-sidebar-w);
    background: var(--ca-sidebar-bg);
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: width var(--ca-transition);
    overflow: hidden; /* required: constrains flex children so nav can scroll */
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}

/* Collapsed */
.ca-sidebar.collapsed { width: var(--ca-sidebar-sm); }
.ca-sidebar.collapsed .ca-sidebar-brand span,
.ca-sidebar.collapsed .ca-nav-item span,
.ca-sidebar.collapsed .ca-badge,
.ca-sidebar.collapsed .ca-nav-label,
.ca-sidebar.collapsed .ca-user-info,
.ca-sidebar.collapsed .ca-logout span {
    opacity: 0; pointer-events: none; width: 0; overflow: hidden; white-space: nowrap;
}
.ca-sidebar.collapsed .ca-sidebar-brand { justify-content: center; }
.ca-sidebar.collapsed .ca-nav-item { justify-content: center; padding: 13px 0; }
.ca-sidebar.collapsed .ca-nav-item i { margin: 0; font-size: 1.2rem; }
.ca-sidebar.collapsed .ca-user-card { justify-content: center; padding: 12px 0; }
.ca-sidebar.collapsed .ca-logout { justify-content: center; padding: 12px 0; }

/* Brand */
.ca-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--ca-yellow);
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ca-sidebar-brand i { font-size: 1.6rem; color: #fff; flex-shrink: 0; }
.ca-sidebar-brand strong { color: var(--ca-yellow); }

/* Nav */
.ca-sidebar-nav {
    flex: 1 1 0;
    min-height: 0;
    max-height: 100%;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
    list-style: none;
    margin: 0;
}
.ca-sidebar-nav::-webkit-scrollbar { width: 4px; }
.ca-sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.ca-nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    padding: 12px 20px 4px;
    white-space: nowrap;
    display: block;
}

.ca-nav-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 9px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none !important;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    border-left: 3px solid transparent;
    transition: background var(--ca-transition), color var(--ca-transition);
    width: 100%;
    box-sizing: border-box;
    list-style: none;
}
.ca-nav-item i {
    width: 18px;
    font-size: 1rem;
    flex-shrink: 0;
    color: rgba(255,255,255,0.5);
    transition: color var(--ca-transition);
}
.ca-nav-item:hover {
    background: rgba(255,211,0,0.08);
    color: #fff;
    border-left-color: rgba(255,211,0,0.4);
}
.ca-nav-item:hover i { color: var(--ca-yellow); }
.ca-nav-item.active {
    background: rgba(255,211,0,0.15);
    color: #fff;
    border-left-color: var(--ca-yellow);
    font-weight: 600;
}
.ca-nav-item.active i { color: var(--ca-yellow); }

.ca-badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    flex-shrink: 0;
}
.ca-badge.warn  { background: #f97316; color: #fff; }
.ca-badge.alert { background: #dc2626; color: #fff; }

/* Sidebar Footer */
.ca-sidebar-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.ca-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ca-user-av {
    width: 36px;
    height: 36px;
    background: var(--ca-blue);
    border: 2px solid var(--ca-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--ca-yellow);
    flex-shrink: 0;
}
.ca-user-info { overflow: hidden; }
.ca-user-info strong {
    display: block;
    font-size: 0.82rem;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ca-user-info small {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.ca-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: 0.2s;
    white-space: nowrap;
}
.ca-logout:hover {
    background: rgba(220,38,38,0.15);
    color: #f87171;
    border-left-color: #f87171;
}
.ca-logout i { width: 18px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   MAIN
════════════════════════════════════════════════ */
.ca-main {
    margin-left: var(--ca-sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left var(--ca-transition);
}
.ca-main.expanded { margin-left: var(--ca-sidebar-sm); }

/* ═══════════════════════════════════════════════
   TOPBAR
════════════════════════════════════════════════ */
.ca-topbar {
    height: var(--ca-topbar-h);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    box-shadow: 0 2px 12px rgba(0,29,90,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 16px;
    flex-shrink: 0;
}
.ca-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ca-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--ca-blue);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}
.ca-toggle:hover { background: var(--ca-content-bg); }
.ca-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ca-blue);
    font-size: 0.95rem;
    font-weight: 600;
}
.ca-breadcrumb i { color: var(--ca-yellow); }
.ca-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

/* New Order CTA */
.ca-order-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ca-yellow);
    color: var(--ca-blue);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
}
.ca-order-btn:hover { background: #e6bc00; transform: translateY(-1px); }

/* Icon button */
.ca-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ca-content-bg);
    border-radius: 10px;
    cursor: pointer;
    color: var(--ca-blue);
    font-size: 1rem;
    transition: background 0.2s;
    user-select: none;
}
.ca-icon-btn:hover { background: #e2e8f0; }
.ca-icon-badge {
    position: absolute;
    top: 6px; right: 6px;
    background: #dc2626;
    color: white;
    font-size: 9px;
    font-weight: 700;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Dropdowns */
.ca-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,29,90,0.14);
    z-index: 999;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s;
    border: 1px solid rgba(0,61,165,0.08);
}
.ca-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.ca-dropdown.notif { width: 310px; }
.ca-dropdown.profile { width: 200px; }

.ca-drop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ca-blue);
    border-bottom: 1px solid #f1f5f9;
}
.ca-drop-header span {
    font-size: 0.75rem;
    background: #dc2626;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}
.ca-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.82rem;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.15s;
}
.ca-drop-item:hover { background: #f8fafc; }
.ca-drop-item.unread { background: #eff6ff; }
.ca-drop-item.unread:hover { background: #dbeafe; }
.ca-drop-item i {
    width: 34px; height: 34px;
    background: var(--ca-blue);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}
.ca-drop-item strong { display: block; font-weight: 600; margin-bottom: 2px; }
.ca-drop-item small { color: #94a3b8; }
.ca-drop-footer {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ca-blue);
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
    transition: background 0.15s;
}
.ca-drop-footer:hover { background: #f8fafc; }

/* Profile dropdown */
.ca-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 10px;
    transition: background 0.2s;
    position: relative;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ca-blue);
    user-select: none;
}
.ca-profile-btn:hover { background: var(--ca-content-bg); }
.ca-profile-btn .fa-chevron-down { font-size: 0.7rem; color: #94a3b8; }
.ca-topbar-av {
    width: 34px; height: 34px;
    background: var(--ca-blue);
    color: var(--ca-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.ca-dropdown.profile a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s;
}
.ca-dropdown.profile a:hover { background: #f8fafc; color: var(--ca-blue); }
.ca-dropdown.profile a i { width: 16px; color: #94a3b8; font-size: 0.85rem; }
.ca-drop-divider { height: 1px; background: #f1f5f9; margin: 4px 0; }
.ca-drop-logout { color: #dc2626 !important; }
.ca-drop-logout i { color: #dc2626 !important; }
.ca-drop-logout:hover { background: #fef2f2 !important; }

/* ═══════════════════════════════════════════════
   CONTENT
════════════════════════════════════════════════ */
.ca-content {
    padding: 28px 28px 40px;
    flex: 1;
}

/* Welcome Banner */
.ca-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(120deg, var(--ca-blue) 0%, var(--ca-dark) 100%);
    color: white;
    border-radius: var(--ca-radius);
    padding: 28px 32px;
    margin-bottom: 22px;
    box-shadow: 0 4px 20px rgba(0,61,165,0.25);
    gap: 20px;
}
.ca-welcome h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
.ca-welcome p  { font-size: 0.9rem; opacity: 0.8; margin: 0; }
.ca-welcome-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ca-yellow);
    color: var(--ca-blue);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s;
    flex-shrink: 0;
}
.ca-welcome-cta:hover { background: #e6bc00; transform: translateY(-2px); }

/* Summary Grid */
.ca-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.ca-summary-card {
    background: var(--ca-card-bg);
    border-radius: var(--ca-radius);
    box-shadow: var(--ca-shadow);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s;
}
.ca-summary-card:hover { transform: translateY(-3px); }
.ca-summary-card i {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.ca-summary-card.blue i   { background: rgba(0,61,165,0.1);  color: var(--ca-blue); }
.ca-summary-card.yellow i { background: rgba(255,211,0,0.15); color: #b8860b; }
.ca-summary-card.green i  { background: rgba(22,163,74,0.1);  color: #16a34a; }
.ca-summary-card.red i    { background: rgba(220,38,38,0.1);  color: #dc2626; }
.ca-sum-val {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ca-blue);
    line-height: 1.1;
}
.ca-sum-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Alert */
.ca-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}
.ca-alert.warning {
    background: #fffbeb;
    border: 1.5px solid #fcd34d;
    color: #92400e;
}
.ca-alert i { font-size: 1.2rem; color: #f59e0b; flex-shrink: 0; }
.ca-alert div { flex: 1; }
.ca-alert strong { display: block; font-weight: 700; margin-bottom: 2px; }
.ca-alert span { font-size: 0.82rem; opacity: 0.85; }
.ca-alert-btn {
    background: #f59e0b;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s;
    flex-shrink: 0;
}
.ca-alert-btn:hover { background: #d97706; }

/* Columns */
.ca-columns {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}
.ca-right-col { display: flex; flex-direction: column; gap: 20px; }

/* Card */
.ca-card {
    background: var(--ca-card-bg);
    border-radius: var(--ca-radius);
    box-shadow: var(--ca-shadow);
    overflow: hidden;
}
.ca-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #f1f5f9;
}
.ca-card-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ca-blue);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.ca-card-header h3 i { color: var(--ca-yellow); }
.ca-view-all {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ca-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.65;
    transition: opacity 0.2s;
}
.ca-view-all:hover { opacity: 1; }
.ca-card-body { padding: 18px 22px; }
.ca-card-body.no-pad { padding: 0; }

/* Table */
.ca-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}
.ca-table thead th {
    background: #f8fafc;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 16px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap;
}
.ca-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f8fafc;
    vertical-align: middle;
}
.ca-table tbody tr:last-child td { border-bottom: none; }
.ca-table tbody tr:hover td { background: #fafbff; }

.service-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}
.service-icon {
    width: 36px; height: 36px;
    background: rgba(0,61,165,0.1);
    color: var(--ca-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.service-icon.vps   { background: rgba(124,58,237,0.1); color: #7c3aed; }
.service-icon.ssl   { background: rgba(22,163,74,0.1);  color: #16a34a; }
.service-icon.email { background: rgba(14,165,233,0.1); color: #0ea5e9; }
.service-cell strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ca-blue); }
.service-cell small  { color: #94a3b8; font-size: 0.75rem; }

.due-soon    { color: #f59e0b; font-weight: 600; }
.due-overdue { color: #dc2626; font-weight: 700; }

.ca-inv-id { color: var(--ca-blue); font-weight: 700; font-size: 0.82rem; }
.ca-amount  { color: #16a34a; font-weight: 700; }

/* Status badges */
.ca-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ca-status.active    { background: #dcfce7; color: #16a34a; }
.ca-status.suspended { background: #fee2e2; color: #dc2626; }
.ca-status.expiring  { background: #ffedd5; color: #ea580c; }
.ca-status.paid      { background: #dcfce7; color: #16a34a; }
.ca-status.unpaid    { background: #fef9c3; color: #ca8a04; }
.ca-status.overdue   { background: #fee2e2; color: #dc2626; }

/* Action buttons */
.ca-actions { display: flex; gap: 6px; }
.ca-act-btn {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
    border: 1.5px solid var(--ca-blue);
    color: var(--ca-blue);
}
.ca-act-btn:hover { background: var(--ca-blue); color: white; }
.ca-act-btn.secondary { border-color: #e2e8f0; color: #64748b; }
.ca-act-btn.secondary:hover { background: #64748b; color: white; border-color: #64748b; }
.ca-act-btn.danger { border-color: #dc2626; color: #dc2626; }
.ca-act-btn.danger:hover { background: #dc2626; color: white; }

/* Domain list */
.ca-domain-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.ca-domain-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 10px;
}
.ca-domain-name {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.ca-domain-name i { color: var(--ca-blue); font-size: 0.9rem; flex-shrink: 0; }
.ca-domain-name strong { display: block; font-size: 0.84rem; font-weight: 600; color: var(--ca-blue); }
.ca-domain-name small  { font-size: 0.73rem; color: #94a3b8; }
.ca-register-domain-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    color: var(--ca-blue);
    font-weight: 600;
    font-size: 0.83rem;
    text-decoration: none;
    transition: 0.2s;
}
.ca-register-domain-btn:hover { background: var(--ca-blue); color: white; border-color: var(--ca-blue); border-style: solid; }

/* Ticket list */
.ca-ticket-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.ca-ticket-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fafc;
    text-decoration: none;
    color: var(--text-main);
    border-left: 3px solid #e2e8f0;
    transition: 0.2s;
}
.ca-ticket-row.open  { border-left-color: #dc2626; }
.ca-ticket-row.closed { border-left-color: #22c55e; }
.ca-ticket-row:hover { background: #f1f5f9; transform: translateX(3px); }
.ca-ticket-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ca-tkt-id {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ca-blue);
}
.ca-tkt-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: uppercase;
}
.ca-tkt-status.open   { background: #fee2e2; color: #dc2626; }
.ca-tkt-status.closed { background: #dcfce7; color: #16a34a; }
.ca-ticket-row strong { font-size: 0.83rem; font-weight: 600; color: var(--ca-blue); }
.ca-ticket-row small  { font-size: 0.74rem; color: #94a3b8; }
.ca-open-ticket-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    background: var(--ca-blue);
    color: white;
    font-weight: 600;
    font-size: 0.83rem;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.2s;
}
.ca-open-ticket-btn:hover { background: var(--ca-dark); }

/* Announcements */
.ca-announce-list { display: flex; flex-direction: column; gap: 16px; }
.ca-announce-item {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.ca-announce-item:last-child { border-bottom: none; padding-bottom: 0; }
.ca-announce-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(0,61,165,0.1);
    color: var(--ca-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.ca-announce-icon.new  { background: rgba(255,211,0,0.15); color: #b8860b; }
.ca-announce-icon.info { background: rgba(14,165,233,0.1);  color: #0ea5e9; }
.ca-announce-body strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ca-blue); margin-bottom: 5px; }
.ca-announce-body p     { font-size: 0.83rem; color: #64748b; margin: 0 0 7px; line-height: 1.5; }
.ca-announce-body small { font-size: 0.75rem; color: #94a3b8; display: flex; align-items: center; gap: 5px; }
.ca-announce-body small i { color: var(--ca-yellow); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .ca-columns       { grid-template-columns: 1fr; }
    .ca-summary-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .ca-sidebar { width: var(--ca-sidebar-sm); }
    .ca-sidebar .ca-sidebar-brand span,
    .ca-sidebar .ca-nav-item span,
    .ca-sidebar .ca-badge,
    .ca-sidebar .ca-nav-label,
    .ca-sidebar .ca-user-info,
    .ca-sidebar .ca-logout span {
        opacity: 0; pointer-events: none; width: 0; overflow: hidden;
    }
    .ca-sidebar .ca-sidebar-brand { justify-content: center; }
    .ca-sidebar .ca-nav-item { justify-content: center; padding: 13px 0; }
    .ca-sidebar .ca-nav-item i { margin: 0; }
    .ca-sidebar .ca-user-card { justify-content: center; }
    .ca-sidebar .ca-logout { justify-content: center; }
    .ca-main { margin-left: var(--ca-sidebar-sm); }
}

@media (max-width: 640px) {
    .ca-content { padding: 16px; }
    .ca-summary-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ca-welcome { flex-direction: column; align-items: flex-start; gap: 14px; }
    .ca-welcome-cta { width: 100%; justify-content: center; }
    .ca-profile-btn span { display: none; }
    .ca-order-btn span { display: none; }
}