/* Import Stylish Slab Serif font */
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');

/* General Reset */
body {
    margin: 0;
    padding: 0;
    font-family: 'Staatliches', serif; /* Apply Slab Serif font */
    background: linear-gradient(45deg, 
        #499171, 
        #306B50, 
        #154d34
    );
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-weight: normal; /* Keep text normal except for headings */
     font-family: 'Staatliches', serif;
}

/* Main Container */
.container {
    display: flex;
    width: 80%;
    max-width: 900px;
    height: 80vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
}

/* Left Section - SVG */
.left-section {
    flex: 1;
    background: #0000;
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
    height:100%;
}

.left-section img {
    width: 80%;
    max-width: 300px;
}

/* Right Section - Form */
.right-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Form */
form {
    width: 100%;
    max-width: 350px;
    text-align: center;
}

/* Login Heading */
form h1 {
    font-size: 2.5rem; /* Larger size */
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black, 2px 2px 0 black; /* Black border */
}

/* Inputs */
form input {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid black;
    font-size: 1rem;
    background: white;
    color: black;
    outline: none;
    font-weight: normal;
    box-sizing: border-box;
}

/* Buttons */
form button {
    width: 90%;
    padding: 12px;
    background: black;
    color: white;
    font-size: 1rem;
    font-weight: normal;
    border: 2px solid black;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Button Hover */
form button:hover {
    background: white;
    color: black;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

/* Links */
form a {
    display: block;
    margin-top: 10px;
    text-decoration: none;
    color: black;
    font-size: 1rem;
    transition: color 0.3s ease;
}

form a:hover {
    color: white;
}

/* Error Message */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

/* Style for select dropdown */
select {
    width: 90%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #000; /* Black border */
    border-radius: 0; /* No border radius for a minimalist look */
    background: #fff; /* White background */
    color: #000; /* Dark text */
    font-size: 1rem;
    font-family: 'Slabo 27px', serif;
    font-weight: bold;
    appearance: none; /* Remove default dropdown arrow (optional) */
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Dropdown arrow styling (optional, requires additional HTML structure) */
select::-ms-expand {
    display: none; /* Hide default arrow in IE */
}

/* Style on focus */
select:focus {
    border-color: #2575fc; /* Highlight border on focus */
    outline: none;
}

/* Option styles */
option {
    background: #fff; /* White background */
    color: #000; /* Black text */
    font-size: 1rem;
}

/* Hover effect for options (some browsers) */
select:hover {
    border-color: #6a11cb; /* Darker highlight */
}
@media (min-width: 769px) {
    .left-section {
        background: #ffffff; /* White background for left section on large screens */
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Main container */
    .container {
        flex-direction: column;
        width: 100%; /* Full width on mobile */
        height: 100vh; /* Full height */
        box-shadow: none; /* Remove shadow on mobile */
        justify-content: center; /* Center content vertically */
        align-items: center; /* Center content horizontally */
    }

    /* Left section (SVG) */
    .left-section {
        display: none; /* Hide the left section on mobile */
    }

    /* Right section (form) */
    .right-section {
        width: 100%;
        padding: 20px;
        display: flex;
        justify-content: center; /* Center the form */
        align-items: center;
        min-height: 100vh; /* Full height to center the form vertically */
    }

    /* Form */
    form {
        width: 100%; /* Full width */
        max-width: 400px; /* Ensure form is not too wide */
        padding: 30px;
        background: rgba(255, 255, 255, 0.1); /* Maintain semi-transparent background */
        backdrop-filter: blur(10px);
        border-radius: 10px;
        box-shadow: none; /* Remove box shadow */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Heading */
    form h1 {
        font-size: 2rem; /* Adjust size for mobile */
        margin-bottom: 20px;
    }

    /* Input and button */
    form input, form button, form select {
        width: 100%; /* Ensure inputs take full width */
    }

    /* Form button hover */
    form button:hover {
        box-shadow: none; /* Remove hover shadow on mobile */
    }
}

/* For Webkit Browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 8px; /* Slim scrollbar width */
}

::-webkit-scrollbar-track {
    background: #f0f0f0; /* Light gray track */
    border-radius: 10px; /* Soft rounded corners */
}

::-webkit-scrollbar-thumb {
    background: #154d34; /* Dark green thumb */
    border-radius: 10px; /* Soft rounded edges */
    border: 2px solid #f0f0f0; /* Space between thumb and track */
}

::-webkit-scrollbar-thumb:hover {
    background: #306B50; /* Lighter green on hover */
}

/* For Firefox */
* {
    scrollbar-width: thin; /* Slim scrollbar */
    scrollbar-color: #154d34 #f0f0f0; /* Thumb | Track */
}
