/* Pagina de centro de autogestión */
.custom-help-center {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    max-width: 100% !important;
}

.custom-header {
    text-align: center;
    padding: 20px;
    background: url('https://atmisiones.gob.ar/wp-content/uploads/2024/02/ingresos-2.png') no-repeat center center;
    background-size: cover;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;

    /* Para asegurarnos de que el overlay cubra todo el área */
}

.custom-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 25, 49, 0.7);
    /* Color oscuro #101931 con transparencia */
    z-index: -1;
}


.custom-header h1 {
    font-weight: 700;
    font-size: 2.5em;
    letter-spacing: 2px;
    white-space: nowrap;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(99, 39, 137, 1);
}

/* Search bar */
.search-container {
    position: relative;
    display: flex;
    width: 50%;
    margin-top: 10px;
    z-index: 1;
}

.custom-search-bar {
    width: 100% !important;
    padding: 10px 40px 10px 20px !important;
    border: 1px solid #ccc !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-size: 16px !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    position: relative;
    z-index: 3;
}

.custom-search-bar:focus {
    border-color: #2c78c4;
    box-shadow: 0 0 10px rgba(44, 120, 196, 0.7),
        0 0 20px rgba(44, 120, 196, 0.5),
        0 0 30px rgba(44, 120, 196, 0.3);
    background-color: #e6f7ff;
    outline: none;
}

.search-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #2c78c4;
    font-size: 1.2em;
    z-index: 3;
}

.custom-help-center .custom-search-bar::placeholder {
    color: #888;
}

.search-results {
    display: none; /* Ocultos por defecto */
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item a {
    text-decoration: none;
    color: #333 !important;
}

.search-result-item a:hover {
    color: #007bff;
}

.no-results {
    padding: 10px;
    color: #999;
    text-align: center;
}



/* Alert Section */
.custom-alert-section {
    background: linear-gradient(90deg, #50376F 0%, #B6264F 100%);
    padding: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-alert-section .highlight {
    margin-right: 10px;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    color: #fff;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Iconos */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    margin: -40px auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;


    /* Sombra llamativa con efecto de brillo */
    box-shadow: 0 0 15px rgba(80, 55, 111, 0.6), 0 0 25px rgba(99, 39, 137, 0.6);
    transition: box-shadow 0.5s ease-in-out;
}

.custom-category:hover .icon-circle {
    box-shadow: 0 0 30px rgba(99, 39, 137, 1), 0 0 50px rgba(182, 38, 79, 1);
    transform: rotate(20deg) scale(1.1);
    color: #58e8f5;
}

.custom-category .custom-icon {
    transition: transform 0.5s ease, color 0.3s ease;
}


.custom-icon {
    font-size: 2.5em;
    color: #8F3260;
}

/* Categorías (Tarjetas) */
.custom-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    max-width: 90%;
    margin: 0 auto;
    align-items: stretch; /* Garantiza que las tarjetas tengan la misma altura */
}

.custom-category {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin: 15px;
    padding: 0;
    text-align: center;
    width: calc(25% - 40px);
    min-width: 200px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Asegura que el contenido comience arriba */
    text-decoration: none;
    color: inherit;
    height: auto; /* Permite que las tarjetas se ajusten según contenido */
}

.custom-category:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Encabezado de las tarjetas */
.custom-category-header {
    padding: 20px;
    background: #004364;
    color: white;
    border-radius: 15px 15px 0 0;
    text-align: center;
    min-height: 100px; /* Altura mínima para uniformidad */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra el contenido en el encabezado */
    align-items: center;
}

.custom-category h2 {
    margin: 10px 0;
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(99, 39, 137, 1);
}

/* Contenido de las tarjetas */
.custom-category-content {
    padding: 20px;
    flex-grow: 1; /* Permite que esta sección ocupe el espacio restante */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinea el contenido al inicio */
}

.custom-category-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    color: #666;
}

.custom-category-content ul li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

/* Footer de las tarjetas */
.custom-category-footer {
    padding: 15px 0;
    background-color: #f5f5f5;
    border-radius: 0 0 15px 15px;
    flex-shrink: 0; /* Mantiene el footer en su tamaño */
}

/* Iconos dentro de las tarjetas */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    margin: -40px auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 0 15px rgba(80, 55, 111, 0.6), 0 0 25px rgba(99, 39, 137, 0.6);
    transition: box-shadow 0.5s ease-in-out;
}

.custom-category:hover .icon-circle {
    box-shadow: 0 0 30px rgba(99, 39, 137, 1), 0 0 50px rgba(182, 38, 79, 1);
    transform: rotate(20deg) scale(1.1);
    color: #58e8f5;
}

.custom-icon {
    font-size: 2.5em;
    color: #8F3260;
    transition: transform 0.5s ease, color 0.3s ease;
}

/* Botones */
.more-info-btn {
    background-color: #0C4262;
    box-shadow: 0 0 10px #754954, 0 0 20px #101931;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.more-info-btn:hover {
    background-color: #58e8f5;
    box-shadow: 0 0 15px #58e8f5, 0 0 30px rgba(88, 232, 245, 0.8);
}

/* Efecto de brillo que sigue al mouse */
.background-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0));
    pointer-events: none;
    transition: transform 0.1s ease-in-out;
    z-index: 1000;
    filter: blur(50px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .custom-category {
        width: calc(33.33% - 40px);
    }
}

@media (max-width: 768px) {
    .custom-category {
        width: calc(50% - 40px);
    }

    .custom-header h1 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .custom-category {
        width: calc(100% - 40px);
    }

    .custom-header h1 {
        font-size: 1.5em;
    }

    .search-container {
        width: 100%;
    }
}


