* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #101C41 0%, #1F3674 50%, #2B7D76 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #101C41 0%, #1F3674 100%);
    padding: 40px 30px;
    text-align: center;
}

.login-header img {
    max-width: 250px;
    margin-bottom: 20px;
}

.login-header h1 {
    color: white;
    font-size: 24px;
    margin: 0;
}

.login-body {
    padding: 40px 30px;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #2B7D76;
    box-shadow: 0 0 0 3px rgba(43, 125, 118, 0.1);
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2B7D76 0%, #94D0CF 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(43, 125, 118, 0.3);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #9ca3af;
    font-size: 14px;
}

.sso-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sso-btn:hover {
    border-color: #2B7D76;
    background: #EDE4DC;
}

.sso-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sso-btn img {
    width: 20px;
    height: 20px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
    font-size: 13px;
}

@media (max-width: 480px) {
    .login-container {
        border-radius: 0;
    }

    .login-body {
        padding: 30px 20px;
    }
}