/*!-- 
Licensed to Lerion Jake Nwauda Digital Innovations.
Developed by Lerion Jake Nwauda Digital Innovations, a subsidiary of Joevichar Technologies LLC.
Unauthorized duplication or distribution is strictly prohibited.
Copyright © 2024 Lerion Jake Nwauda Digital Innovations & Joevichar Technologies LLC. All rights reserved.
-->
/* General Styling */
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #810081, #170049); /* Background color for the entire site */
}

.container.form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    height: 100vh; /* Ensure the content takes the full height of the viewport */
}

/* Adjust image container position */
.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    margin-top: 60px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.text {
    position: absolute;
    color: black;
    text-align: center;
    text-decoration:none !important;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.textmain {
    color: #ff00ff !important; /* Force pink color */
    text-decoration: none !important; /* Force no underline */
}

.textmain a {
    color: #ff00ff !important; /* Force pink color */
    text-decoration: none !important; /* Force no underline */
}

.text-1 {
    font-size: 24px;
    font-weight: bold;
}

.text-2 {
    font-size: 16px;
}

/* Form Section - Center the form */
.form-section {
    padding: 40px;
    background: white;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #170049;
    text-align: center;
}

.input-boxes {
    display: flex;
    flex-direction: column;
}

.input-box {
    position: relative;
    margin-bottom: 20px;
}

.input-box input {
    width: 100%;
    padding: 12px 40px;
    border-radius: 6px;
    border: 1px solid #170049;
    font-size: 14px;
}

.input-box i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #170049;
}

.button input {
    width: 100%;
    padding: 12px;
    background: #170049;
    color: white;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.button input:hover {
    background: #810081;
}

/* Fix the styling for Forgot Password */
.textmain a {
    color: #ff00ff !important; /* Force pink color */
    text-decoration: none !important; /* Force no underline */
    font-size: 14px;
    margin-top: 15px; /* Correct margin to create spacing between button and link */
    display: block;
    text-align: center;
}

/* Added CSS for the "Facing Issues" text */
.support-text {
    margin-top: 20px;
    text-align: center;
}

.support-text a {
    color: #ff00ff !important; /* Pink color for the support link */
    text-decoration: none;
}

.support-text a:hover {
    text-decoration: underline; /* Hover effect */
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #170049;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Add flex-direction to stack elements */
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 8px solid #ff9900;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
}

/* Preloader text */
.preloader-text {
    color: #ffffff;
    margin-top: 20px; /* Spacing from the spinner */
    font-size: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Navbar Styles */
.navbar {
    background: #170049;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .logo img {
    height: 60px;
}

/* Mobile Toggle Button (hamburger icon) */
.navbar .mobile-nav-toggle {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Sidebar Navigation Drawer for Mobile View */
.sidebar {
    height: 100%; /* Full height */
    width: 0; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    top: 0;
    left: 0; /* Slide in from the left */
    background-color: #170049; /* Sidebar background color */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* Smooth transition */
    padding-top: 60px; /* Spacing from the top */
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: #810081;
    color: #ff9900;
}

.sidebar .closebtn {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 36px;
}

/* Sidebar overlay when active */
.overlay {
    position: fixed;
    display: none; /* Hidden by default */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000; /* Below the sidebar */
    transition: 0.5s;
}

/* Sidebar and Overlay Visible only in Mobile View */
@media (max-width: 768px) {
    /* Display toggle button on mobile view */
    .navbar .mobile-nav-toggle {
        display: block;
    }

    /* Show sidebar in mobile when width > 0 */
    .sidebar.active {
        width: 250px;
    }

    /* Show overlay when active */
    .overlay.active {
        display: block;
    }

    /* Hide the regular desktop menu on mobile */
    .nav-menu {
        display: none;
    }
}

/* Desktop View Styles */
@media (min-width: 769px) {
    .sidebar {
        display: none;
    }

    .overlay {
        display: none;
    }

    /* Regular desktop menu (nav-menu) */
    .nav-menu {
        display: flex; /* Ensure the menu is shown on desktop */
        justify-content: flex-end;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-menu li {
        margin: 0 15px;
    }

    .nav-menu li a {
        color: white;
        font-weight: bold;
        text-transform: uppercase;
        padding: 8px 20px;
    }

    .nav-menu li a:hover {
        color: #ff9900;
        text-decoration: none;
    }
}


/* Mobile View - Adjust login container and centering */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        display: none;
        background: #170049;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
    }

    .navbar ul.active {
        display: flex;
    }

    .mobile-nav-toggle {
        display: block;
        font-size: 24px;
        color: white;
        cursor: pointer;
    }

    .form-container {
        flex-direction: column;
        justify-content: center; /* Ensure center alignment */
        margin-top: 20px; /* Add margin to move the form down */
    }

    .image-container {
        display: none; /* Hide image container on mobile */
    }

    .form-section {
        width: 100%;
        max-width: 100%; /* Full width on mobile */
    }
}

/* Footer */
footer {
    background: #170049;
    padding: 20px;
    text-align: center;
    color: white;
    margin-top: 40px;
}

footer a {
    text-decoration: none;
    color: white;
}

footer a:hover {
    color: #ff6500;
}
