﻿body {
    min-height: 100vh;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}


header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background-color: #fff;
    border-top: 8px solid #2e7d32;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

    header img {
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    header .logo {
        max-width: 180px;
    }

    header .logo-name {
        max-width: 200px;
    }

.logorecheader {
    background: linear-gradient(90deg, #2e7d32, #cddc39);
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

.section-title {
    background: #e8f5e9; 
    border-left: 5px solid #2e7d32; 
    padding: 10px 12px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

footer {
    background-color: #302f2f;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
}



.btn-primary {
    background: linear-gradient(90deg,#2563eb,#1d4ed8);
    border: none;
    color: #fff;
}

    .btn-primary:hover {
        background: linear-gradient(90deg,#1d4ed8,#2563eb);
        transform: scale(1.03);
    }



.btn-forgot {
    background-color: #f97e29;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

    .btn-forgot:hover {
        background-color: #ea580c;
        transform: scale(1.02);
        color: #fff;
    }



.steps-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

    .steps-nav li {
        display: flex;
        align-items: center;
        margin: 6px 8px;
        position: relative;
        color: #6c757d;
        font-weight: 500;
        min-width: 140px;
    }

        .steps-nav li .step-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 6px;
            font-size: 14px;
            background: #dee2e6;
            color: #6c757d;
            font-weight: bold;
            flex-shrink: 0;
        }

        .steps-nav li.active .step-icon {
            background: #0d6efd;
            color: #fff;
        }

        .steps-nav li.completed .step-icon {
            background: #198754;
            color: #fff;
        }

        .steps-nav li.active,
        .steps-nav li.completed {
            color: #212529;
            font-weight: 600;
        }

        /* Arrow Styling */
        .steps-nav li::after {
            content: "→";
            font-size: 18px;
            margin-left: 6px;
            color: #6c757d;
            opacity: 0.8;
            flex-shrink: 0;
        }

        .steps-nav li.active::after {
            color: #0d6efd;
        }

        .steps-nav li.completed::after {
            color: #198754;
        }

        .steps-nav li:last-child::after {
            content: "";
        }

/* Responsive tweaks */
@media (max-width: 576px) {
    .steps-nav {
        flex-direction: column;
        align-items: flex-start;
    }

        .steps-nav li {
            min-width: auto;
            margin: 6px 0;
        }

            .steps-nav li::after {
                display: none;
            }
}

/* Mobile view */
@media (max-width: 576px) {
    header {
        flex-direction: column;
        text-align: center;
    }

        header .logo,
        header .logo-name {
            max-width: 70%;
        }
}

/* ===== Full Screen Overlay ===== */

#overlayLoader {
    display: none;
}

#overlayLoader {
    position: fixed;
    inset: 0; /* top:0 left:0 right:0 bottom:0 */
    background: rgba(0, 0, 0, 0.45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

/* ===== Loader Box ===== */
.loader-container {
    background: #ffffff;
    padding: 28px 40px;
    border-radius: 12px;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    animation: scaleIn 0.25s ease-in-out;
}

/* ===== Spinner ===== */
.spinner {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border: 6px solid #e5e5e5;
    border-top: 6px solid #0d6efd; 
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

/* ===== Text ===== */
.loading-text {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.4px;
}

/* ===== Animations ===== */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0.85);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
