/*==========================================*
        MODAL AFIRMACIÓN (TONOS AZULES)
*==========================================*/

.afirmacion-modal {
    border: none;
    border-radius: 25px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        rgba(240, 249, 255, .97) 0%,
        rgba(221, 242, 255, .96) 45%,
        rgba(201, 234, 255, .95) 100%
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(13, 110, 253, .18);
}

/*==========================================*
            CABECERA
*==========================================*/

.afirmacion-modal .modal-header {
    background: linear-gradient(
        135deg,
        #4facfe 0%,
        #00c6fb 100%
    );
    color: #fff;
    border: none;
    padding: 18px 25px;
}

.afirmacion-modal .modal-title {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: .5px;
}

.afirmacion-modal .btn-close {
    filter: invert(1);
}

/*==========================================*
            CUERPO
*==========================================*/

.afirmacion-modal .modal-body {
    padding: 30px;
    color: #2d3748;
}

/*==========================================*
            IMAGEN Y PLACEHOLDER
*==========================================*/

.afirmacion-img-container {
    position: relative;
    width: 100%;
}

.afirmacion-modal img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 18px;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    transition: .35s;
}

.afirmacion-modal img:hover {
    transform: scale(1.02);
}

.afirmacion-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #0d6efd;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

/*==========================================*
            TÍTULOS Y BADGES
*==========================================*/

.text-afirmacion {
    color: #0d6efd;
}

.bg-afirmacion {
    background-color: #0d6efd !important;
    color: #fff;
}

/*==========================================*
            TABLA
*==========================================*/

.afirmacion-modal table {
    margin-bottom: 0;
}

.afirmacion-modal table th {
    width: 140px;
    color: #0d6efd;
    font-weight: 700;
    vertical-align: top;
    padding: 8px 10px;
    font-size: 0.9rem;
}

.afirmacion-modal table td {
    color: #444;
    padding: 8px 10px;
    font-size: 0.9rem;
}

/*==========================================*
            TARJETA PRINCIPAL (AFIRMACIÓN)
*==========================================*/

.afirmacion-card-main {
    background: rgba(255, 255, 255, 0.85);
    border-left: 6px solid #4facfe;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.08);
}

.afirmacion-card-main h5 {
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 15px;
}

.afirmacion-card-main blockquote p {
    color: #1e3a8a;
    font-style: italic;
    line-height: 1.6;
}

/*==========================================*
            TARJETA SUCCESS
*==========================================*/

.afirmacion-card-success {
    background: rgba(240, 255, 245, .80);
    border-left: 5px solid #20c997;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
}

.afirmacion-card-success h5 {
    color: #198754;
    font-weight: 700;
    margin-bottom: 10px;
}

.afirmacion-card-success p {
    margin: 0;
    color: #444;
    line-height: 1.7;
    text-align: justify;
}

/*==========================================*
            TARJETA INFO (AZUL CLARO)
*==========================================*/

.afirmacion-card-info {
    background: rgba(232, 244, 255, .80);
    border-left: 5px solid #0dcaf0;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
}

.afirmacion-card-info h5 {
    color: #0d6efd;
    font-weight: 700;
    margin-bottom: 10px;
}

.afirmacion-card-info p {
    margin: 0;
    color: #444;
    line-height: 1.7;
    text-align: justify;
}

/*==========================================*
            TARJETA PURPLE CAMBIADA A BLUE
*==========================================*/

.afirmacion-card-purple {
    background: rgba(224, 242, 254, .80);
    border-left: 5px solid #38bdf8;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
}

.afirmacion-card-purple h5 {
    color: #0284c7;
    font-weight: 700;
    margin-bottom: 10px;
}

.afirmacion-card-purple p {
    margin: 0;
    color: #444;
    line-height: 1.7;
    text-align: justify;
}

/*==========================================*
            TARJETA WARNING
*==========================================*/

.afirmacion-card-warning {
    background: rgba(255, 251, 235, .80);
    border-left: 5px solid #ffc107;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
}

.afirmacion-card-warning h5 {
    color: #b8860b;
    font-weight: 700;
    margin-bottom: 10px;
}

/*==========================================*
            HR Y SCROLL
*==========================================*/

.afirmacion-modal hr {
    border-color: rgba(13, 110, 253, .18);
    margin: 20px 0;
}

.afirmacion-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}

.afirmacion-modal .modal-body::-webkit-scrollbar-thumb {
    background: #4facfe;
    border-radius: 20px;
}

/*==========================================*
            RESPONSIVE
*==========================================*/

@media(max-width: 991px) {
    .afirmacion-modal .modal-body {
        padding: 20px;
    }
    .afirmacion-modal table th {
        width: 120px;
    }
}