/* 🎨 Modern Professional Theme */
:root {
    --primary: #8b5cf6;    /* Purple Accent */
    --secondary: #3b82f6;  /* Cyber Blue */
    --bg-dark: #0f172a;    /* Deep Navy */
    --glass: rgba(255, 255, 255, 0.05);
    --text: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    color: var(--text);
    min-height: 100vh;
    padding: 40px 20px;
}

/* 🏆 Dashboard Title */
h1.main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 40px;
    background: linear-gradient(to right, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 🧪 Glass Form Container */
.container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.f h1 {
    font-style: normal;
    background: none;
    border: none;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text);
}

/* ⌨️ Modern Inputs */
.aa {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
    border-radius: 12px;
    color: white;
    margin-bottom: 15px;
    transition: 0.3s;
}

.aa:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

/* 🚀 Action Buttons */
.bb {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 15px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bb:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    filter: brightness(1.1);
}

/* 👥 Students Grid Dashboard */
.students-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.student-card {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    transition: 0.3s;
}

.student-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.student-card img {
    width: 110px;
    height: 110px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid var(--secondary);
    margin-bottom: 15px;
}

.student-card h1 {
    font-size: 1.25rem;
    background: none;
    border: none;
    color: white;
    margin: 10px 0;
}

.student-card p {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* 🛠️ Control Buttons */
.button1 {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.btn2, .btn3 {
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn2 { background: #ef444420; color: #f87171; border: 1px solid #ef444440; }
.btn3 { background: #10b98120; color: #34d399; border: 1px solid #10b98140; }

.btn2:hover { background: #ef4444; color: white; }
.btn3:hover { background: #10b981; color: white; }