/* Reset and box-sizing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    padding-bottom: 5px; /* Space for the footer */
}

/* Container Styling */
.container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    text-align: center;
}

/* Logo Image Styling */
.logo-img {
    max-width: 120px;
    margin-bottom: 15px;
}

/* Login Console Styling */
#login-console {
    background-color: #333;
    color: white;
    padding: 10px;
    margin: 10px 0;
    height: 100px;
    overflow-y: auto;
    border-radius: 5px;
    font-family: monospace;
    font-size: 14px;
    border: 1px solid #444;
}

/* Input Field Styling */
input {
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Input Focus Effect */
input:focus {
    border-color: #f27a24;
    box-shadow: 0 0 8px rgba(242, 122, 36, 0.3);
    outline: none;
}

/* Button Styling */
button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: none;
    background-color: #f27a24;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.1s;
}

/* Button Hover and Active Effects */
button:hover {
    background-color: #e66d20;
    transform: scale(1.02);
}

button:active {
    transform: scale(0.98);
}

/* Scrollbar Styling */
#login-console::-webkit-scrollbar {
    width: 8px;
}

#login-console::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 10px;
}

/* Remember Me Checkbox and Label */
.remember-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 10px 0;
    font-size: 14px;
    color: #444;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #f27a24;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s;
}

input[type="checkbox"]:active {
    transform: scale(1.1);
}

/* Footer Styling */
.footer {
    background-color: #34495e; /* Updated color */
    color: white;
    text-align: center;
    padding: 15px 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
}

/* Footer Links Styling */
.footer-links {
    list-style: none; /* Remove bullet points */
    display: flex; /* Align links horizontally */
    gap: 15px; /* Space between links */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

.footer-links a {
    text-decoration: none; /* Remove underline */
    color: #f27a24; /* Link color */
    transition: color 0.3s, transform 0.2s; /* Smooth transition for hover effects */
    font-size: 14px; /* Set font size */
}

.footer-links a:hover {
    color: #e66d20; /* Change color on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.footer-links a:active {
    transform: scale(0.95); /* Shrink effect when clicked */
}

/* Responsive Behavior */
@media (max-width: 400px) {
    .container {
        padding: 15px;
    }
    input, button {
        font-size: 14px;
    }
    #login-console {
        height: 80px;
    }
    .footer-content {
        flex-direction: column;
        gap: 5px;
    }
    .footer-links {
        flex-direction: column; /* Stack links vertically on small screens */
    }
}
