/* Basic Resets and Body Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5A4400; /* Dominant warm brown background */
    color: #FFF4D2; /* Light text for contrast */
}

/* Styling for Landing Container on Home Page */
.landing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    text-align: center;
}

.welcome-section {
    width: 90%;
    max-width: 600px;
}

.logo img {
    width: 120px;
    margin-bottom: 20px;
}

h1, p {
    margin-bottom: 1.5em;
}

/* Call-to-Action Button Styling */
.cta-btn {
    padding: 10px 20px;
    font-size: 1.1em;
    background-color: #FFCA4B;
    color: #5A4400;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #E6B63F;
}

/* Login Container and Form Styling */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background: #FFF4D2; /* Soft yellow container */
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-group {
    width: 90%;
    position: relative;
    margin-bottom: 20px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #FFCA4B;
    border-radius: 5px;
    background-color: transparent;
    color: #5A4400;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #E6B63F;
    outline: none;
}

label {
    color: #FFCA4B;
    position: absolute;
    left: 10px;
    top: -14px;
    background: #FFF4D2;
    padding: 0 5px;
    transition: all 0.3s;
}

input:focus + label {
    color: #D6A830;
}

/* Login Button Styling */
.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #FFCA4B;
    color: #5A4400;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #E6B63F;
}

/* Alert Styling */
.alert {
    width: 100%;
    padding: 10px;
    text-align: center;
    background-color: #FFF3C2;
    color: #7A4D00;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #FFB84D;
}

/* Sidebar Styling for mobile and desktop */
.sidebar {
    position: fixed;
    height: 100%;
    width: 0;
    background: #5A4400;
    overflow-x: hidden;
    transition: 0.3s;
    top: 0;
    left: 0;
    z-index: 1000;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #FFF4D2;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: #FFCA4B;
}

.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #FFFFFF;
}

@media (min-width: 768px) {
    .sidebar {
        width: 250px;
    }

    .main-content {
        margin-left: 250px;
    }

    .menu {
        display: flex;
        align-items: center;
    }

    .menu-icon {
        display: block;
    }
}

@media (max-width: 767px) {
    .sidebar {
        width: 250px;
    }

    .sidebar.active {
        width: 250px;
    }

    .menu-icon {
        display: block;
    }

    .menu {
        display: none;
    }
}
