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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-color, #f0f4f8) 0%, var(--bg-gradient, #dbeafe) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 440px;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 40px;
    text-align: center;
}

.logo {
    margin-bottom: 24px;
}

.logo img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary, #0573F0);
    letter-spacing: -0.5px;
}

.empresa-nome {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-top: 12px;
    letter-spacing: -0.3px;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
}

.credentials-box {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.credentials-box h4 {
    font-size: 13px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 8px;
}

.credentials-box p {
    font-size: 13px;
    color: #475569;
    margin: 4px 0;
}

.credentials-box code {
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #0369a1;
    border: 1px solid #e0f2fe;
}

.alert {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: left;
}

.alert-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #92400e;
    border: 1px solid #fde68a;
}

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

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

.label-icon {
    margin-right: 6px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary, #0573F0);
    background: white;
    box-shadow: 0 0 0 4px rgba(5, 115, 240, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.toggle-password:hover {
    opacity: 1;
}

.btn-login {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary, #0573F0) 0%, var(--primary-dark, #0460CC) 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(5, 115, 240, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

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

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding: 10px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 12px;
    color: #64748b;
}

.security-badge svg {
    width: 14px;
    height: 14px;
    color: #22c55e;
}

.footer-text {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    color: #94a3b8;
}

.footer-text a {
    color: var(--primary, #0573F0);
    text-decoration: none;
    font-weight: 500;
}

.footer-text a:hover {
    text-decoration: underline;
}

.wp-admin-link {
    margin-top: 16px;
}

.wp-admin-link a {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: none;
}

.wp-admin-link a:hover {
    color: var(--primary, #0573F0);
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 24px;
        border-radius: 16px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .logo img {
        max-width: 160px;
    }
}
