/* Login Modal Styles */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    padding: 60px 20px 20px; /* Increased top padding from 40px to 60px */
    z-index: 1001;
    transition: all 0.3s ease;
}

.login-modal-content {
    position: relative;
}

.close-modal {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    padding: 0 10px;
}

.close-modal:hover {
    color: #000;
}

.login-modal .login-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.login-modal .login-header img {
    max-width: 80px;
    display: block;
    margin: 0 auto;
    margin-top: -60px; /* Adjusted from -40px to -60px to accommodate the additional padding */
    margin-bottom: 15px;
    position: relative;
    z-index: 10;
}

.logo-center {
    background-color: #fff;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.login-modal .login-header h2 {
    margin: 10px 0;
    font-size: 24px;
}

.login-modal .form-group {
    margin-bottom: 15px;
}

.login-modal label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.login-modal input[type="text"],
.login-modal input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.login-modal .forgot-password {
    text-align: right;
    margin-top: 5px;
    font-size: 14px;
}

.login-modal .forgot-password a {
    color: #d66000;
    text-decoration: none;
}

.login-modal .forgot-password a:hover {
    text-decoration: underline;
}

.login-modal .remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.login-modal .remember-me input {
    margin-right: 8px;
}

.login-modal button {
    width: 100%;
    padding: 12px;
    background-color: #ffcb00;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-modal button:hover {
    background-color: #f0bd00;
}

.login-modal .signup-button-container {
    margin-top: 15px;
    text-align: center;
}

.login-modal .btn-signup {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #ff7300;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.login-modal .btn-signup:hover {
    background-color: #ce5e02;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
