/* Login Page Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #00A887 0%, #99E6D8 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.login-container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.login-header {
    margin-bottom: 30px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.3));
}

.login-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.login-brand-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.login-brand-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
    letter-spacing: 0.2px;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A887, #99E6D8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2em;
    color: white;
    box-shadow: 0 10px 30px rgba(0,168,135,0.3);
}

.login-header h1 {
    color: #00A887;
    margin-bottom: 10px;
    font-size: 1.8em;
}

.login-header p {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #00A887;
}

.form-input.error {
    border-color: #f56565;
}

.error-message {
    color: #f56565;
    font-size: 0.8em;
    margin-top: 5px;
    display: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9em;
    color: #666;
}

.checkbox-container input {
    margin-left: 8px;
}

.forgot-password {
    color: #00A887;
    text-decoration: none;
    font-size: 0.9em;
}

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

.btn {
    width: 100%;
    padding: 15px;
    background: #00A887;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #008F73;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.notification {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.register-link {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.register-link a {
    color: #00A887;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: 15px;
    }
    
    .login-form-container {
        padding: 30px 20px;
    }
    
    .login-logo {
        padding: 1rem;
    }
    
    .login-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .login-header h1 {
        font-size: 1.5em;
    }
    
    .form-input {
        padding: 12px;
    }
    
    .btn {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 10px;
    }
    
    .login-form-container {
        padding: 20px 15px;
    }
    
    .login-logo {
        padding: 0.8rem;
    }
    
    .login-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .login-header h1 {
        font-size: 1.3em;
    }
    
    .form-input {
        padding: 10px;
    }
    
    .btn {
        padding: 10px;
    }
}
