/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: url('LOGIN.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Responsive: Use different background for small screens (e.g. mobile) */
@media (max-width: 768px) {
    body {
        background: url('loginMobile.png') no-repeat center center fixed;
        background-size: cover;
    }
}
/* Container Styling */
.container {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    color: #CF7629;
}

/* Input Fields */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #00b4d8;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 180, 216, 0.3);
}

/* Password Eye Icon */
.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 12px;
    right: 15px;
    cursor: pointer;
    color: #aaa;
    font-size: 20px;
}

/* Button */
button {
    width: 100%;
    padding: 12px;
    background-color: #CF7629;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #023e8a;
}

/* Forgot Password */
a {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #CF7629;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0077b6;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Maintenance Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeInOverlay 0.4s ease-out;
}

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

.maintenance-modal {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.maintenance-icon {
    font-size: 64px;
    color: #CF7629;
    margin-bottom: 20px;
}

.maintenance-modal h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 24px;
}

.maintenance-modal p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.helpdesk-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.helpdesk-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #CF7629;
    font-weight: 600;
}

.helpdesk-item:last-child {
    margin-bottom: 0;
}

.helpdesk-item ion-icon {
    font-size: 22px;
}

.close-modal-btn {
    background: #CF7629;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(207, 118, 41, 0.3);
}

.close-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(207, 118, 41, 0.4);
    background: #b66520;
}
