/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #020617, #0f172a);
    color: #e2e8f0;
}

/* ================= NAVBAR ================= */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.nav a {
    color: #94a3b8;
    margin-left: 20px;
    text-decoration: none;
}

/* ================= CENTER HERO (LOGIN/REGISTER) ================= */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= GLASS CARD ================= */
.glass-card {
    width: 400px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 40px rgba(99,102,241,0.2);
    text-align: center;
}

/* ================= TEXT ================= */
h1, h2 {
    margin-bottom: 15px;
}

p {
    color: #94a3b8;
}

/* ================= INPUT ================= */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    border: none;
    background: #334155;
    color: white;
    outline: none;
}

/* ================= BUTTON ================= */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    opacity: 0.9;
}

/* SMALL BUTTONS */
.btn-small {
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    margin: 2px;
    font-size: 13px;
}

.approve {
    background: #22c55e;
    color: white;
}

.reject {
    background: #ef4444;
    color: white;
}

/* ================= GRID (DASHBOARD) ================= */
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* ================= CARD ================= */
.card {
    width: 280px;
    margin: 15px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    text-align: center;
}

/* ================= ADMIN LAYOUT ================= */
.admin-container {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 220px;
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-right: 1px solid #1e293b;
}

.sidebar h2 {
    margin-bottom: 30px;
}

.sidebar a {
    display: block;
    padding: 12px;
    margin: 10px 0;
    border-radius: 8px;
    text-decoration: none;
    color: #94a3b8;
    transition: 0.3s;
}

.sidebar a:hover {
    background: #1e293b;
    color: white;
}

.active-tab {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: white !important;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    padding: 40px;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ================= TABLE ================= */
.table {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background: #1e293b;
    padding: 15px;
}

.table td {
    padding: 15px;
    border-bottom: 1px solid #334155;
}

/* ================= ALERTS ================= */
.error {
    color: #f87171;
    margin-bottom: 10px;
}

.success {
    color: #4ade80;
    margin-bottom: 10px;
}

/* ================= HR ================= */
hr {
    border: none;
    height: 1px;
    background: #334155;
    margin: 40px 0;
}

/* ================= BLINK DOT ================= */
.dot {
    height: 10px;
    width: 10px;
    background: red;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}