* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #D3D3D3;
    min-height: 100vh;
    padding: 40px 20px;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    color: #000000;
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.school-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.school-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    margin: 0 auto;
}

.login-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

h1 {
    color: #1e3a8a;
    margin-bottom: 30px;
    font-size: 28px;
}

.school-name {
    color: #000000;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 600;
}

.badge-link {
    display: block;
    text-decoration: none;
}

.school-badge {
    max-width: 100px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.school-badge:hover {
    transform: scale(1.1);
}

.error {
    color: #e74c3c;
    padding: 20px;
    background: #fadbd8;
    border-radius: 10px;
}

/* Login Form Styles */
.login-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.4);
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #3b82f6;
}
