/* Material UI (MUI) Glassmorphism Login Styling */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

html {
    height: -webkit-fill-available;
}

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.25) 0%, transparent 45%),
                radial-gradient(circle at 90% 90%, rgba(14, 165, 233, 0.2) 0%, transparent 45%),
                #0f172a !important;
    color: #0f172a;
}

main {
    padding: 2rem 1rem;
}

.container-login,
.footer {
    max-width: 780px;
}

.container-login {
    min-height: 460px;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 102, 241, 0.2) !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-logo {
    width: 42%;
    background: rgba(241, 245, 249, 0.7);
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(226, 232, 240, 0.8) !important;
    position: relative;
    overflow: hidden;
}

.logo {
    object-fit: contain;
    max-width: 260px;
    max-height: 200px;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.05);
}

.box-login {
    width: 58%;
    padding: 3rem !important;
}

.box-login form {
    width: 100%;
}

#form-heading {
    font-weight: 800;
    font-size: 1.75rem;
    color: #0f172a;
    letter-spacing: -0.8px;
    margin-bottom: 1.75rem !important;
}

.form-floating {
    margin-bottom: 1.25rem;
}

.form-floating .form-control {
    border-radius: 14px;
    border: 1.5px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.9);
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-floating .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
    background: #ffffff;
}

.form-floating label {
    padding: 1rem 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.btn-primary#submit-button {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    border-radius: 14px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.3px;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.75rem;
}

.btn-primary#submit-button:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.55);
}

.footer {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 9999px !important;
    color: #cbd5e1 !important;
    font-size: 13px;
    font-weight: 600;
}

.footer span {
    color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 767.98px) {
    .container-login {
        min-height: auto;
    }

    .box-logo,
    .box-login {
        width: 100%;
    }

    .box-logo {
        border-right: none !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
        padding: 2rem 1rem !important;
    }

    .logo {
        max-height: 120px;
    }

    .box-login {
        padding: 1.75rem !important;
    }
}
