﻿.tramite-docs-grid {
    margin-top: 10px;
}

.tramite-doc-card {
    background: #F9FAFB;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 24px 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    transition: all 0.2s ease;
    height: 272px;
}

    .tramite-doc-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    }

/* Icono y nombre */
.tramite-doc-icon i {
    font-size: 32px;
    color: #2b6db0; 
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tramite-doc-nombre {
    font-weight: 600;
    color: #2f2f2f;
    font-size: 15px;
    margin-bottom: 0;
    word-break: break-word;
}

/* Acciones */
.tramite-doc-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}



/*.alertas-usuario .alert {
    animation: fadeInUp 0.6s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/



/* === FAQ  === */
.faq-modern {
    background-color: white;
    color: #e2e8f0;
    padding: 4rem 1rem;
    border-radius: 1.5rem;
}

.faq-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f8fafc;
}

.faq-subtitle {
    color: #94a3b8;
    font-size: 1rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-bottom: 1px solid #1e293b;
    padding-bottom: 0.8rem;
}

.faq-question {
    background: none;
    border: none;
    outline: none;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 1.05rem;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .faq-question:hover {
        color: #38bdf8;
    }

.faq-icon {
    font-size: 1.4rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    color: #38bdf8;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.4s ease;
    margin-top: 0.5rem;
}

.faq-item.active .faq-answer {
    margin-top: 0.8rem;
}


.alerta-flotante {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    min-width: 320px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: fadeSlideOut 5s ease forwards;
}


@keyframes fadeSlideOut {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    15% {
        opacity: 1;
        transform: translateY(0);
    }

    70% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
        pointer-events: none;
    }
}




.doc-info * {
    margin: 0; /* 👈 elimina márgenes nativos */
    /*padding: 0;*/
}

.doc-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px; /* 👈 controla el espacio entre cada elemento */
    text-align: center;
}
