/* ========================================
   Cliente Conta - Vapezera
   Dashboard, Pedidos, Rastreio
   ======================================== */

/* ── Dashboard Layout ── */
.cc-dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 0;
}

.cc-sidebar {
    position: sticky;
    top: 140px;
}

.cc-sidebar-menu {
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 12px;
    overflow: hidden;
}

.cc-sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.cc-sidebar-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #999;
    transition: color 0.15s;
}

.cc-sidebar-item:hover {
    background: #f9f9fb;
    color: #C90000;
}

.cc-sidebar-item:hover svg {
    color: #C90000;
}

.cc-sidebar-item.active {
    background: #fef2f2;
    color: #C90000;
    border-left-color: #C90000;
    font-weight: 600;
}

.cc-sidebar-item.active svg {
    color: #C90000;
}

.cc-sidebar-item.logout {
    border-top: 1px solid #e8e8ec;
    color: #999;
    margin-top: 4px;
}

.cc-sidebar-item.logout:hover {
    color: #d32f2f;
}

.cc-sidebar-item.logout:hover svg {
    color: #d32f2f;
}

.cc-sidebar-vip {
    margin-top: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 12px;
    text-align: center;
}

.cc-main {
    min-height: 400px;
}

/* ── Welcome Header ── */
.cc-welcome {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 32px;
    color: #fff;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.cc-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(201,0,0,0.08) 0%, transparent 70%);
}

.cc-welcome h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px;
    position: relative;
    z-index: 1;
}

.cc-welcome p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ── Stats Cards ── */
.cc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.cc-stat-card {
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 12px;
    padding: 24px;
    transition: box-shadow 0.2s, transform 0.15s;
    cursor: default;
}

.cc-stat-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transform: translateY(-1px);
}

.cc-stat-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.cc-stat-card__icon svg {
    width: 20px;
    height: 20px;
}

.cc-stat-card__icon--red {
    background: rgba(201,0,0,0.08);
    color: #C90000;
}

.cc-stat-card__icon--green {
    background: rgba(34,197,94,0.08);
    color: #22c55e;
}

.cc-stat-card__icon--blue {
    background: rgba(59,130,246,0.08);
    color: #3b82f6;
}

.cc-stat-card__icon--purple {
    background: rgba(168,85,247,0.08);
    color: #a855f7;
}

.cc-stat-card__icon--amber {
    background: rgba(245,158,11,0.08);
    color: #f59e0b;
}

.cc-stat-card__value {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin: 0 0 2px;
}

.cc-stat-card__value--sm {
    font-size: 18px;
}

.cc-stat-card__label {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* ── Tracking Mini Card on Dashboard ── */
.cc-tracking-mini {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cc-tracking-mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(59,130,246,0.1) 0%, transparent 60%);
}

.cc-tracking-mini__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cc-tracking-mini__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-tracking-mini__title svg {
    width: 20px;
    height: 20px;
    color: #60a5fa;
}

.cc-tracking-mini__status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(96,165,250,0.15);
    color: #60a5fa;
}

.cc-tracking-mini__code {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.cc-tracking-mini__code strong {
    color: rgba(255,255,255,0.9);
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 1px;
}

.cc-tracking-mini__bar {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cc-tracking-mini__step {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.cc-tracking-mini__step--done {
    background: #22c55e;
}

.cc-tracking-mini__step--current {
    background: #60a5fa;
    animation: pulse-step 1.5s ease-in-out infinite;
}

@keyframes pulse-step {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.cc-tracking-mini__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    position: relative;
    z-index: 1;
}

.cc-tracking-mini__action:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
    text-decoration: none;
}

.cc-tracking-mini__action svg {
    width: 14px;
    height: 14px;
}

.cc-tracking-mini__empty {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    position: relative;
    z-index: 1;
}

/* ── VIP Progress ── */
.cc-vip-progresso {
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.cc-vip-progresso__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.cc-vip-progresso__header strong {
    color: #111;
}

.cc-vip-progresso__bar {
    height: 8px;
    background: #e8e8ec;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.cc-vip-progresso__fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #C90000, #ff4444);
    transition: width 0.5s ease;
}

.cc-vip-progresso__details {
    display: flex;
    gap: 24px;
    font-size: 12px;
    color: #999;
}

.cc-vip-beneficios {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.cc-vip-beneficio {
    font-size: 12px;
    color: #22c55e;
    background: #f0fdf4;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 500;
}

/* ── Cards genéricos ── */
.cc-card {
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 12px;
    padding: 20px 24px;
}

.cc-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cc-field input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: #111;
    background: #fafafa;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.cc-field input:focus {
    outline: none;
    border-color: #c90000;
    background: #fff;
}

.cc-field input[disabled] {
    cursor: not-allowed;
    background: #f5f5f5;
    color: #888;
}

.cc-btn-save {
    padding: 10px 28px;
    border: none;
    border-radius: 8px;
    background: #c90000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.cc-btn-save:hover {
    background: #a80000;
}

/* ── Orders List ── */
.cc-orders {
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 12px;
    overflow: hidden;
}

.cc-orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8ec;
    flex-wrap: wrap;
    gap: 8px;
}

.cc-orders-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.cc-orders-header .cc-orders-count {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.cc-orders-header a {
    font-size: 13px;
    font-weight: 600;
    color: #C90000;
    text-decoration: none;
}

.cc-orders-header a:hover {
    text-decoration: underline;
}

/* ── Order Filters ── */
.cc-filters {
    display: flex;
    gap: 8px;
    padding: 12px 24px;
    border-bottom: 1px solid #f0f0f2;
    flex-wrap: wrap;
}

.cc-filter-btn {
    padding: 6px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    color: #666;
    cursor: pointer;
    transition: all 0.15s;
}

.cc-filter-btn:hover {
    border-color: #C90000;
    color: #C90000;
}

.cc-filter-btn--active {
    background: #C90000;
    color: #fff;
    border-color: #C90000;
}

/* ── Order Card ── */
.cc-order-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f2;
    transition: background 0.15s;
}

.cc-order-card:last-child {
    border-bottom: none;
}

.cc-order-card:hover {
    background: #fafafa;
}

.cc-order-card__num {
    font-size: 15px;
    font-weight: 700;
    color: #C90000;
    min-width: 80px;
}

.cc-order-card__info {
    flex: 1;
    min-width: 0;
}

.cc-order-card__info p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.cc-order-card__info p strong {
    color: #111;
    font-weight: 600;
}

.cc-order-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.cc-order-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cc-order-card__meta svg {
    width: 12px;
    height: 12px;
}

.cc-order-card__payment {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.cc-order-card__payment--paid {
    background: #e8f5e9;
    color: #2e7d32;
}

.cc-order-card__payment--pending {
    background: #fff3e0;
    color: #e65100;
}

.cc-order-card__payment--refused {
    background: #fbe9e7;
    color: #c62828;
}

.cc-order-card__payment--refunded {
    background: #e3f2fd;
    color: #1565c0;
}

.cc-order-card__status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.cc-order-card__status--pendente,
.cc-order-card__status--aguardando_pagamento,
.cc-order-card__status--pagamento_pendente {
    background: #fff3e0;
    color: #e65100;
}

.cc-order-card__status--pago,
.cc-order-card__status--preparando {
    background: #e8f5e9;
    color: #2e7d32;
}

.cc-order-card__status--enviado {
    background: #e3f2fd;
    color: #1565c0;
}

.cc-order-card__status--entregue {
    background: #e8f5e9;
    color: #2e7d32;
}

.cc-order-card__status--cancelado {
    background: #fbe9e7;
    color: #c62828;
}

.cc-order-card__status--pagamento_recusado {
    background: #fbe9e7;
    color: #c62828;
}

.cc-order-card__status--estornado {
    background: #e3f2fd;
    color: #1565c0;
}

.cc-order-card__action {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cc-order-card__action .btn-rastreio,
.cc-order-card__action .btn-pagar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.cc-order-card__action .btn-rastreio {
    background: #C90000;
    color: #fff;
}

.cc-order-card__action .btn-rastreio:hover {
    background: #A80000;
    color: #fff;
    text-decoration: none;
}

.cc-order-card__action .btn-rastreio svg {
    width: 14px;
    height: 14px;
}

.cc-order-card__action .btn-pagar {
    background: #22c55e;
    color: #fff;
}

.cc-order-card__action .btn-pagar:hover {
    background: #16a34a;
    color: #fff;
    text-decoration: none;
}

.cc-order-card__action .btn-pagar svg {
    width: 14px;
    height: 14px;
}

/* ── Tracking progress inline on order card ── */
.cc-order-tracking-progress {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.cc-order-tracking-progress__step {
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: #e0e0e0;
    transition: background 0.3s;
}

.cc-order-tracking-progress__step--done {
    background: #22c55e;
}

.cc-order-tracking-progress__step--current {
    background: #C90000;
}

.cc-order-tracking-progress__code {
    font-size: 11px;
    color: #999;
    margin-left: 4px;
    font-family: monospace;
}

/* ── Pagination ── */
.cc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 24px;
    border-top: 1px solid #f0f0f2;
}

.cc-pagination a,
.cc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    transition: all 0.15s;
}

.cc-pagination a:hover {
    border-color: #C90000;
    color: #C90000;
}

.cc-pagination .active {
    background: #C90000;
    color: #fff;
    border-color: #C90000;
}

.cc-pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ── Tracking Detail Page ── */
.cc-tracking {
    background: #fff;
    border: 1px solid #e8e8ec;
    border-radius: 12px;
    padding: 28px 32px;
}

.cc-tracking__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.cc-tracking__code {
    font-size: 20px;
    font-weight: 800;
    color: #C90000;
    margin: 0;
    letter-spacing: 0.5px;
}

.cc-tracking__status {
    font-size: 14px;
    color: #888;
    margin: 4px 0 0;
}

.cc-tracking__status strong {
    color: #111;
}

.cc-tracking__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.cc-tracking__badge--success {
    background: #e8f5e9;
    color: #2e7d32;
}

.cc-tracking__badge--info {
    background: #e3f2fd;
    color: #1565c0;
}

.cc-tracking__badge--warning {
    background: #fff3e0;
    color: #e65100;
}

.cc-tracking__badge--danger {
    background: #fbe9e7;
    color: #c62828;
}

.cc-tracking__update {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}

.cc-tracking__order-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 12px 16px;
    background: #f9f9fb;
    border: 1px solid #e8e8ec;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #666;
}

.cc-tracking__order-info strong {
    color: #111;
}

.cc-tracking__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.cc-tracking__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #555;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
}

.cc-tracking__btn:hover {
    border-color: #C90000;
    color: #C90000;
}

.cc-tracking__btn svg {
    width: 14px;
    height: 14px;
}

.cc-tracking__btn--primary {
    background: #C90000;
    color: #fff;
    border-color: #C90000;
}

.cc-tracking__btn--primary:hover {
    background: #A80000;
    color: #fff;
}

/* ── Customer Timeline ── */
.cc-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.cc-timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(to bottom, #C90000 0%, #C90000 60%, #e0e0e0 100%);
}

.cc-timeline__item {
    position: relative;
    padding: 0 0 32px 72px;
}

.cc-timeline__item:last-child {
    padding-bottom: 0;
}

.cc-timeline__dot {
    position: absolute;
    left: 13px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #C90000;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #C90000, 0 2px 8px rgba(201,0,0,0.2);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}

.cc-timeline__item:last-child .cc-timeline__dot {
    background: #22c55e;
    box-shadow: 0 0 0 2px #22c55e, 0 2px 8px rgba(34,197,94,0.2);
}

.cc-timeline__card {
    background: #f9f9fb;
    border: 1px solid #e8e8ec;
    border-radius: 10px;
    padding: 18px 22px;
    transition: box-shadow 0.2s;
}

.cc-timeline__card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.cc-timeline__title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
    line-height: 1.3;
}

.cc-timeline__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.cc-timeline__meta .label {
    color: #999;
}

.cc-timeline__meta strong {
    color: #111;
    font-weight: 600;
}

.cc-timeline__date {
    font-size: 13px;
    color: #C90000;
    font-weight: 600;
    margin-bottom: 8px;
}

.cc-timeline__desc {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    white-space: pre-line;
}

.cc-timeline__sep {
    height: 1px;
    background: linear-gradient(to right, #e0e0e0, transparent);
    margin: 0 0 32px 72px;
}

.cc-timeline__item:last-child .cc-timeline__sep {
    display: none;
}

/* ── Empty States ── */
.cc-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.cc-empty svg {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    opacity: 0.25;
}

.cc-empty h3 {
    font-size: 18px;
    font-weight: 700;
    color: #444;
    margin: 0 0 8px;
}

.cc-empty p {
    font-size: 14px;
    color: #888;
    margin: 0 0 20px;
    line-height: 1.5;
}

.cc-empty .btn {
    display: inline-flex;
    padding: 12px 28px;
    background: #C90000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.cc-empty .btn:hover {
    background: #A80000;
    color: #fff;
    text-decoration: none;
}

/* ── Back Link ── */
.cc-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.15s;
}

.cc-back:hover {
    color: #C90000;
    text-decoration: none;
}

.cc-back svg {
    width: 16px;
    height: 16px;
}

/* ── Error/Success Alerts ── */
.cc-alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cc-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.cc-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.cc-alert--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

/* ── Toast / Copied Notification ── */
.cc-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 24px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.cc-toast--show {
    opacity: 1;
    transform: translateY(0);
}

/* ── Profilename message ── */
.cc-msg-profile {
    margin: 12px 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.cc-msg-profile--error {
    background: #fef2f2;
    color: #b91c1c;
}

.cc-msg-profile--success {
    background: #f0fdf4;
    color: #15803d;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .cc-dashboard {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }

    .cc-sidebar {
        position: static;
    }

    .cc-sidebar-menu {
        display: flex;
        overflow-x: auto;
        border-radius: 10px;
    }

    .cc-sidebar-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 12px 16px;
        font-size: 13px;
    }

    .cc-sidebar-item.active {
        border-left-color: transparent;
        border-bottom-color: #C90000;
    }

    .cc-sidebar-item.logout {
        border-top: none;
        margin-top: 0;
    }

    .cc-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .cc-welcome {
        padding: 24px 20px;
    }

    .cc-welcome h1 {
        font-size: 20px;
    }

    .cc-order-card {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 16px;
    }

    .cc-order-card__num {
        min-width: auto;
    }

    .cc-order-card__action {
        width: 100%;
        flex-wrap: wrap;
    }

    .cc-order-card__action .btn-rastreio,
    .cc-order-card__action .btn-pagar {
        flex: 1;
        justify-content: center;
    }

    .cc-tracking {
        padding: 20px 16px;
    }

    .cc-tracking__header {
        flex-direction: column;
    }

    .cc-timeline__item {
        padding: 0 0 28px 56px;
    }

    .cc-timeline::before {
        left: 17px;
    }

    .cc-timeline__dot {
        left: 7px;
        width: 22px;
        height: 22px;
        font-size: 10px;
    }

    .cc-timeline__card {
        padding: 14px 16px;
    }

    .cc-timeline__sep {
        margin: 0 0 28px 56px;
    }
}

@media (max-width: 480px) {
    .cc-stats {
        grid-template-columns: 1fr;
    }

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

    .cc-stat-card__value {
        font-size: 24px;
    }

    .cc-tracking__actions {
        flex-direction: column;
    }

    .cc-tracking__btn {
        justify-content: center;
    }
}
