/* Newsletter Index con glassmorphism */
.newsletter-page {
    background: transparent !important;
    min-height: 100vh;
    padding: 2rem 0;
}

.newsletter-header {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 3rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.newsletter-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    opacity: 0.6;
    z-index: -1;
}

.newsletter-header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
    margin: 0 auto 2rem;
}

.newsletter-header h1 {
    color: white !important;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    text-align: center;
}

.newsletter-header p {
    color: #e2e8f0 !important;
    font-size: 1.1rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    text-align: center;
    margin-top: 1rem;
}

/* Estilos adicionales para mejorar la experiencia del usuario */
.newsletter-filters .form-label {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-filters .row {
    align-items: end;
}

.newsletter-filters .mb-3 {
    margin-bottom: 1rem !important;
}

/* Animación suave para el contenedor de filtros */
.newsletter-filters {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.newsletter-filters:hover {
    border-color: rgba(233, 30, 99, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.newsletter-filters .form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    position: relative;
}

.newsletter-filters .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.newsletter-filters .form-control:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #e91e63 !important;
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25) !important;
    color: #ffffff !important;
    outline: none;
}

.newsletter-filters .form-control:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(233, 30, 99, 0.3) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-filters .form-select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #ffffff !important;
    backdrop-filter: blur(10px);
    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='%23e91e63' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
    position: relative;
}

.newsletter-filters .form-select:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #e91e63 !important;
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25) !important;
    color: #ffffff !important;
    outline: none;
}

.newsletter-filters .form-select:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(233, 30, 99, 0.3) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-filters .form-select option {
    background: rgba(30, 30, 30, 0.95) !important;
    color: #ffffff !important;
    padding: 8px 12px;
    border: none;
}

.newsletter-filters .form-select option:hover {
    background: rgba(233, 30, 99, 0.2) !important;
}

.newsletter-filters .form-select option:checked {
    background: rgba(233, 30, 99, 0.3) !important;
    color: #ffffff !important;
}

.newsletter-filters .btn {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%) !important;
    border: none !important;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: white !important;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.newsletter-filters .btn:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
    color: white !important;
}

.newsletter-card {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.newsletter-card:hover::before {
    left: 100%;
}

.newsletter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.newsletter-card > * {
    position: relative;
    z-index: 2;
}

.newsletter-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

.newsletter-card .card-body {
    padding: 1.5rem;
    background: transparent !important;
}

.newsletter-card .card-title {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    line-height: 1.3;
}

.newsletter-card .card-text {
    color: #e2e8f0 !important;
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.newsletter-card .newsletter-meta {
    color: #9ca3af !important;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.newsletter-card .newsletter-meta i {
    color: #e91e63 !important;
    margin-right: 0.25rem;
}

.newsletter-card .newsletter-category {
    display: inline-block;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.newsletter-card .btn {
    background: transparent !important;
    border: 1px solid #e91e63 !important;
    color: #e91e63 !important;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.newsletter-card .btn:hover {
    background: #e91e63 !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #9ca3af !important;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: #e2e8f0 !important;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.empty-state p {
    color: #9ca3af !important;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-header {
        padding: 2rem 0;
    }

    .newsletter-header-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .newsletter-filters {
        padding: 1.5rem;
    }

    .newsletter-card .card-body {
        padding: 1rem;
    }
}
