/* WooCommerce Login Shortcode Styles - Ultra Modern Design */
.wc-login-shortcode-container {
    max-width: 480px !important; /* Reduzido de 520px */
    margin: 40px auto !important; /* Reduzido de 60px */
    padding: 40px 35px !important; /* Reduzido de 70px 60px */
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    background: linear-gradient(145deg, #ffffff, #f8f9fa) !important;
    position: relative !important;
    overflow: hidden !important;
}

.wc-login-shortcode-container::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 5px !important; /* Reduzido de 6px */
    background: linear-gradient(90deg, #3498db, #2980b9, #3498db) !important;
    background-size: 200% 100% !important;
    animation: gradientMove 8s ease infinite !important;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* CENTRALIZAÇÃO CORRIGIDA DA LOGO */
.login-logo-container {
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto 30px auto !important; /* Reduzido de 50px */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.login-logo {
    max-width: 80% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    transition: all 0.3s ease !important;
    object-fit: contain !important;
    /* Removendo o transform e left que estavam causando problema */
}

.login-logo:hover {
    transform: scale(1.05) !important; /* Corrigido - sem translateX */
}

.wc-form {
    margin-bottom: 30px !important; /* Reduzido de 50px */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.wc-form h3 {
    margin: 0 0 30px 0 !important; /* Reduzido de 50px */
    text-align: center !important;
    font-size: 26px !important; /* Reduzido de 32px */
    font-weight: 700 !important;
    color: #2c3e50 !important;
    letter-spacing: -0.5px !important;
}

.form-row {
    margin-bottom: 25px !important; /* Reduzido de 40px */
    position: relative !important;
}

.form-row:last-of-type {
    margin-bottom: 30px !important; /* Reduzido de 50px */
}

.form-row label {
    display: block !important;
    margin-bottom: 10px !important; /* Reduzido de 15px */
    font-weight: 600 !important;
    font-size: 14px !important; /* Reduzido de 15px */
    letter-spacing: 0.2px !important;
    transition: all 0.3s ease !important;
    color: #546e7a !important;
    text-transform: uppercase !important;
}

.form-row input {
    width: 100% !important;
    padding: 14px 18px !important; /* Reduzido de 18px 22px */
    font-size: 16px !important; /* Reduzido de 17px */
    border: 2px solid #e9ecef !important;
    border-radius: 10px !important;
    background-color: #f8f9fa !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.form-row button {
    width: 100% !important;
    padding: 16px !important; /* Reduzido de 20px */
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-size: 16px !important; /* Reduzido de 18px */
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3) !important; /* Reduzido */
}

/* IMPORTANTE: Corrigindo as mensagens de erro/sucesso que estão aparecendo sem texto */
.wc-form-error, .wc-form-success {
    padding: 18px !important; /* Reduzido de 22px */
    border-radius: 10px !important;
    margin-bottom: 25px !important; /* Reduzido de 35px */
    font-size: 15px !important; /* Reduzido de 16px */
    line-height: 1.5 !important;
    display: none !important; /* FORÇAR OCULTAR POR PADRÃO */
}

/* Apenas mostrar quando tiver conteúdo */
.wc-form-error:not(:empty), .wc-form-success:not(:empty) {
    display: flex !important;
}

.wc-form-error::before, .wc-form-success::before {
    font-family: dashicons !important;
    font-size: 20px !important; /* Reduzido de 24px */
    margin-right: 10px !important; /* Reduzido de 15px */
    font-weight: normal !important;
}

.wc-login-toggle {
    text-align: center !important;
    margin-top: 30px !important; /* Reduzido de 40px */
    padding-top: 30px !important; /* Reduzido de 40px */
    border-top: 1px solid #eee !important;
    position: relative !important;
}

.wc-login-toggle a {
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    padding: 8px 16px !important; /* Reduzido de 10px 20px */
    border-radius: 30px !important;
    font-size: 15px !important; /* Reduzido de 16px */
    display: inline-block !important;
    margin: 0 5px !important; /* Reduzido de 8px */
    position: relative !important;
    overflow: hidden !important;
}

/* User logged in state */
.user-logged-actions {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important; /* Reduzido de 15px */
    margin-top: 30px !important; /* Reduzido de 40px */
}

.user-logged-actions a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 12px 20px !important; /* Reduzido de 16px 25px */
    border-radius: 10px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 15px !important; /* Reduzido de 17px */
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important; /* Reduzido */
}

/* Password feedback */
.password-feedback {
    margin-top: 10px !important; /* Reduzido de 12px */
    padding: 5px !important; /* Reduzido de 8px */
    font-size: 13px !important; /* Reduzido de 14px */
    color: #7f8c8d !important;
    line-height: 1.4 !important;
}

/* Small screen adaptations */
@media (max-width: 576px) {
    .wc-login-shortcode-container {
        max-width: 100% !important;
        padding: 30px 25px !important; /* Reduzido de 45px 30px */
        margin: 20px auto !important;
        border-radius: 12px !important;
    }
    
    .wc-form h3 {
        font-size: 24px !important;
        margin-bottom: 25px !important; /* Reduzido de 35px */
    }
    
    .form-row {
        margin-bottom: 20px !important; /* Reduzido de 30px */
    }
    
    .form-row input, 
    .form-row button {
        padding: 12px !important; /* Reduzido de 15px */
        font-size: 15px !important;
    }
    
    .login-logo-container {
        margin-bottom: 25px !important; /* Reduzido de 35px */
    }
}

/* O resto do CSS original, mantido para compatibilidade mas com ajustes */
.password-strength {
    padding: 10px !important; /* Reduzido de 12px */
    margin-top: 12px !important; /* Reduzido de 15px */
    border-radius: 8px !important;
    text-align: center !important;
    font-size: 14px !important; /* Reduzido de 15px */
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.password-strength.weak {
    background-color: #ffecec !important;
    color: #e74c3c !important;
}

.password-strength.medium {
    background-color: #fff9ec !important;
    color: #f39c12 !important;
}

.password-strength.strong {
    background-color: #ecffec !important;
    color: #27ae60 !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.wc-form {
    animation: fadeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.form-row {
    animation: slideIn 0.4s ease-out forwards !important;
}

/* Loading State */
.form-row button.loading {
    position: relative !important;
    color: transparent !important;
}

.form-row button.loading::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 20px !important; /* Reduzido de 24px */
    height: 20px !important; /* Reduzido de 24px */
    margin: -10px 0 0 -10px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important; /* Reduzido de 3px */
    border-top-color: #fff !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Glassmorphism effect for container when option is selected */
.wc-login-shortcode-container.glass-effect {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important; /* Reduzido de 15px */
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Neu-morphism effect for container when option is selected */
.wc-login-shortcode-container.neu-effect {
    background: #f0f0f0 !important;
    box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff !important; /* Reduzido */
    border: none !important;
}