/* Estilos para la sección de Tasas de Interés y Documentos */

.tasas-container {
    padding: 20px 10px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Introducción de la página */
.tasas-intro {
    background-color: #f9fbf9;
    border-left: 4px solid #7BB238;
    padding: 20px 25px;
    border-radius: 4px;
    margin-bottom: 35px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.tasas-intro p {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* Estilos para las Secciones de Tasas */
.tasas-section {
    margin-bottom: 50px;
}

.tasas-section:last-child {
    margin-bottom: 10px;
}

.tasas-section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #007A5C;
    border-bottom: 2px solid #7BB238;
    padding-bottom: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tasas-section-title i {
    color: #7BB238;
    font-size: 2.4rem;
}

/* Grid de Tarjetas */
.tasas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 10px 0;
}

/* Tarjeta de Documento */
.tasa-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.tasa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007A5C, #7BB238);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tasa-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 99, 65, 0.12);
    border-color: rgba(0, 99, 65, 0.15);
}

.tasa-card:hover::before {
    opacity: 1;
}

/* Contenido de la Tarjeta */
.tasa-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tasa-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: rgba(220, 53, 69, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 2.2rem;
    flex-shrink: 0;
}

.tasa-card:hover .tasa-icon-container {
    background-color: #dc3545;
    color: #ffffff;
    transition: all 0.3s ease;
}

.tasa-card-meta {
    flex-grow: 1;
}

.tasa-card-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #007A5C;
    margin-bottom: 5px;
    line-height: 1.3;
}

.tasa-card-subtitle {
    font-size: 1.2rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tasa-card-body {
    margin-bottom: 20px;
}

.tasa-card-description {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.5;
}

/* Botones de Acción */
.tasa-card-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.tasa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.tasa-btn-view {
    background: transparent;
    border: 2px solid #7BB238;
    color: #7BB238;
}

.tasa-btn-view:hover {
    background-color: #7BB238;
    color: #ffffff;
}

.tasa-btn-download {
    background-color: #007A5C;
    border: 2px solid #007A5C;
    color: #ffffff;
}

.tasa-btn-download:hover {
    background-color: #005d46;
    border-color: #005d46;
    box-shadow: 0 4px 10px rgba(0, 122, 92, 0.2);
}

/* Diseño Responsivo */
@media (max-width: 600px) {
    .tasa-card-actions {
        flex-direction: row;
    }
    .tasa-btn {
        flex: 1;
    }
}
