/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Container */
.container {
    width: 100%;
    max-width: 450px;
}

/* Card */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logo Header */
.logo-header {
    text-align: center;
    margin-bottom: 35px;
}

.logo-header i {
    color: #667eea;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-header h1 {
    color: #2d3748;
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.tagline {
    color: #718096;
    font-size: 14px;
    font-weight: 500;
}

/* Form */
.login-form {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 22px;
    position: relative;
}

.input-group label {
    display: block;
    color: #4a5568;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-group label i {
    margin-right: 8px;
    color: #667eea;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 40px;
    cursor: pointer;
    color: #718096;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px;
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Disclaimer */
.disclaimer {
    background: #edf2f7;
    border-left: 4px solid #4299e1;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 25px;
    font-size: 13px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer i {
    color: #4299e1;
}

/* Message Display */
.message {
    padding: 16px;
    border-radius: 10px;
    margin: 20px 0;
    display: none;
    animation: fadeIn 0.5s;
}

.message.success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
    display: block;
}

.message.error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
    display: block;
}

.message.processing {
    background: #bee3f8;
    color: #2a4365;
    border: 1px solid #90cdf4;
    display: block;
}

/* Debug Info */
.debug-info {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
}

.debug-info h3 {
    color: #2d3748;
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.debug-info p {
    color: #718096;
    font-size: 14px;
    margin-bottom: 5px;
}

.debug-info code {
    background: #edf2f7;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 25px;
    }
    
    .logo-header h1 {
        font-size: 24px;
    }
}