/* Extraido de page-cadastro.php por refactor CSS 2026-07-23. Nao editar aqui sem atualizar a origem. */
.ec-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--ec-bg-dark);
}

.ec-auth-container {
    width: 100%;
    max-width: 480px;
}

.ec-auth-card {
    background: var(--ec-bg-card);
    border: 1px solid var(--ec-border);
    border-radius: 16px;
    padding: 40px;
}

.ec-auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.ec-auth-logo a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.ec-auth-logo svg {
    flex-shrink: 0;
    color: #ff1744;
}

.ec-auth-logo .logo-escorts {
    font-size: 1.30rem;
    font-weight: 500;
    color: #ff1744;
    letter-spacing: 1px;
}

.ec-auth-logo .logo-club {
    font-size: 0.80rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 2px;
}

.ec-auth-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ec-text-primary);
    text-align: center;
    margin-bottom: 8px;
}

.ec-auth-subtitle {
    font-size: 14px;
    color: var(--ec-text-muted);
    text-align: center;
    margin-bottom: 32px;
}

.ec-auth-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 14px;
    margin-bottom: 24px;
}

.ec-auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ec-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ec-text-secondary);
    margin-bottom: 8px;
}

.ec-input-icon {
    position: relative;
}

.ec-input-icon i:first-child {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ec-text-muted);
    font-size: 16px;
}

.ec-input-icon input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--ec-bg-secondary);
    border: 1px solid var(--ec-border);
    border-radius: 10px;
    color: var(--ec-text-primary);
    font-size: 15px;
}

.ec-input-icon input:focus {
    outline: none;
    border-color: var(--ec-primary);
}

.ec-toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--ec-text-muted);
    cursor: pointer;
    padding: 4px;
}

.ec-toggle-password:hover {
    color: var(--ec-text-primary);
}

/* Tipo Options */
.ec-tipo-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ec-tipo-option {
    cursor: pointer;
}

.ec-tipo-option input {
    display: none;
}

.ec-tipo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--ec-bg-secondary);
    border: 2px solid var(--ec-border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s;
}

.ec-tipo-card i {
    font-size: 20px;
    color: var(--ec-text-muted);
    transition: color 0.2s;
}

.ec-tipo-text span {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    display: block;
}

.ec-tipo-text small {
    font-size: 10px;
    color: #888;
    line-height: 1.3;
    display: block;
    margin-top: 2px;
}

.ec-tipo-option input:checked + .ec-tipo-card {
    border-color: var(--ec-primary);
    background: rgba(255, 23, 68, 0.1);
}

.ec-tipo-option input:checked + .ec-tipo-card i {
    color: var(--ec-primary);
}

/* Mobile: 1 por linha, layout horizontal */
@media (max-width: 600px) {
    .ec-tipo-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .ec-tipo-card {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 14px 18px;
        text-align: left;
    }
    .ec-tipo-card i {
        font-size: 22px;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.04);
        border-radius: 10px;
    }
    .ec-tipo-option input:checked + .ec-tipo-card i {
        background: rgba(255,23,68,.12);
    }
}

.ec-tipo-card small {
    font-size: 11px;
    color: var(--ec-text-muted);
}

.ec-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--ec-text-secondary);
    cursor: pointer;
    line-height: 1.4;
}

.ec-checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--ec-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.ec-checkbox-label a {
    color: var(--ec-primary);
    text-decoration: none;
}

.ec-checkbox-label a:hover {
    text-decoration: underline;
}

.ec-auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.ec-auth-divider::before,
.ec-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ec-border);
}

.ec-auth-divider span {
    font-size: 13px;
    color: var(--ec-text-muted);
}

.ec-social-login {
    display: flex;
    gap: 12px;
}

.ec-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--ec-bg-secondary);
    border: 1px solid var(--ec-border);
    border-radius: 10px;
    color: var(--ec-text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.ec-social-btn:hover {
    border-color: var(--ec-primary);
}

.ec-auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--ec-text-muted);
}

.ec-auth-footer a {
    color: var(--ec-primary);
    text-decoration: none;
    font-weight: 500;
}

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

/* Botão Entrar */
.ec-btn-entrar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.ec-btn-entrar:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.ec-btn-entrar i {
    font-size: 18px;
    color: #3b82f6;
    transition: color 0.3s;
}

.ec-btn-entrar:hover i {
    color: #fff;
}

/* Botão Criar Conta Principal */
.ec-btn.ec-btn-primary.ec-btn-full.ec-btn-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff1744 0%, #d50000 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3);
}

.ec-btn.ec-btn-primary.ec-btn-full.ec-btn-lg:hover {
    background: linear-gradient(135deg, #ff4569 0%, #ff1744 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 23, 68, 0.4);
}

@media (max-width: 480px) {
    .ec-tipo-options {
        grid-template-columns: 1fr;
    }
}

/* Banner de Indicação */
.ec-indicacao-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, #22c55e20, #22c55e10);
    border: 1px solid #22c55e40;
    border-radius: 12px;
    margin-bottom: 20px;
}

.ec-indicacao-banner i {
    font-size: 28px;
    color: #22c55e;
    flex-shrink: 0;
}

.ec-indicacao-banner strong {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 2px;
}

.ec-indicacao-banner span {
    display: block;
    color: #22c55e;
    font-size: 12px;
}
