/* Background Decorative Blobs */
body::before,
body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.5;
}

body::before {
    width: 400px;
    height: 400px;
    background: #3b82f6;
    /* Blue */
    top: -100px;
    left: -100px;
}

body::after {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    /* Purple */
    bottom: -50px;
    right: -50px;
}

.content-wrapper {
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header text */
.header-section {
    text-align: center;
    margin-bottom: 35px;
}

.header-title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Login Card */
.login-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    padding: 45px 35px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.login-card h2 {
    text-align: center;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 26px;
    font-weight: 700;
}

.login-card p.subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 35px;
    font-size: 14px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 700;
    font-size: 13px;
    padding-left: 4px;
}

.form-group input {
    width: 100%;
    padding: 15px 18px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 15px;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-group input:focus {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.5);
}

.btn-login:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px -5px rgba(59, 130, 246, 0.4);
}

.error-msg {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #ef4444;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-size: 13px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.role-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
}

.role-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-btn.active {
    background: #ffffff;
    color: #3b82f6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}