body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 32px 28px 28px 28px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(8px);
    text-align: center;
    transition: box-shadow 0.3s;
    border: 1.5px solid rgba(90, 103, 216, 0.10);
}
.container:hover {
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.22);
}

h2 {
    color: #4f8cff;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(79, 140, 255, 0.08);
}

.input-group {
    display: flex;
    align-items: center;
    margin: 10px 0;
    background: #f4f8ff;
    border-radius: 6px;
    padding: 0 10px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(79, 140, 255, 0.04);
}
.input-group i {
    color: #4f8cff;
    margin-right: 10px;
    font-size: 1.1em;
}

input, select, button {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1.5px solid #e0e7ff;
    border-radius: 5px;
    font-size: 1em;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    background: #f9fbff;
}
input:focus, select:focus {
    border: 1.5px solid #4f8cff;
    box-shadow: 0 0 6px #4f8cff33;
    background: #fff;
}

button {
    background: linear-gradient(90deg, #4f8cff 0%, #6fd6ff 100%);
    color: white;
    cursor: pointer;
    border: none;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 12px rgba(79, 140, 255, 0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
button:hover {
    background: linear-gradient(90deg, #3578e5 0%, #4fd1c5 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 18px rgba(79, 140, 255, 0.18);
}
button.logout-btn {
    background: linear-gradient(90deg, #ff5858 0%, #f09819 100%);
    margin-top: 12px;
}
button.logout-btn:hover {
    background: linear-gradient(90deg, #e52e71 0%, #ff5858 100%);
}

.error-message {
    color: #e53e3e;
    font-size: 0.97em;
    margin-top: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

#loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}
#loading-spinner.active {
    display: flex;
}
.spinner-circle {
    border: 8px solid #e0e7ff;
    border-top: 8px solid #4f8cff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    box-shadow: 0 4px 24px rgba(79,140,255,0.15);
    background: rgba(255,255,255,0.7);
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 500px) {
    .container {
        padding: 18px 6px 18px 6px;
        max-width: 98vw;
    }
    h2 {
        font-size: 1.2em;
    }
    input, select, button {
        font-size: 0.98em;
        padding: 10px;
    }
}