/* AUTH & ADMIN STYLES */

.auth-section {
    padding: 70px 5%;
    background: #f8fafc;
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: #ffffff;
    max-width: 520px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.auth-header {
    background: #020819;
    color: #ffffff;
    padding: 35px 30px 25px;
    text-align: center;
}

.auth-header span {
    color: #dc2626;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.auth-header h1 {
    font-size: 28px;
    margin: 8px 0;
    font-weight: 700;
}

.auth-header p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 0;
}

.auth-body {
    padding: 35px 30px;
}

.auth-submit {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 50px;
    background: #dc2626;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-submit:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 14px;
    color: #64748b;
}

.auth-footer a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ADMIN PORTAL STYLING */
.admin-section {
    padding: 40px 5% 80px;
    background: #f8fafc;
    min-height: 100vh;
}

.admin-header {
    background: #020819;
    color: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(2, 8, 25, 0.15);
}

.admin-badge {
    background: #dc2626;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.stat-card {
    background: white;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.users { background: #eff6ff; color: #2563eb; }
.stat-icon.offers { background: #fef2f2; color: #dc2626; }
.stat-icon.contacts { background: #ecfdf5; color: #059669; }
.stat-icon.consults { background: #fffbeb; color: #d97706; }

.stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-top: 4px;
}

/* Nav Pills */
.admin-tabs .nav-link {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    color: #475569;
    border: 1px solid #e2e8f0;
    background: white;
    margin-right: 10px;
    margin-bottom: 10px;
}

.admin-tabs .nav-link.active {
    background: #020819;
    color: white;
    border-color: #020819;
}

.admin-panel-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 25px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.panel-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

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

.table-custom thead th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
}

.table-custom tbody td {
    padding: 16px 18px;
    vertical-align: middle;
    color: #1e293b;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}

/* Offer Card */
.offer-card {
    background: #ffffff;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    padding: 20px;
    position: relative;
    transition: all 0.3s;
}

.offer-card.active-offer {
    border-color: #dc2626;
    background: #fff8f8;
}

.offer-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #dc2626;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.offer-code {
    background: #e2e8f0;
    color: #0f172a;
    font-family: monospace;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    letter-spacing: 1px;
}

/* Active users badge */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.status-pill.online {
    background: #dcfce7;
    color: #15803d;
}

.status-pill.user {
    background: #e0f2fe;
    color: #0369a1;
}

.status-pill.student {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.status-pill.admin {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}
