﻿body {
    background: linear-gradient(135deg, #e0eafc, #cfdef3);
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 15px; /* Added padding for better mobile view */
}

.login-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px; /* Set a max width */
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0d6efd;
    font-size: 24px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #0d6efd;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #0a58ca;
    transform: translateY(-3px);
}

.form-control,
.form-select {
    border-radius: 8px;
}

/* Mobile input field structure */
.mobile-input {
    display: flex;
    align-items: center;
}

.mobile-input select {
    width: 40%;
    margin-right: 10px;
    min-width: 110px; /* Ensure the select is not too narrow */
}

.mobile-input input {
    flex: 1;
}

/* Responsive Design for smaller screens */
@media (max-width: 576px) {
    .login-container {
        padding: 20px;
    }

    .mobile-input select {
        width: 50%;
        margin-right: 5px; /* Reduce the margin */
    }

    .mobile-input input {
        width: 100%;
        padding-left: 8px;
    }
}
