﻿/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Container for centering the login form */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Login Form Box */
.login-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px; /* Reduced max-width */
}

    /* Login Title */
    .login-box h1 {
        text-align: center;
        color: #6A7C2D; /* Terracotta Green */
        font-size: 1.5rem; /* Smaller title font size */
        margin-bottom: 20px;
    }

/* Form Fields */
.form-floating {
    margin-bottom: 15px; /* Reduced margin-bottom */
}

    .form-floating label {
        font-weight: 600;
        color: #6A7C2D; /* Terracotta Green */
        font-size: 0.9rem; /* Smaller label font size */
    }

    .form-floating .form-control {
        border-radius: 4px;
        padding: 10px; /* Reduced padding */
        border: 1px solid #ccc;
        font-size: 0.95rem; /* Smaller input font size */
        width: 100%;
    }

        .form-floating .form-control:focus {
            border-color: #6A7C2D; /* Terracotta Green */
            box-shadow: 0 0 5px rgba(106, 124, 45, 0.5);
        }

/* Remember me checkbox */
.checkbox {
    margin-bottom: 15px; /* Reduced margin-bottom */
}

    .checkbox label {
        font-weight: 600;
        color: #6A7C2D; /* Terracotta Green */
        font-size: 0.9rem; /* Smaller font size */
    }

    .checkbox input {
        margin-right: 8px;
    }

/* Button */
button {
    width: 100%;
    padding: 12px; /* Reduced padding */
    background-color: #d18904; /* Mustard Yellow */
    color: white;
    font-size: 1rem; /* Smaller font size */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button:hover {
        background-color: #A7892F;
    }

/* Links (forgot password, register, etc.) */
p {
    text-align: center;
    font-size: 0.9rem; /* Smaller link font size */
}

a {
    color: #6A7C2D; /* Terracotta Green */
    text-decoration: none;
    font-weight: 600;
}

    a:hover {
        text-decoration: underline;
    }

/* Error message */
.text-danger {
    color: #F44336; /* Red */
}

/* Responsive Design */
@media (max-width: 767px) {
    .login-box {
        padding: 20px; /* Reduced padding */
    }

        .login-box h1 {
            font-size: 1.4rem; /* Smaller title for mobile */
        }

    .form-floating .form-control {
        padding: 10px; /* Smaller input padding */
        font-size: 0.9rem; /* Smaller input font size */
    }
}


