/* Estilos para las páginas de autenticación */
.auth-page {
    min-height: 100vh;
    background: #f8f9fa;
    position: relative;
}

.back-to-home {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-home i {
    margin-right: 8px;
    font-size: 18px;
}

.back-to-home span {
    font-size: 15px;
}

.back-to-home:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.auth-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    margin: 0 auto;
}

.auth-box .logo {
    text-align: center;
    margin-bottom: 30px;
    background: #000;
    padding: 20px;
    border-radius: 12px;
    margin: -40px -40px 30px -40px;
}

.auth-box .logo img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.auth-box h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
    display: block;
    font-size: 15px;
}

.auth-form .form-control {
    height: 52px;
    padding: 10px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.auth-form .form-control:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
    background-color: #fff;
}

.auth-form .form-control.is-invalid {
    border-color: #dc3545;
    background-color: #fff;
}

.auth-form .invalid-feedback {
    font-size: 14px;
    margin-top: 6px;
    color: #dc3545;
}

.auth-form .btn-primary {
    width: 100%;
    height: 52px;
    background: #ffd700;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    color: #000;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-form .btn-primary:hover {
    background: #ffdf2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.auth-form .forgot-password {
    display: block;
    text-align: center;
    color: #666;
    margin-top: 20px;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.auth-form .forgot-password:hover {
    color: #ffd700;
}

.auth-form .register-link {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.auth-form .register-link p {
    color: #666;
    margin-bottom: 0;
    font-size: 15px;
}

.auth-form .register-link a {
    color: #ffd700;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-form .register-link a:hover {
    color: #ffdf2f;
    text-decoration: underline;
}

/* Estilos específicos para la página de registro */
body.auth-page {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    overflow-x: hidden;
}

.register-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.register-form-section {
    width: 50%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.register-form-section .auth-box {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.benefits-section {
    width: 50%;
    background: #000;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.benefits-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    height: auto;
}

.swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-content {
    padding: 3rem;
    color: #fff;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.benefit-content i {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.benefit-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #fff;
    opacity: 0.9;
}

.benefit-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.benefit-content ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}

.benefit-content ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* Navegación del slider */
.benefits-slider .swiper-button-next,
.benefits-slider .swiper-button-prev {
    color: #ffd700;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.benefits-slider .swiper-button-next:after,
.benefits-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.benefits-slider .swiper-button-next:hover,
.benefits-slider .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.benefits-slider .swiper-button-prev {
    left: 20px;
}

.benefits-slider .swiper-button-next {
    right: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .register-container {
        flex-direction: column;
    }

    .register-form-section,
    .benefits-section {
        width: 100%;
    }

    .register-form-section {
        padding: 2rem 1rem;
        order: 2;
    }

    .benefits-section {
        position: relative;
        min-height: 500px;
        order: 1;
    }

    .benefit-content {
        padding: 2rem;
    }

    .benefit-content h3 {
        font-size: 24px;
    }

    .benefits-slider .swiper-button-next,
    .benefits-slider .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .benefits-slider .swiper-button-next:after,
    .benefits-slider .swiper-button-prev:after {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .register-form-section {
        padding: 1rem;
    }

    .benefits-section {
        min-height: 400px;
    }

    .benefit-content {
        padding: 1.5rem;
    }

    .benefit-content i {
        font-size: 36px;
    }

    .benefit-content h3 {
        font-size: 20px;
        margin-bottom: 1rem;
    }

    .benefit-content p {
        font-size: 14px;
        margin-bottom: 1.5rem;
    }

    .benefit-content ul li {
        font-size: 14px;
        margin-bottom: 0.75rem;
    }

    .benefits-slider .swiper-button-next,
    .benefits-slider .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .benefits-slider .swiper-button-next:after,
    .benefits-slider .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* Ajustes para el menú en páginas de autenticación */
body {
    padding-top: 0 !important;
}

.navbar {
    position: relative !important;
    background: transparent !important;
    box-shadow: none !important;
}
