/* ==========================================================================
   Astraal Teal & Mint Green Theme Custom Styles
   ========================================================================== */
:root {
    --astraal-primary: #008080;      /* Signature Teal for buttons and links */
    --astraal-secondary: #73cba9;    /* Vibrant Teal for moving cards */
    --astraal-accent: #a3e635;       /* Bright Lime/Green for dot patterns */
    --astraal-dark: #111827;         /* Deep Charcoal for readable typography */
    --astraal-light: #eefbf4;        /* Soft Mint Green page background */
}

/* Global Page Context Adjustments */
body.login-page {
    background-color: var(--astraal-light) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Background Utilities */
.bg-astraal {
    background-color: var(--astraal-primary);
}

/* Custom Styled Components */
.btn-astraal {
    background-color: var(--astraal-primary) !important;
    border-color: var(--astraal-primary) !important;
    color: #ffffff !important;
    height: 46px;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.15);
}

.btn-astraal:hover {
    background-color: #0d6e6e !important;
    border-color: #0d6e6e !important;
    transform: translateY(-1px);
}

.nav-sidebar .nav-link.active {
    background-color: var(--astraal-primary) !important;
    color: #ffffff !important;
}

/* Master Display Split View Alignment Grid */
.split-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 980px;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   LEFT PANEL: CARDS ORBITAL CAROUSEL
   ========================================================================== */
.left-animated-panel {
    width: 520px;
    height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.grid-box {
    width: 440px;
    height: 540px;
    position: relative;
}

.orbit-card {
    position: absolute;
    width: 210px; 
    height: 160px;
    border-radius: 22px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-size: 0.95rem;
    font-weight: 600;
    animation: orbitalLoop 12s cubic-bezier(0.77, 0, 0.175, 1) infinite;
    
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

.orbit-card p {
    margin: 0;
    line-height: 1.4;
}

/* Standardized Icon Placement - Firmly locks ALL icons to top-left */
.orbit-card .icon-circle {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffffff;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Corner Accent Matrix Options */
.dot-pattern {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 35px;
    background-image: radial-gradient(var(--astraal-accent) 1.5px, transparent 1.5px);
    background-size: 8px 8px;
    opacity: 0.4;
}
.bottom-dots {
    top: auto;
    right: auto;
    bottom: 15px;
    left: 15px;
}

/* Card Visual Palette Configurations with Transparency */
.state-brand-primary { 
    background-color: rgba(82, 196, 152, 0.30); 
    color: #ffffff; 
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.state-brand-primary .icon-circle { color: var(--astraal-secondary); }

.state-brand-secondary { 
    background-color: rgba(230, 252, 245, 0.30); 
    color: var(--astraal-dark); 
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.state-transparent {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Animation Offsets Sequence */
.c1 { animation-delay: 0s; }
.c2 { animation-delay: -2s; }
.c3 { animation-delay: -4s; }
.c4 { animation-delay: -6s; }
.c5 { animation-delay: -8s; }
.c6 { animation-delay: -10s; }

@keyframes orbitalLoop {
    0%, 11.66% { transform: translate(0px, 0px); }
    16.66%, 28.33% { transform: translate(0px, 180px); }
    33.33%, 45.00% { transform: translate(0px, 360px); }
    50.00%, 61.66% { transform: translate(230px, 360px); }
    66.66%, 78.33% { transform: translate(230px, 180px); }
    83.33%, 95.00% { transform: translate(230px, 0px); }
    100% { transform: translate(0px, 0px); }
}

/* ==========================================================================
   RIGHT AREA: LOGIN FORM MODULE (OVERLAPPED & HIGHLIGHTED)
   ========================================================================== */
.right-form-panel {
    flex-grow: 1;
    max-width: 420px;
    margin-left: -50px;
    position: relative;
    z-index: 10;
}

.right-form-panel .login-box {
    width: 100% !important;
    margin: 0;
}

.right-form-panel .card {
    border-radius: 28px !important;
    border: none !important;
    box-shadow: 0 20px 50px rgba(0, 80, 80, 0.1) !important;
    overflow: hidden;
}

.right-form-panel .card-body {
    padding: 40px 34px !important;
}

.brand-title-wrap {
    margin-bottom: 22px;
}

.brand-title-wrap h2 {
    font-size: 1.8rem;
    color: var(--astraal-dark);
    font-weight: 700;
    margin: 0 0 4px 0;
}

.brand-title-wrap p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.welcome-msg-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--astraal-dark);
    margin: 0 0 16px 0;
}

.form-group label {
    font-weight: 500;
    color: #475569;
    font-size: 0.85rem;
}

.form-control {
    height: 44px !important;
    border-radius: 12px 0 0 12px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
}

.input-group-text {
    border-radius: 0 12px 12px 0 !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    color: #94a3b8 !important;
    width: 42px;
    justify-content: center;
}

.inline-options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}

.forgot-link-style {
    color: var(--astraal-primary) !important;
    font-weight: 600;
    font-size: 0.85rem;
}

.forgot-link-style:hover {
    text-decoration: underline !important;
}

.login-footer-branding {
    text-align: center;
    margin-top: 32px;
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Full-width trademark bar at the bottom of the login screen */
.login-trademark-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 10px 16px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffffff;
    background-color: var(--astraal-primary);
    box-shadow: 0 -4px 14px rgba(0, 80, 80, 0.15);
    z-index: 20;
}

body.login-page {
    padding-bottom: 60px;
}

@media (max-width: 950px) {
    .left-animated-panel { display: none !important; }
    .right-form-panel { margin-left: 0; max-width: 100%; }
    .split-wrapper { justify-content: center; }
}