﻿:root {
    --abattah-navy: #0f172a;
    --abattah-blue: #1e40af;
    --abattah-cyan: #22d3ee;
    --abattah-gold: #f0b429;
}

/* FAST Animated Background */
.animated-bg, .animated-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.animated-bg {
    z-index: -2;
}

.animated-bg-overlay {
    z-index: -1;
}

/* Ensure the main container is on top */
.login-content-wrapper {
    position: relative;
    z-index: 10;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes overlayFloat {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 30px);
    }
}

/* Enhanced Glass Card - Larger */
.glass-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.6);
}

/* Large Floating Mascot */
.floating-mascot {
    animation: floatAnimation 4s ease-in-out infinite;
}

.mascot-large {
    max-height: 320px !important;
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-25px) rotate(5deg);
    }
}

.abattah-brand-side {
    background: linear-gradient(135deg, #0f172a, #1e40af) !important;
    position: relative;
    overflow: hidden;
}

.abattah-logo-circle {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 5px solid #22d3ee;
    transition: transform 0.3s ease;
}

    .abattah-logo-circle:hover {
        transform: scale(1.05);
    }

/* Expanded Form Controls */
.form-control, .form-control-lg, .form-control-solid {
    background-color: rgba(248, 250, 252, 0.95) !important;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    border-radius: 14px;
    font-size: 1rem;
    padding: 1rem 1.25rem;
    min-height: 56px;
}

    .form-control:focus, .form-control-lg:focus, .form-control-solid:focus {
        border-color: var(--abattah-cyan);
        box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.18);
        background-color: #fff !important;
        transform: translateY(-1px);
    }

    .form-control::placeholder, .form-control-lg::placeholder, .form-control-solid::placeholder {
        color: #94a3b8;
        font-size: 0.95rem;
    }

/* Expanded Button */
.btn-primary, .btn-lg.btn-primary {
    background: linear-gradient(90deg, #0e7490, #22d3ee) !important;
    border: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 14px;
    letter-spacing: 0.5px;
    font-size: 1rem;
    min-height: 56px;
}

    .btn-primary:hover, .btn-lg.btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(34, 211, 238, 0.4);
        background: linear-gradient(90deg, #0e7490, #67e8f9) !important;
    }

    .btn-primary:active, .btn-lg.btn-primary:active {
        transform: translateY(-1px);
    }

/* Label Styling - Larger */
.form-label {
    color: #475569;
    font-weight: 600;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

/* Alert Improvements - Larger */
.alert {
    border-radius: 14px;
    border: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
}

/* Link Styling */
.link-primary {
    color: #0e7490;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

    .link-primary:hover {
        color: #22d3ee;
        text-decoration: none;
    }

/* Badge Enhancement */
.badge {
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

/* Form Row Spacing - Expanded */
.fv-row {
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .mascot-large {
        max-height: 240px !important;
    }

    .abattah-logo-circle {
        width: 140px;
        height: 140px;
    }
}

/* Password Strength Indicator */
[data-kt-password-meter-control="highlight"] .bg-secondary {
    background-color: #e2e8f0 !important;
    transition: all 0.3s ease;
}

[data-kt-password-meter-control="highlight"] .bg-active-success {
    background-color: #10b981 !important;
}

/* Text Utilities */
.fs-2x {
    font-size: 2rem !important;
}

.fs-2qx {
    font-size: 2.25rem !important;
}

/* Card Padding - Expanded */
.p-10 {
    padding: 2.5rem !important;
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Checkbox Styling - Larger */
.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.2rem;
    border-radius: 6px;
}

.form-check-label {
    font-size: 0.95rem;
    color: #64748b;
    margin-left: 0.5rem;
}

/* Gap Utilities - Expanded */
.gap-5 {
    gap: 1.25rem !important;
}

/* Spinner Size */
.spinner-border-sm {
    width: 1.1rem;
    height: 1.1rem;
}

/* Validation Messages */
.text-danger {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* Page Container Padding - Expanded */
.py-15 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.px-12 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

@media (min-width: 992px) {
    .px-lg-25 {
        padding-left: 6rem !important;
        padding-right: 6rem !important;
    }
}

/* Title Spacing */
.mb-10 {
    margin-bottom: 2.5rem !important;
}

/* Input Focus Enhancement */
.form-control:focus, .form-control-lg:focus, .form-control-solid:focus {
    box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.18), 0 4px 12px rgba(0,0,0,0.08);
}

/* Button Shadow Enhancement */
.btn-primary, .btn-lg.btn-primary {
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

/* Card Shadow Enhancement */
.glass-card {
    box-shadow: 0 30px 60px rgba(0,0,0,0.12), 0 10px 20px rgba(0,0,0,0.08);
}
