﻿/* Dashboard: Client Area, Success Page, Tabs - Do not edit directly */


/* ==============================================================
   CLIENT AREA DASHBOARD
   ============================================================== */
.dashboard-page {
    min-height: 100vh;
    padding: 8rem 5% 5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-welcome h1 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-welcome p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.dashboard-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-logout {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--danger);
    border-radius: var(--radius-pill);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: var(--danger);
    color: white;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.btn-new-order {
    padding: 0.6rem 1.5rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: var(--radius-pill);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-new-order:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.summary-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.summary-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.summary-stat-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.summary-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-stat-value {
    font-size: 2rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.dashboard-card.full-width {
    grid-column: 1 / -1;
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.service-item,
.domain-item,
.order-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-item:last-child,
.domain-item:last-child,
.order-item:last-child {
    border-bottom: none;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.item-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.item-meta {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.item-date {
    font-size: 0.8rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-active {
    background: #f0fdf4;
    color: var(--success);
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.badge-pending {
    background: #fffbeb;
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-expired {
    background: #fef2f2;
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.empty-state-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
    opacity: 0.4;
}

.expiry-warning {
    color: var(--warning);
    font-weight: 600;
}

.expiry-soon {
    color: var(--danger);
    font-weight: 700;
}

/* ==============================================================
   SUCCESS PAGE
   ============================================================== */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.success-box {
    max-width: 550px;
    background: var(--bg-card);
    border: 1px solid rgba(22, 163, 74, 0.25);
    border-radius: var(--radius-xl);
    padding: 3.5rem 2.5rem;
    box-shadow: 0 20px 60px rgba(22, 163, 74, 0.08);
}

.success-check {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    border: 2px solid var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: pulse 2s ease-in-out infinite;
    color: var(--success);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.3);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(22, 163, 74, 0);
    }
}

.success-box h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--success);
}

.success-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.btn-home {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--accent-gradient);
    border-radius: var(--radius-pill);
    color: white;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 79, 243, 0.4);
}
/* ==============================================================
   CLIENT AREA â€" TABS & TICKET FORM
   ============================================================== */
.tab-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0;
}

.tab-btn {
    padding: 0.7rem 1.4rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    border-bottom: 2px solid transparent;
    font-family: 'Inter', sans-serif;
    margin-bottom: -1px;
}

.tab-btn:hover {
    color: var(--accent-primary);
}

.tab-btn.active {
    color: var(--accent-secondary);
    border-bottom-color: var(--accent-secondary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}
