/* ==========================================================================
   PARENT PORTAL LOGIN - MODERN STATE-OF-THE-ART STYLING (SHARP CORNERS)
   ========================================================================== */

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

:root {
    --portal-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --brand-blue: #2563eb;
    --brand-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --card-glass: rgba(255, 255, 255, 0.95);
    --card-border: 1px solid rgba(226, 232, 240, 0.8);
    --card-shadow: 0 10px 25px -5px rgba(30, 41, 59, 0.08), 0 8px 10px -6px rgba(30, 41, 59, 0.04);
}

body {
    font-family: var(--portal-font) !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
    background-color: #f8fafc;
    color: #1e293b;
    position: relative;
    overflow-x: hidden;
}

/* ==========================================================================
   SOOTHING MOVING AMBIENT BACKGROUND
   ========================================================================== */

.ambient-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(at 0% 0%, rgba(219, 234, 254, 0.7) 0px, transparent 50%),
                radial-gradient(at 100% 0%, rgba(224, 231, 255, 0.7) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(209, 250, 229, 0.6) 0px, transparent 50%),
                radial-gradient(at 0% 100%, rgba(254, 243, 199, 0.5) 0px, transparent 50%),
                #f8fafc;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
    will-change: transform;
}

.ambient-orb-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    animation: floatOrb1 24s ease-in-out infinite alternate;
}

.ambient-orb-2 {
    bottom: -10%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: linear-gradient(135deg, #34d399, #10b981);
    animation: floatOrb2 28s ease-in-out infinite alternate;
}

.ambient-orb-3 {
    top: 35%;
    right: 25%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #a78bfa, #818cf8);
    animation: floatOrb3 32s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(90px, 70px) scale(1.1); }
    100% { transform: translate(-50px, 120px) scale(0.95); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(-120px, -80px) scale(1.15); }
    100% { transform: translate(60px, -130px) scale(0.9); }
}

@keyframes floatOrb3 {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(70px, -60px) scale(1.08); }
    100% { transform: translate(-80px, 50px) scale(0.95); }
}

/* ==========================================================================
   LOGIN CARD CONTAINER (SHARP CORNERS)
   ========================================================================== */

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

.login-card {
    background: var(--card-glass);
    border: var(--card-border);
    border-radius: 6px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-header {
    text-align: center;
    padding: 30px 20px 18px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}

.portal-title {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.3px;
    color: #0f172a;
    margin-bottom: 3px;
}

.portal-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
}

.form-control {
    border-radius: 4px !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    background: #ffffff !important;
    transition: all 0.15s ease;
}

.form-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.btn-login {
    background: var(--brand-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 12px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.15s ease !important;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important;
    color: #ffffff !important;
}

.portal-footer-text {
    text-align: center;
    margin-top: 18px;
    font-size: 11px;
    color: #64748b;
}
