/* auth.css - Estilos específicos para Login y Registro Premium */

.auth-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    background: var(--bg-main);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 100px; /* Space for navbar */
    padding-bottom: 40px;
}

/* Background glows for auth pages */
.auth-bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.15) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.auth-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-logo-icon {
    width: 30px;
    height: 30px;
    background: var(--gradient-main);
    border-radius: 8px;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #a855f7;
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.auth-link {
    color: #a855f7;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.auth-link:hover {
    color: #c084fc;
}

.btn-auth {
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(168, 85, 247, 0.5);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Registration Funnel Styles --- */
.register-container {
    max-width: 900px;
    width: 100%;
    margin: auto;
    padding: 0 1.5rem;
    z-index: 1;
}

.register-header {
    text-align: center;
    margin-bottom: 3rem;
}

.path-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.path-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.path-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
}

.path-card:hover::before {
    opacity: 1;
}

.path-icon {
    width: 48px;
    height: 48px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #c084fc;
}

.path-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.path-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.path-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 0;
}

.path-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.btn-path {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.path-card:hover .btn-path {
    background: var(--gradient-main);
    border-color: transparent;
}

/* Helper para mensajes de error */
.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}
