/* ================= ROOT THEME ================= */
:root {
    --primary-blue: #0f172a;
    --accent-blue: #3b82f6;
    --accent-gold: #fbbf24;
    --bg-main: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-soft: rgba(0, 0, 0, 0.05);
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

/* ================= RESET ================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #eef3ff, #f8fbff);
    color: var(--text-dark);
}

/* ================= ROYAL COLLEGE HEADING ================= */

.college-heading.royal {
    position: relative;
    padding: 10px 0;
}

/* Main Name */
.college-heading.royal .college-name {
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fffaf0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 0 10px rgba(255, 215, 0, 0.35), 0 0 20px rgba(255, 215, 0, 0.25);
    position: relative;
    padding-bottom: 16px;
}

/* Royal Double Line */
.college-heading.royal .college-name::before,
.college-heading.royal .college-name::after {
    content: "";
    position: absolute;
    left: 0;
    height: 3px;
    border-radius: 3px;
}

.college-heading.royal .college-name::before {
    bottom: 6px;
    width: 160px;
    background: linear-gradient(90deg, #ffd700, #ffcc33, #ffd700);
}

.college-heading.royal .college-name::after {
    bottom: 0;
    width: 90px;
    background: linear-gradient(90deg, #ffeb99, #ffd700);
}

/* Tagline */
.college-heading.royal .college-tagline {
    margin-top: 6px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #e0e7ff;
    text-transform: uppercase;
}

/* Gold Shimmer Animation */
.college-heading.royal .college-name {
    background: linear-gradient(110deg, #fff3b0 10%, #ffd700 40%, #fff3b0 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 4s infinite linear;
}

@keyframes goldShimmer {
    0% {
        background-position: 0%
    }

    100% {
        background-position: 200%
    }
}


/* ================= HEADER ================= */
.site-header {
    background: linear-gradient(90deg, #0a3d91, #174ea6);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.main-title {
    font-family: 'Cinzel', serif;
    color: #fff;
    letter-spacing: 1px;
}

.site-header a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.site-header a:hover {
    text-decoration: underline;
}

/* ================= MAIN WRAPPER ================= */
.admin-main {
    padding: 30px 40px;
}

/* ================= GRID ================= */
.admin-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 30px;
    margin-top: 25px;
}

/* ================= CARDS ================= */
.light-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ================= FORM INPUTS ================= */
.form-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    padding: 12px 14px;
    font-size: 1rem;
    outline: none;
    background: #f9fbff;
}

.form-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ================= BUTTONS ================= */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
}

/* ================= SCROLL AREA ================= */
.scroll-box {
    overflow-y: auto;
    padding-right: 8px;
}

.scroll-box::-webkit-scrollbar {
    width: 8px;
}

.scroll-box::-webkit-scrollbar-thumb {
    background: linear-gradient(#c7d2fe, #93c5fd);
    border-radius: 10px;
}

/* ================= TABLE ================= */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: #f1f5ff;
    text-align: left;
    padding: 12px;
    font-size: 0.85rem;
    color: var(--primary-blue);
}

.table td {
    padding: 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid #eef2ff;
}

.table tr:hover {
    background: #f8fbff;
}

/* ================= FOOTER ================= */
.site-footer {
    background: #ffffff;
    padding: 15px 40px;
    border-top: 1px solid var(--border-soft);
    margin-top: 30px;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.footer-label {
    font-weight: 700;
    font-size: 0.9rem;
}