﻿:root {
    --primary-color: #063879;
    --secondary-color: #858796;
    --lightgreen-color: #67BC45;
    /* The gradient below is no longer used for the body bg, replaced by image */
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

html,
body {
    height: 100%;
    overflow: hidden;
    margin: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    /* LIGHT OVERLAY: Adjust the 0.7 to 0.8 for even lighter, or 0.5 for darker */
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('/Images/BG/educ.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

.login-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 980px;
    height: 550px;
    /* Controlled height for proper proportions */
    overflow: hidden;
    border: none;
}

.row,
.col-lg-6 {
    height: 100%;
}

/* --- Left Banner Section --- */
.login-banner {
    /* background-image: linear-gradient(45deg, #4e73df 0%, #224abe 100%); */
    background: url("/Images/BG/edu.png");
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertical alignment */
    align-items: center;
    padding: 30px;
    position: relative;
    text-align: center;
    background-size: contain;
}

    .login-banner::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
    }

.vector-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 280px;
    /* Slightly smaller for better padding */
    margin-bottom: 15px;
}

.banner-text {
    position: relative;
    z-index: 2;
}

    .banner-text h2 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    .banner-text .lead {
        font-size: 0.95rem;
        /* opacity: 1.2; */
        margin: 0;
        padding: 0 10px;
    }

/* --- Right Form Section --- */
.login-form-section {
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .login-form-section h3 {
        font-size: 1.75rem;
        color: #333;
    }

.form-label-custom {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.input-group {
    margin-bottom: 18px;
}

.input-group-text {
    background-color: #f8f9fc;
    border: 1px solid #d1d3e2;
    border-right: none;
    color: var(--lightgreen-color);
    border-radius: 10px 0 0 10px;
}

.form-control {
    background-color: #f8f9fc;
    border: 1px solid #d1d3e2;
    border-left: none;
    padding: 10px 15px;
    font-size: 0.9rem;
    border-radius: 0 10px 10px 0;
}

    .form-control:focus {
        box-shadow: none;
        border-color: var(--primary-color);
        background-color: #fff;
    }

.btn-login {
    background-color: var(--lightgreen-color);
    border: none;
    padding: 11px;
    font-weight: 600;
    border-radius: 10px;
    font-size: 0.95rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background-color: #55ad32;
        transform: translateY(-1px);
    }

.forgot-pass {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-text {
    color: #095797 !important;
    font-weight: 600;
}

/* --- Animations --- */

/* Continuous Floating */
@keyframes float {

    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Continuous Bar Growth (Bottom to Top) */
@keyframes chart-grow-continuous {
    0% {
        transform: scaleY(0.3);
        opacity: .6;
    }

    25% {
        transform: scaleY(1);
        opacity: 1;
    }

    75% {
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        transform: scaleY(0.3);
        opacity: .6;
    }
}

.anim-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes line-draw {
    0% {
        stroke-dasharray: 0 200;
    }

    100% {
        stroke-dasharray: 200 0;
    }
}

.anim-line {
    stroke-dasharray: 200;
    animation: line-draw 3s ease-in-out infinite;
}

.anim-chart {
    transform-origin: bottom;
    animation: chart-grow-continuous 3s ease-in-out infinite;
}

@keyframes ring-spin {
    0% {
        stroke-dashoffset: 130;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.anim-ring {
    animation: ring-spin 3s ease-in-out infinite;
}

@media (max-width: 992px) {
    .login-card {
        height: auto;
        max-width: 500px;
    }

    .login-form-section {
        padding: 40px 30px;
    }
}

@media (min-width: 320px) {
    .footer-text1 {
        font-size: 0.65rem;
    }
}

@media (min-width: 375px) {
    .footer-text1 {
        font-size: .75rem !important;
    }
}

@media (min-width: 576px) {
    .footer-text1 {
        font-size: 0.99rem;
    }
}

.text-muted {
    --bs-text-opacity: 1;
    color: #6c757d !important;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 6px 12px;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    transition: background-color 0.3s;
}

    .store-btn:hover {
        background-color: #f1f1f1;
    }

    .store-btn img {
        height: 24px;
        margin-right: 8px;
    }

.store-text {
    line-height: 1;
}

    .store-text small {
        display: block;
        font-size: 10px;
    }

    .store-text strong {
        font-size: 14px;
    }
