/* Botón flotante para abrir el modal de registro */
.btn-float-register {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 1200;
    background: var(--gradiente-acento);
    color: var(--fondo-principal);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 8px 32px rgba(34,162,184,0.18);
    padding: 1rem 2.2rem;
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}
.btn-float-register:hover {
    background: var(--gradiente-principal);
    box-shadow: 0 12px 40px rgba(34,162,184,0.25);
}
/* Botones y elementos de acción */
.btn-submit,
.cta-button {
    display: inline-block;
    width: 100%;
    padding: 1.2rem;
    background: var(--gradiente-acento);
    color: var(--fondo-principal);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(34, 162, 184, 0.25),
        0 0 0 1px rgba(34, 162, 184, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
    text-align: center;
}

.btn-submit::before,
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left var(--transition-slow);
}

.btn-submit:hover::before,
.cta-button:hover::before {
    left: 100%;
}

.btn-submit:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(34, 162, 184, 0.35),
        0 0 20px rgba(34, 162, 184, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.btn-submit:focus-visible,
.cta-button:focus-visible {
    outline: 3px solid var(--exito);
    outline-offset: 2px;
}

.btn-submit:active,
.cta-button:active {
    transform: scale(0.98);
}

/* Estados de carga */
.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline;
}

/* Sección CTA */
.cta-section {
    padding: var(--espaciado-xl) var(--espaciado-lg);
    background: var(--fondo-principal);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(34, 162, 184, 0.02) 0%, 
        transparent 50%, 
        rgba(10, 42, 78, 0.02) 100%);
    z-index: 1;
}

.cta-section > * {
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    width: auto;
    padding: var(--espaciado-md) var(--espaciado-xl);
    border-radius: var(--border-radius-lg);
    font-size: 1.2rem;
}
