/* Fullscreen modal for login */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px; /* Added padding to ensure content is not too close to the edges on mobile */
}

/* Login form styling */
.login-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

/* Input fields */
.login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Button styling */
.login-box button {
    width: 100%;
    padding: 10px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-box button:hover {
    background-color: #005f8d;
}

/* Make the form mobile-friendly */
@media (max-width: 600px) {
    .login-box {
        max-width: 90%; /* Reduce width on smaller screens */
        padding: 15px;  /* Adjust padding for smaller screens */
    }
    
    .login-box input,
    .login-box button {
        font-size: 16px;  /* Increase font size for better readability on mobile */
    }
}
