:root {
    --primary: #5c67f2;
    --secondary: #eef2ff;
    --accent: #ff8c00;
    --text: #333;
    --light-text: #666;
    --bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --border: #e2e8f0;
    --header-font: 'Outfit', sans-serif;
    --body-font: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.navbar {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    margin-left: 1.5rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: opacity 0.3s;
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    min-height: 70vh;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.alert {
    padding: 1rem;
    background: #ffe5e5;
    border-left: 4px solid #ff4d4d;
    margin-bottom: 1.5rem;
}

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary);
}

.admission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--light-text);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(92, 103, 242, 0.1);
}

.admission-header {
    text-align: center;
    border-bottom: 2px solid var(--border);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.admission-header h1 {
    font-size: 1.8rem;
    text-decoration: underline;
    margin-bottom: 0.5rem;
}

.admission-header h2 {
    font-size: 1.2rem;
    color: var(--light-text);
}

.fee-info {
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.fee-info span {
    font-weight: 700;
}

.fees-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-weight: bold;
    color: #444;
}

.fees-list span {
    color: var(--primary);
}

.admin-table-container {
    overflow-x: auto;
    margin-top: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--secondary);
    color: var(--primary);
    font-weight: 700;
}

.badge {
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #dcfce7; color: #166534; }

.footer {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
    .admission-grid {
        grid-template-columns: 1fr;
    }
}
