/* Estilos generales */
:root {
    --primary-color: #566899;
    --secondary-color: #3ac0ff;
    --accent-color: #6c5ce7;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --text-color: #2d3436;
    --white: #ffffff;
    --gray: #dfe6e9;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --error-color: #d63031;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

/* Contenedor general */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header base */
.header {
    background-color: #ffffff;
    color: #566899;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header al hacer scroll (clase agregada por JS) */
.header.transparent {
    background-color: rgba(255, 255, 255, 0.8); /* Blanco con transparencia */
    backdrop-filter: blur(8px); /* Efecto difuminado */
}

/* Contenido del header */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

/* Navegación */
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: #566899;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

/* Botón usuario */
.user-btn {
    font-size: 1.4rem;
    color: #566899;
    transition: color 0.3s ease;
}

.user-btn:hover {
    color: var(--secondary-color);
}


/* Hero Banner */
.hero-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/home/slider4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
    position: relative;
    z-index: 1;
}

/* Search Section */
.search-section {
    padding: 30px 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    margin-top: -20px;
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius);
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    display: flex;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--gray);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 25px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.search-btn:hover {
    background-color: #596c9e;
}

/* Info Button */
.info-btn-section {
    padding: 20px 0;
    text-align: center;
}

.info-btn {
    background-color: #596c9e;
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(108, 92, 231, 0.3);
}

.info-btn:hover {
    background-color: #5640d8;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(108, 92, 231, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    background-color: var(--white);
    margin: 5% auto;
    max-width: 800px;
    width: 90%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--secondary-color);
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-content-left {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.modal-content-right {
    flex: 1;
    min-width: 300px;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    flex: 1;
}

.btn-primary:hover {
    background-color: #4a5a7a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    flex: 1;
}

.btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.modal-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Featured Section */
.featured-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.product-card {
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.card-image-container {
    height: 250px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    flex: 1;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.card-meta i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.card-text {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #555;
}

.card-author {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
}

.card-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.btn-presentation, .btn-trivia {
    flex: 1;
    padding: 10px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    text-align: center;
    transition: var(--transition);
}

.btn-presentation {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-presentation:hover {
    background-color: #4a5a7a;
    transform: translateY(-2px);
}

.btn-trivia {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-trivia:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* No results */
.no-results {
    text-align: center;
    padding: 40px;
    grid-column: 1 / -1;
}

.no-results i {
    font-size: 3rem;
    color: var(--warning-color);
    margin-bottom: 20px;
}

.no-results p {
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Pagination */
.pagination-section {
    padding: 30px 0;
}

.pagination {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
}

.page-item {
    margin: 0 5px;
}

.page-link {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.page-link:hover {
    background-color: #f1f1f1;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.admin-link, .designer-link {
    color: var(--accent-color);
    transition: var(--transition);
}

.admin-link:hover, .designer-link:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .header-content {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .modal-content-left {
        padding: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 70px 0;
    }
    
    .hero-banner h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card-footer {
        flex-direction: column;
    }
    
    .btn-presentation, .btn-trivia {
        width: 100%;
    }
}

/* Estilos específicos para la trivia */
.trivia-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.trivia-header {
    text-align: center;
    margin-bottom: 30px;
}

.trivia-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.trivia-metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    background-color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.metric-box {
    text-align: center;
    flex: 1;
    padding: 10px;
}

.metric-box span:first-child {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.metric-box.timer-box {
    color: #e74c3c;
    font-weight: bold;
}

.time-progress {
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--secondary-color);
    width: 100%;
    transition: width 1s linear;
}

.questions-container {
    position: relative;
    min-height: 400px;
}

.question {
    display: none;
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.question.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.question-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 300px;
    object-fit: contain;
}

.question-text {
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
    text-align: center;
}

.answers-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 30px;
}

.answer-btn {
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    background-color: #f8f9fa;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.answer-btn:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.answer-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.answer-btn:hover::before {
    width: 8px;
}

.correct-answer {
    background-color: #2ecc71 !important;
    color: white !important;
}

.wrong-answer {
    background-color: #e74c3c !important;
    color: white !important;
}

/* Resultados de la trivia */
.trivia-results {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    display: none;
}

.trivia-results h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.trivia-results h3 span {
    font-size: 2.2rem;
    color: var(--accent-color);
}

.feedback {
    margin: 30px 0;
    padding: 20px;
    border-radius: var(--border-radius);
    background-color: #f8f9fa;
}

.feedback-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feedback img {
    max-width: 200px;
    border-radius: var(--border-radius);
}

.feedback-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.feedback-text h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feedback-text p {
    margin-bottom: 10px;
    color: #555;
}

/* Compartir en redes sociales */
.social-share {
    margin: 30px 0;
}

.social-share h4 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.whatsapp { background-color: #25d366; }
.telegram { background-color: #0088cc; }

/* Botón jugar de nuevo */
.play-again-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
    font-weight: 600;
}

.play-again-btn:hover {
    background-color: #4a5a7a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Modal de acceso restringido */
.restricted-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.restricted-modal .modal-content {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.restricted-modal h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.restricted-modal p {
    margin-bottom: 20px;
    color: #555;
}

.restricted-modal img {
    max-width: 200px;
    margin: 20px auto;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.modal-actions .btn {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.modal-actions .btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.modal-btn {
    background-color: #ffffff;           /* fondo blanco */
    color: #566899;                      /* color de texto */
    border: 2px solid #566899;           /* borde del mismo color */
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
    margin: 10px 10px 0 0;
    text-align: center;
}

.modal-btn:hover {
    background-color: #566899;
    color: #ffffff;
}





/* Responsive */
@media (max-width: 768px) {
    .trivia-metrics {
        flex-wrap: wrap;
    }
    
    .metric-box {
        flex: 0 0 50%;
        margin-bottom: 10px;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .answers-container {
        grid-template-columns: 1fr;
    }
    
    .feedback-content {
        flex-direction: column;
        text-align: center;
    }
    
    .feedback-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .trivia-title {
        font-size: 1.5rem;
    }
    
    .question {
        padding: 15px;
    }
    
    .answer-btn {
        padding: 12px;
    }
}

/* Estilos para la presentación */
      .slide-container {
            display: flex;
            flex-direction: column;
            height: calc(100vh - 120px);
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        .slide-title {
            text-align: center;
            margin-bottom: 30px;
            color: #2c3e50;
            font-size: 2.2rem;
            padding: 0 20px;
        }
        .slide-content {
            display: flex;
            flex: 1;
            gap: 40px;
            align-items: center;
        }
        .slide-image {
            flex: 1;
            min-width: 0;
        }
        .slide-image img {
            width: 100%;
            height: auto;
            max-height: 50vh;
            object-fit: contain;
            border-radius: 8px;
        }
        .slide-text {
            flex: 1;
            min-width: 0;
            padding: 20px;
        }
        .slide-subtitle {
            color: #566899;
            margin-bottom: 20px;
            font-size: 1.6rem;
        }
        .slide-description {
            line-height: 1.8;
            font-size: 1.1rem;
        }
        .navigation-controls {
            display: flex;
            justify-content: space-between;
            padding: 20px 0;
            margin-top: auto;
        }
        .nav-btn {
            padding: 10px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .prev-btn {
            background-color: #f5f6fa;
            color: #566899;
        }
        .next-btn {
            background-color: #566899;
            color: white;
        }
        .finish-btn {
            background-color: #6c5ce7;
            color: white;
        }
        .disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        .slide-counter {
            text-align: center;
            margin-top: 10px;
            color: #7f8c8d;
        }
        @media (max-width: 768px) {
            .slide-content {
                flex-direction: column;
            }
            .slide-title {
                font-size: 1.8rem;
            }
            .slide-subtitle {
                font-size: 1.4rem;
            }
        }
.nav-btn-custom {
    background-color: #ffffff; /* fondo blanco */
    color: #566899;            /* texto */
    border: 2px solid #566899;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 5px;
    display: inline-block;
}

.nav-btn-custom:hover {
    background-color: #566899;
    color: #ffffff;
}

.nav-btn-custom.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.action-btn {
    background-color: #ffffff;         /* Fondo blanco */
    color: #566899;                    /* Texto e iconos */
    border: 2px solid #566899;         /* Borde igual al color del texto */
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
    font-size: 0.9rem;
}

.action-btn i {
    color: #566899;
    transition: color 0.3s ease;
}

.action-btn:hover {
    background-color: #566899;
    color: #ffffff;
}

.action-btn:hover i {
    color: #ffffff;
}
		
/* ===========================================
   ESTILOS PARA FORMULARIO DE REGISTRO
   =========================================== */

/* Banner de registro */
.register-banner {
    background: linear-gradient(rgba(106, 13, 173, 0.7), rgba(106, 13, 173, 0.7)), url('../images/home/banner-registro.jpg');
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.register-banner h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.register-banner p {
    font-size: 1.2rem;
    max-width: 700px;
}

/* Contenedor principal del formulario */
.register-container {
    display: flex;
    justify-content: center;
    padding: 50px 5%;
    min-height: calc(100vh - 350px);
}

/* Formulario de registro */
.register-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.register-form h2 {
    color: #6a0dad;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

/* Grupos de formulario */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #6a0dad;
    outline: none;
    box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.2);
}

.password-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

/* Filas de formulario (para campos en línea) */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Botón de envío */
.submit-btn {
    background-color: #6a0dad;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 500;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #5a0b9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Enlace de login */
.login-link {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

.login-link a {
    color: #6a0dad;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .register-form {
        padding: 25px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .register-banner h1 {
        font-size: 1.5rem;
    }
    
    .register-banner p {
        font-size: 1rem;
    }
    
    .register-form {
        padding: 20px;
    }
}

/* ===========================================
   ESTILOS PARA FORMULARIO DE LOGIN
   =========================================== */

/* Banner de login */
.login-banner {
    background: linear-gradient(rgba(106, 13, 173, 0.7), rgba(106, 13, 173, 0.7)), url('../images/home/banner-login.jpg');
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.login-banner h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.login-banner p {
    font-size: 1.2rem;
    max-width: 700px;
}

/* Contenedor principal del login */
.login-container {
    display: flex;
    justify-content: center;
    padding: 50px 5%;
    min-height: calc(100vh - 350px);
}

/* Formulario de login */
.login-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.login-form h2 {
    color: #6a0dad;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

/* Grupos de formulario */
.login-form .form-group {
    margin-bottom: 25px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.login-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form .form-group input:focus {
    border-color: #6a0dad;
    outline: none;
    box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.2);
}

/* Enlace "olvidé contraseña" */
.forgot-password {
    text-align: right;
    margin-top: 10px;
}

.forgot-password a {
    color: #6a0dad;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: #5a0b9d;
    text-decoration: underline;
}

/* Botón de envío */
.login-form .submit-btn {
    background-color: #6a0dad;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 500;
    margin-top: 20px;
}

.login-form .submit-btn:hover {
    background-color: #5a0b9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Enlace de registro */
.register-link {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

.register-link a {
    color: #6a0dad;
    font-weight: 500;
    transition: color 0.3s;
}

.register-link a:hover {
    color: #5a0b9d;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .login-form {
        padding: 30px;
    }
    
    .login-banner h1 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .login-banner h1 {
        font-size: 1.5rem;
    }
    
    .login-banner p {
        font-size: 1rem;
    }
    
    .login-form {
        padding: 25px;
    }
}

/* ===========================================
   ESTILOS PARA RECUPERACIÓN DE CONTRASEÑA
   =========================================== */

/* Banner de recuperación */
.recover-banner {
    background: linear-gradient(rgba(106, 13, 173, 0.7), rgba(106, 13, 173, 0.7)), url('../images/home/banner-recover.jpg');
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.recover-banner h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.recover-banner p {
    font-size: 1.2rem;
    max-width: 700px;
}

/* Contenedor principal */
.recover-container {
    display: flex;
    justify-content: center;
    padding: 50px 5%;
    min-height: calc(100vh - 350px);
}

/* Formulario de recuperación */
.recover-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.recover-form h2 {
    color: #6a0dad;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

/* Grupos de formulario */
.recover-form .form-group {
    margin-bottom: 30px;
}

.recover-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.recover-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.recover-form .form-group input:focus {
    border-color: #6a0dad;
    outline: none;
    box-shadow: 0 0 0 2px rgba(106, 13, 173, 0.2);
}

/* Botón de envío */
.recover-form .submit-btn {
    background-color: #6a0dad;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 500;
    margin-top: 10px;
}

.recover-form .submit-btn:hover {
    background-color: #5a0b9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Enlace de login */
.login-link {
    text-align: center;
    margin-top: 25px;
    color: #555;
}

.login-link a {
    color: #6a0dad;
    font-weight: 500;
    transition: color 0.3s;
}

.login-link a:hover {
    color: #5a0b9d;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .recover-form {
        padding: 30px;
    }
    
    .recover-banner h1 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .recover-banner h1 {
        font-size: 1.5rem;
    }
    
    .recover-banner p {
        font-size: 1rem;
    }
    
    .recover-form {
        padding: 25px;
    }
}

/* ===========================================
   ESTILOS PARA PÁGINA "ACERCA DE"
   =========================================== */

.about-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Contenedor principal */
.about-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 5%;
}

/* Contenedor del contenido */
.about-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Texto introductorio */
.about-intro {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Secciones de contenido */
.about-section {
    margin-bottom: 40px;
}

.about-section h2 {
    color: #6a0dad;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.about-section h3 {
    color: #444;
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.about-section p, 
.about-section ul {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

.about-section ul {
    padding-left: 20px;
}

.about-section li {
    margin-bottom: 10px;
}

/* Destacados */
.about-highlight {
    background-color: #f5f0ff;
    padding: 20px;
    border-left: 4px solid #6a0dad;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.about-highlight ul {
    list-style-type: none;
    padding-left: 0;
}

.about-highlight li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.about-highlight li:before {
    content: "•";
    color: #6a0dad;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Sección de compromiso */
.about-commitment {
    background-color: #f0f7ff;
    border-left: 4px solid #1a73e8;
    padding: 25px;
    margin: 40px 0;
    border-radius: 0 5px 5px 0;
}

.about-commitment h3 {
    color: #1a73e8;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .about-banner h1 {
        font-size: 2rem;
    }
    
    .about-container {
        padding: 30px;
    }
    
    .about-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .about-banner h1 {
        font-size: 1.7rem;
    }
    
    .about-container {
        padding: 20px;
    }
    
    .about-section h2 {
        font-size: 1.4rem;
    }
    
    .about-section h3 {
        font-size: 1.2rem;
    }
}

/* ===========================================
   ESTILOS PARA PÁGINA "POLÍTICAS"
   =========================================== */

/* Banner de políticas */
.policy-banner {
    background: linear-gradient(rgba(106, 13, 173, 0.7), rgba(106, 13, 173, 0.7)), url('../images/home/banner-policy.jpg');
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.policy-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Contenedor principal */
.policy-content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 5%;
}

/* Contenedor del contenido */
.policy-container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Secciones de contenido */
.policy-section {
    margin-bottom: 50px;
}

.policy-section h2 {
    color: #6a0dad;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.policy-section h3 {
    color: #444;
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.policy-section p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

/* Destacados */
.policy-highlight {
    background-color: #f5f0ff;
    padding: 25px;
    border-left: 4px solid #6a0dad;
    margin: 25px 0;
    border-radius: 0 5px 5px 0;
}

.policy-highlight ul {
    list-style-type: none;
    padding-left: 0;
}

.policy-highlight li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.policy-highlight li:before {
    content: "•";
    color: #6a0dad;
    font-size: 1.8rem;
    position: absolute;
    left: 5px;
    top: -8px;
}

/* Aviso importante */
.policy-notice {
    background-color: #fff8f0;
    border-left: 4px solid #e67e22;
    padding: 25px;
    margin: 25px 0;
    border-radius: 0 5px 5px 0;
}

.policy-notice ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.policy-notice li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.policy-notice li:before {
    content: "⚠";
    color: #e67e22;
    position: absolute;
    left: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-banner h1 {
        font-size: 2rem;
    }
    
    .policy-container {
        padding: 30px;
    }
    
    .policy-section h2 {
        font-size: 1.6rem;
    }
    
    .policy-highlight,
    .policy-notice {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .policy-banner h1 {
        font-size: 1.7rem;
    }
    
    .policy-container {
        padding: 20px;
    }
    
    .policy-section h2 {
        font-size: 1.4rem;
    }
    
    .policy-section h3 {
        font-size: 1.2rem;
    }
    
    .policy-highlight li,
    .policy-notice li {
        padding-left: 25px;
    }
}
   .social-share {
        text-align: center;
        margin: 20px 0;
    }
    
    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .social-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: white;
        text-decoration: none;
        font-size: 18px;
        transition: all 0.3s ease;
    }
    
    .social-icon:hover {
        transform: scale(1.1);
        opacity: 0.9;
    }
    
    .facebook { background-color: #3b5998; }
    .twitter { background-color: #1da1f2; }
    .whatsapp { background-color: #25d366; }
    .telegram { background-color: #0088cc; }
    
    .social-icon i {
        line-height: 1;
    }
	
/* Estilos generales para las alertas */
.alert {
    position: relative;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Alerta de éxito */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

/* Alerta de error/peligro */
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Botón de cierre */
.alert .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1.25rem;
    color: inherit;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.alert .close:hover {
    opacity: 1;
}

/* Animación de fade in */
.fade.show {
    opacity: 1;
}

.fade {
    transition: opacity 0.15s linear;
    opacity: 0;
}

/* Efecto hover para todas las alertas */
.alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .alert {
        width: 90%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .alert .close {
        padding: 0.5rem;
        font-size: 1.25rem;
    }
}

/* Animación de entrada */
@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert {
    animation: slideIn 0.3s ease-out forwards;
}