.te-auth-btn {
    background: white;
    color: var(--brand);
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.te-auth-btn:hover {
    background: #f1f5f9;
}

.te-auth-btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.te-auth-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
}

.te-auth-btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.te-auth-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.te-auth-email {
    font-size: 0.85rem;
    opacity: 0.9;
}

.te-auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.te-auth-dialog {
    background: white;
    border-radius: 0.75rem;
    padding: 1.75rem;
    width: 100%;
    max-width: 22rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.te-auth-cerrar {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
}

.te-auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 0 1.5rem 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.te-auth-tab {
    background: none;
    border: none;
    padding: 0.5rem 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.te-auth-tab-activo {
    color: var(--brand);
    border-bottom-color: var(--brand);
}

.te-auth-btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: white;
    color: #1e293b;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.te-auth-btn-google:hover {
    background: #f8fafc;
}

.te-auth-separador {
    display: flex;
    align-items: center;
    text-align: center;
    color: #94a3b8;
    font-size: 0.75rem;
    margin: 1rem 0;
}

.te-auth-separador::before,
.te-auth-separador::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.te-auth-separador span {
    padding: 0 0.6rem;
}

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

.te-auth-form[hidden] {
    display: none;
}

.te-auth-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.te-auth-form input {
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 0.4rem;
}

.te-auth-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin: 0;
}

.te-auth-aviso-verificacion {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 0.9rem;
    border-radius: 0.5rem;
    margin: 0;
}
