@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 20%, rgb(4, 8, 15) 0%, rgb(16, 24, 48) 90.1%);
    position: relative;
    overflow-x: hidden;
    padding: 20px;
}

/* Decorative background glowing blobs */
body::before, body::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
}

body::before {
    background: #3b82f6;
    top: 15%;
    left: 20%;
}

body::after {
    background: #8b5cf6;
    bottom: 15%;
    right: 20%;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    z-index: 1;
}

.login-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.login-logo svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.login-header h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container svg {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    color: #64748b;
    transition: color 0.2s ease;
    pointer-events: none;
}

.input-container input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
}

.input-container input:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.input-container input:focus {
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.input-container input:focus + svg {
    color: #3b82f6;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    opacity: 0.95;
}

.btn-submit:active {
    transform: translateY(1px);
}

.error-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 24px;
    text-align: left;
}

.error-banner svg {
    width: 20px;
    height: 20px;
    color: #ef4444;
    flex-shrink: 0;
}

.error-banner span {
    color: #fca5a5;
    font-size: 13.5px;
    font-weight: 500;
}

/* Footer / school reference */
.login-footer {
    margin-top: 24px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}
