/* Club de Fiesta - Estilos principales */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #E9E8E8;
    --dark-color: #343a40;
}

/* Importar fuente Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

.logo-header {
    max-width: 60%;
}

/* Hero section */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-right: calc(-.5 * var(--bs-gutter-x));
}

/* Hero section */
.hero-section-account {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-right: calc(-.5 * var(--bs-gutter-x));
}

/* Hero background específico para servicios */
.services-hero-bg {
    background-image: url('/static/images/services/categoria.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hero background específico para empresas */
.companies-hero-bg {
    background-image: url('/static/images/services/categoria.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hero background específico para autenticación */
.auth-hero-bg {
    background-image: url('/static/images/auth/auth-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/home/home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.8) 0%, rgba(0, 200, 180, 0.4) 100%);
    z-index: 2;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    color: white;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-main-title {
    font-size: 4rem;
    font-weight: 800;
    display: block;
    line-height: 1.1;
}

/* Hero Search */
.hero-search {
    margin-top: 2rem;
}

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

.search-input-group {
    position: relative;
}

.search-input {
    background: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 3rem 1rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-input option {
    padding: 0.5rem;
    font-weight: 500;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

.btn-search {
    background: #343a40;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: #495057;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Navbar y Dropdown - Implementación personalizada */
.navbar {
    z-index: 1030;
}

/* Dropdown personalizado */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999 !important;
    display: none;
    min-width: 12rem;
    padding: 0.5rem 0;
    margin: 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.navbar .dropdown-menu.show {
    display: block !important;
    z-index: 9999 !important;
}

/* Estilos para los items del dropdown */
.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: background-color 0.15s ease-in-out;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #1e2125;
    background-color: #e9ecef;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn {
    border-radius: 25px;
    /* padding: 10px 25px; */
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: white;
    /* border-color: var(--primary-color); */
}
.btn-secondary:hover {
    /* background-color: #0056b3; */
    border-color: #0056b3;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Navbar justificado - Mayor especificidad para sobrescribir Bootstrap */
.navbar-collapse .navbar-nav.navbar-justified {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-collapse .navbar-nav.navbar-justified .nav-item {
    flex: 1 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-collapse .navbar-nav.navbar-justified .nav-link {
    padding: 0.5rem 0.75rem !important;
    white-space: nowrap !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
}

.navbar-collapse .navbar-nav.navbar-justified .nav-link:hover {
    background-color: rgba(0, 123, 255, 0.1) !important;
    color: var(--primary-color) !important;
}

/* Ajustes para el dropdown del usuario */
.navbar-collapse .navbar-nav.navbar-justified .nav-item.dropdown {
    flex: 1 !important;
    text-align: center !important;
}

/* Ajustes para botones de login/registro */
.navbar-collapse .navbar-nav.navbar-justified .nav-item:last-child {
    flex: 1 !important;
    text-align: center !important;
}

.navbar-collapse .navbar-nav.navbar-justified .nav-item:nth-last-child(2) {
    flex: 1 !important;
    text-align: center !important;
}

/* Footer styles moved to .footer-custom */

/* Social links */
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Forms */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Service cards */
.service-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-card img {
    transition: transform 0.3s ease;
}

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

/* Company cards */
.company-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Map container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Dashboard widgets */
.dashboard-widget {
    border-radius: 15px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.dashboard-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        text-align: center;
    }
    
    .services-hero-bg {
        background-position: center center;
    }
    
    .companies-hero-bg {
        background-position: center center;
    }
    
    .auth-hero-bg {
        background-position: center center;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .search-input {
        padding: 0.8rem 2.5rem 0.8rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .btn-search {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 8px 20px;
        font-size: 1rem;
    }
    
    /* Navbar responsive */
    .navbar-collapse .navbar-nav.navbar-justified {
        flex-direction: column !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
    
    .navbar-collapse .navbar-nav.navbar-justified .nav-item {
        flex: none !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0.25rem 0 !important;
    }
    
    .navbar-collapse .navbar-nav.navbar-justified .nav-item.dropdown,
    .navbar-collapse .navbar-nav.navbar-justified .nav-item:last-child,
    .navbar-collapse .navbar-nav.navbar-justified .nav-item:nth-last-child(2) {
        flex: none !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* Dropdown responsive para móviles */
    .navbar .dropdown-menu {
        position: fixed !important;
        top: 60px !important;
        left: 10px !important;
        right: 10px !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        width: auto !important;
        margin: 0 !important;
        z-index: 9999 !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 0.5rem !important;
    }

    .navbar .dropdown-menu.show {
        animation: slideDown 0.2s ease-out;
    }

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

    .dropdown-item {
        white-space: normal !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }

    .dropdown-header {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
        font-weight: 600 !important;
    }

    .dropdown-divider {
        margin: 0.25rem 0 !important;
    }

    /* Badge en dropdown móvil */
    .navbar .dropdown-menu .badge {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    /* Ajustes para tablets */
    .navbar-collapse .navbar-nav.navbar-justified .nav-link {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.9rem !important;
    }
    
    .event-type-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .event-type-circle {
        width: 80px;
        height: 80px;
    }
    
    .event-type-label {
        font-size: 0.9rem;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .banner-section {
        padding: 2rem 0;
    }
    
    .banner-background {
        min-height: 300px;
        width: calc(100% - 2rem);
        margin: 0 1rem;
        border-radius: 15px;
    }
    
    .special-filters-form {
        padding: 1.5rem;
    }
    
    .special-filters-form .row > div {
        margin-bottom: 1rem;
    }
    
    .special-search-btn {
        width: 100% !important;
        margin-top: 0.5rem;
    }
    
    .provider-card {
        margin-bottom: 1.5rem;
    }
    
    .provider-image {
        height: 150px;
    }
    
    .provider-info {
        padding: 1rem;
    }
    
    .provider-name {
        font-size: 0.9rem;
    }
    
    .provider-company {
        font-size: 0.8rem;
    }
    
    .provider-service {
        font-size: 0.75rem;
    }
    
    .price-amount {
        font-size: 1rem;
    }
    
    .event-tag {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
    }
}

/* Banner Section */
.banner-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.banner-background {
    position: relative;
    width: calc(100% - 4rem);
    height: 100%;
    min-height: 400px;
    margin: 0 2rem;
    background-image: url('/static/images/home/1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

/* Special Filters Section */
.special-filters-form {
    background-color: #E9E8E8;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.special-filters-form .form-label {
    font-weight: 600;
    color: #D22675;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.special-filter {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.special-filter:focus {
    border-color: #D22675;
    box-shadow: 0 0 0 0.2rem rgba(126, 101, 159, 0.25);
    outline: none;
}

.special-filter:hover {
    border-color: #D22675;
}

.special-search-btn {
    background-color: #6c757d;
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    height: calc(2.25rem + 2px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-search-btn:hover {
    background-color: #5a6268;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Proveedores Destacados Section */
.provider-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.provider-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.provider-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.provider-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.provider-company {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.3rem;
    font-style: italic;
}

.provider-service {
    font-size: 0.8rem;
    font-weight: 500;
    color: #7E659F;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.provider-price {
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #28a745;
}

.provider-tags {
    margin-bottom: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
}

.event-tag {
    font-size: 0.7rem;
    background-color: #7E659F;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    font-weight: 500;
}

/* Paginación de proveedores */
.provider-pagination-btn {
    background-color: #7E659F;
    border: 1px solid #7E659F;
    color: white;
    padding: 0.5rem 0.75rem;
    margin: 0 2px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.provider-pagination-btn:hover {
    background-color: #6a5494;
    border-color: #6a5494;
    color: white;
    transform: translateY(-1px);
}

.provider-pagination-btn.active {
    background-color: #7E659F;
    border-color: #7E659F;
    color: white;
}

.provider-pagination-btn:not(.active) {
    background-color: white;
    border-color: #e9ecef;
    color: #6c757d;
}

.provider-pagination-btn:not(.active):hover {
    background-color: #E9E8E8;
    border-color: #7E659F;
    color: #7E659F;
}

.provider-pagination-btn.disabled {
    background-color: #e9ecef;
    border-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.provider-pagination-btn.disabled:hover {
    background-color: #e9ecef;
    border-color: #e9ecef;
    color: #6c757d;
    transform: none;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: #333;
    margin-bottom: 2rem;
}

.banner-highlight {
    color: #D22675;
    font-weight: 700;
}

.banner-number {
    color: #D22675;
    font-weight: 600;
}

.banner-btn {
    background-color: #EBAA35;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(235, 170, 53, 0.3);
}

.banner-btn:hover {
    background-color: #d49a2e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 170, 53, 0.4);
    text-decoration: none;
}

/* Event Types Section */
.event-type-item {
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 1rem;
    display: block;
    text-decoration: none;
    color: inherit;
}

.event-type-item:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.event-type-circle {
    width: 120px;
    height: 120px;
    border: 3px solid #7E659F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-color: transparent;
    transition: all 0.3s ease;
    color: #7E659F;
}

.event-type-item:hover .event-type-circle {
    background-color: #7E659F;
    color: white;
    transform: scale(1.05);
}

.event-type-label {
    color: #7E659F;
    font-weight: normal;
    transition: all 0.3s ease;
}

.event-type-item:hover .event-type-label {
    color: #7E659F;
}

.event-type-item a {
    text-decoration: none;
    color: inherit;
}

.event-type-item a:hover {
    text-decoration: none;
    color: inherit;
}

/* Utility classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #1e7e34 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #e0a800 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #c82333 100%);
}

/* Footer Personalizado */
.footer-custom {
    background-color: #E9E8E8;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-logo img {
    max-height: 80px;
    width: auto;
}

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-text {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 0.3rem;
    font-weight: 400;
}

.footer-decoration {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-triangles {
    position: relative;
    width: 100%;
    height: 100%;
}

.triangle {
    position: absolute;
    width: 0;
    height: 0;
}

/* Triángulos grandes */
.triangle-1 {
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #4CAF50;
    top: 10px;
    left: 20px;
    transform: rotate(-15deg);
}

.triangle-2 {
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid #8050A8;
    top: 5px;
    right: 30px;
    transform: rotate(20deg);
}

.triangle-3 {
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 60px solid #E62E8A;
    bottom: 10px;
    left: 40px;
    transform: rotate(10deg);
}

/* Triángulos pequeños */
.triangle-4 {
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid #F7C800;
    top: 0;
    right: 10px;
    transform: rotate(-30deg);
}

.triangle-5 {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid #4CAF50;
    top: 25px;
    right: 5px;
    transform: rotate(45deg);
}

.triangle-6 {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 15px solid #8050A8;
    bottom: 5px;
    right: 15px;
    transform: rotate(-45deg);
}

/* Responsive para footer */
@media (max-width: 768px) {
    .footer-custom {
        padding: 2rem 0;
    }
    
    .footer-logo {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-logo img {
        max-height: 60px;
    }
    
    .footer-decoration {
        display: none;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* ========================================
   ESTILOS PARA FORMULARIOS DE AUTENTICACIÓN
   ======================================== */

/* Tarjeta de autenticación */
.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 3rem auto;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    max-width: 800px;
}

.auth-card-header {
    background: linear-gradient(135deg, #7E659F 0%, #6a5494 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.auth-card-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 10px solid #6a5494;
}

.auth-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.auth-card-body {
    padding: 3rem;
    background: white;
}

/* Campos de formulario */
.auth-card .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.auth-card .form-control:focus {
    border-color: #7E659F;
    box-shadow: 0 0 0 0.2rem rgba(126, 101, 159, 0.25);
    background-color: white;
}

.auth-card .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-card .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3csvg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.auth-card .form-select:focus {
    border-color: #7E659F;
    box-shadow: 0 0 0 0.2rem rgba(126, 101, 159, 0.25);
    background-color: white;
}

/* Checkboxes */
.auth-card .form-check-input {
    width: 1.2em;
    height: 1.2em;
    border: 2px solid #7E659F;
    border-radius: 4px;
    margin-top: 0.1em;
}

.auth-card .form-check-input:checked {
    background-color: #7E659F;
    border-color: #7E659F;
}

.auth-card .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(126, 101, 159, 0.25);
}

.auth-card .form-check-label {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Botones de autenticación */
.auth-btn-primary {
    background: linear-gradient(135deg, #7E659F 0%, #6a5494 100%);
    border: none;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(126, 101, 159, 0.3);
}

.auth-btn-primary:hover {
    background: linear-gradient(135deg, #6a5494 0%, #5a4a7f 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 101, 159, 0.4);
}

.auth-btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.auth-btn-success:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Divisores */
.auth-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
    margin: 2rem 0;
}

/* Enlaces de autenticación */
.auth-link {
    color: #7E659F;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: #6a5494;
    text-decoration: underline;
}

/* Alertas en formularios de auth */
.auth-card .alert {
    border-radius: 12px;
    border: none;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.auth-card .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.auth-card .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.auth-card .alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

/* Centrado vertical para formularios sin hero */
.auth-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Responsive para formularios de auth */
@media (max-width: 768px) {
    .auth-card {
        margin: 2rem 1rem;
        max-width: none;
    }
    
    .auth-card-header {
        padding: 1.5rem;
    }
    
    .auth-card-body {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.3rem;
    }
    
    .auth-btn-primary,
    .auth-btn-success {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .auth-page-container {
        min-height: auto;
        padding: 1rem 0;
    }
}

@media (max-width: 576px) {
    .auth-card-body {
        padding: 1.5rem 1rem;
    }
    
    .auth-card-header {
        padding: 1.25rem;
    }
}

/* ===== ESTILOS PARA VIDEOS ===== */

.video-container {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.video-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #dc3545;
}

.video-title {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.video-description {
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #6c757d;
}

.video-meta {
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.video-meta a {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.video-meta a:hover {
    color: #c82333;
    text-decoration: underline !important;
}

/* Estilos para el header de videos */
.card-header h4 {
    color: #2c3e50;
    font-weight: 700;
}

/* Responsive para videos */
@media (max-width: 992px) {
    .video-container {
        padding: 1.25rem;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
    
    .video-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .video-container {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .video-title {
        font-size: 1rem;
    }
    
    .video-description {
        font-size: 0.9rem;
    }
    
    .video-meta a {
        font-size: 0.9rem;
    }
} 