﻿/* === Base Styles === */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f7f6;
}

/* === Navbar Styles === */
.navbar {
    background-color: #343a40 !important;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
}

.navbar-nav .nav-link {
    
    font-size: 16px;
    padding: 8px 15px;
}

    .navbar-nav .nav-link:hover {
        color: #00bcd4 !important;
    }

/* === Main Content === */
.main-content {
    padding: 20px;
    /* Ensures the content fills the remaining space between the header and footer */
    min-height: calc(100vh - 120px); /* Adjust 120px based on the total height of the navbar and footer */
}

/* === Login Page Styles === */
.container.custom-container {
    max-width: 450px;
    padding: 20px;
    background: rgba(175, 210, 125, 0.8);
    border-radius: 10px;
    box-shadow: 4px 8px 15px rgba(0, 0, 0, 0.3);
}

.switch {
    display: flex;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

    .form-control:focus {
        border-color: #007bff;
        outline: none;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    }

.btn-primary {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

/* === Fixed Footer === */
footer {
    background: #343a40;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .container.custom-container {
        max-width: 100%;
        margin: 10px;
        padding: 15px;
    }
}
