/* General styles for both desktop and mobile views (base styles) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: small;
}

body, html {
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background: #f0f0f0;
}

.login-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Left Section with Background and Text (Desktop) */
.left-section {
    background: url('../../Upload/this one.jpeg') no-repeat center center/cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place it behind other elements */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
    overflow: hidden; /* Ensure the pseudo-element stays within bounds */
}

.left-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.66); /* Black overlay with 66% opacity */
    z-index: 1; /* Ensure it stays above the background image */
}

.left-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit; /* Inherit the background image */
    filter: blur(4px); /* Apply blur effect */
    z-index: 0; /* Ensure it stays below the overlay */
    transform: scale(1.05); /* Slightly scale up to cover edges */
}

.text-container {
    position: absolute;
    top: 50%;
    left: 11%; /* Adjusted to the left side */
    transform: translateY(-50%);
    text-align: left; /* Align text to the left */
    z-index: 2;
    color: white;
}

h1 {
    font-size: 96px;
    font-family: 'Petrona', sans-serif;
    font-weight: bold;
    color: rgba(0, 174, 32, 0.88);
    text-shadow: 
        -1px -1px 0 #fff,  
        1px -1px 0 #fff,  
        -1px 1px 0 #fff,  
        1px 1px 0 #fff;
    margin-bottom: 0;
}

p {
    font-family: 'Abel', sans-serif;
    font-size: 32px;
    color: #fff;
    margin-top: 0;
    margin-left: 30px;
}

.logo-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    margin-bottom: 0;
}

.logo:nth-child(1) {
    width: 131px;
    height: 127px;
}

.logo:nth-child(2) {
    width: 152px;
    height: 140px;
}

/* Right Section with Login Form (Desktop) */
.right-section {
    width: 62%;
    max-width: 510px;
    background: rgba(236, 236, 236, 0.9);
    padding: 37px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(75, 75, 75, 0.575);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 10%; /* Semi-bottom spacing */
    position: absolute;
    right: 90px; /* Positioned to the right side */
    top: 50%;
    transform: translateY(-50%);
}

/* Form Styling */
.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Input Fields */
.login-form input {
    padding: 12px;
    margin-bottom: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    box-shadow: inset 0 1px 3px rgba(0, 179, 54, 0.1);
}

/* Password Container */
.login-form .password-container {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Ensure alignment with other input fields */
    margin-bottom: 12px;
}

.login-form .password-container input[type="password"] {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    box-shadow: inset 0 1px 3px rgba(0, 179, 54, 0.1);
}

/* Show Password Checkbox and Label */
.login-form .show-password-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 12px; /* Added margin-top to separate from input fields */
    margin-bottom: 32px;
}

.login-form .show-password-container input[type="checkbox"] {
    margin-right: 40px;
}

.login-form .show-password-container label {
    font-size: 12px;
    color: #333;
    cursor: pointer;
    margin: 0;
}

/* Button Styling */
.login-form button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease-in-out
}

.login-form button:hover {
    background: #0056b3;
}



/* Responsive Mobile View */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .left-section {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: cover;
        top: 0;
        left: 0;
    }

    .text-container {
        position: relative;
        top: 6px;
        left: auto;
        /* transform: none; */
        text-align: center;
        margin-top: 5px;
        margin-bottom: 170px;
    }

    h1 {
        font-size: 70px;
    }

    p {
        font-size: 18px;
        margin-left: 0;
    }

    .logo-container {
        position: relative;
        left: auto;
        bottom: 200px;
        margin-top: 2px;
    }

    .logo:nth-child(1) { 
        width: 69px; /* Adjust the width as needed */ 
        height: 69px; /* Maintain aspect ratio */ 
    } 
    
    .logo:nth-child(2) { 
        width: 80px; /* Adjust the width as needed */ 
        height: 70px; /* Maintain aspect ratio */ 
    }

    .right-section {
        width: 90%;
        max-width: none;
        padding: 20px;
        margin: 35px 0 0 0 ;
        position: relative;
        top: 128px;
        right: auto;
        transform: none;
        box-shadow: none;
    }

    .login-form input,
    .login-form button {
        font-size: 14px;
        padding: 10px;
    }

    .login-form .password-container {
        margin-bottom: 20px;
    }

    .login-form .show-password-container {
        margin-top: 10px;
        margin-bottom: 20px;
    }
}

.centered-text {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Ensure it takes up the full height of the parent container */
    margin-top: 20px; /* Adjust as needed to give space above the text */
}

.tryout-text {
    color: #000000; /* Blue color for the link */
    cursor: pointer;
    
}

.tryout-text:hover {
    text-decoration: none; /* Optional: removes underline on hover */
    color: #007bff; /* Blue color for the link */
}

