/* General body styles */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f6f2; /* Light beige background to evoke a farm/fresh feel */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the body takes up at least the full viewport height */
}

/* Content section style */
.content {
    flex-grow: 1; /* Makes sure the content area expands to fill available space */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Adds some padding to make the content not touch the edges */
}

/* Navbar container */
.navbar-container {
    width: 100%;
    display: flex;
    justify-content: center; /* Centers the navbar horizontally */
    align-items: center;
    margin-top: 10px;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: center; /* Centers navbar items */
    gap: 10px; /* Spacing between items */
    flex-wrap: wrap; /* Allows items to wrap for smaller screens */
}

/* Navbar button style */
.navbar .btn {
    background-color: #E6892F !important; /* Darker orange background color */
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    text-align: center;
    border: none; /* Ensures no border for buttons */
}

.navbar .btn:hover {
    background-color: #D47F00 !important; /* Very dark orange on hover */
}

.navbar .btn i {
    margin-right: 5px;
}

/* Button color for .btn-success (if it was previously being applied) */
.btn-success {
    background-color: #E6892F !important; /* Darker orange color */
    color: white !important;
}

.btn-success:hover {
    background-color: #D47F00 !important; /* Very dark orange on hover */
}

/* Header style */
.form-head {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Field column for inputs */
.field-column {
    margin-bottom: 15px;
}

/* Label and input styles */
.field-column label {
    display: block;
    color: #555;
    margin-bottom: 5px;
}

.demo-input-box {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; /* Ensures padding is included within the element's total width */
}

/* Adjust width for login and password fields */
.demo-input-box {
    max-width: 500px; /* Adjust the width to match your original design */
    margin: 0 auto; /* Centers the inputs on the screen */
}

/* Button style */
.btnLogin {
    width: 100%;
    padding: 12px;
    background-color: #E6892F !important; /* Same dark orange color */
    color: white !important;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.btnLogin:hover {
    background-color: #D47F00 !important;
}

/* Error message styling */
.error-info {
    color: red;
    font-size: 12px;
}

/* Error message container */
.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Contact information */
.contact-info {
    margin-top: 20px;
    text-align: center;
}

.contact-line {
    font-size: 14px;
    color: #333;
}

.contact-line a {
    color: #E6892F; /* Match the button color for links */
    text-decoration: none;
}

.contact-line a:hover {
    text-decoration: underline;
}

.email-info {
    font-size: 14px;
    color: #777;
}

/* Responsive design for mobile screens */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: center; /* Center the items vertically */
    }

    .navbar .btn {
        margin: 5px 0; /* Adjust margin for mobile */
        padding: 12px 25px; /* Adjust button padding */
        font-size: 14px;
    }

    .navbar .btn i {
        margin-right: 8px; /* Increase space between icon and text */
    }

    /* Adjust header font size */
    .form-head {
        font-size: 20px;
    }

    /* Adjust input box padding and font size */
    .demo-input-box {
        padding: 12px;
        font-size: 14px;
        width: 100%;
    }

    .btnLogin {
        padding: 14px;
        font-size: 14px;
    }

    .contact-line {
        font-size: 16px;
    }

    .email-info {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    /* Further adjustments for very small screens */
    .navbar .btn {
        margin: 5px 0; /* Adjust margins further for very small screens */
    }

    .demo-table {
        padding: 10px 20px;
    }

    .form-head {
        font-size: 18px;
    }

    .demo-input-box {
        padding: 10px;
        font-size: 14px;
        width: 100%;
    }

    .btnLogin {
        padding: 12px;
        font-size: 14px;
    }

    .contact-line {
        font-size: 14px;
    }

    .email-info {
        font-size: 14px;
    }
}
