/*==========================================*
        MODAL PIEDRAS
*==========================================*/

.piedra-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
*==========================================*/

.piedra-modal .modal-header{

    background:linear-gradient(
        135deg,
        #4facfe 0%,
        #00c6fb 100%
    );

    color:#fff;

    border:none;

    padding:18px 25px;

}

.piedra-modal .modal-title{

    font-weight:700;

    font-size:1.35rem;

    letter-spacing:.5px;

}

.piedra-modal .btn-close{

    filter:invert(1);

}


/*==========================================*
            CUERPO
*==========================================*/

.piedra-modal .modal-body{

    padding:30px;

    color:#2d3748;

}


/*==========================================*
            IMAGEN
*==========================================*/

.piedra-modal img{

    width:100%;

    max-height:330px;

    object-fit:cover;

    border-radius:18px;

    border:5px solid #fff;

    box-shadow:0 10px 30px rgba(0,0,0,.15);

    transition:.35s;

}

.piedra-modal img:hover{

    transform:scale(1.02);

}


/*==========================================*
            TÍTULOS
*==========================================*/

#piedraNombre{

    margin-top:15px;

    color:#0d6efd;

    font-weight:700;

}

#piedraNombreCientifico{

    color:#6c757d;

    font-style:italic;

}


/*==========================================*
            TABLA
*==========================================*/

.piedra-modal table{

    margin-bottom:0;

}

.piedra-modal table th{

    width:190px;

    color:#0d6efd;

    font-weight:700;

    vertical-align:top;

    padding:10px;

}

.piedra-modal table td{

    color:#444;

    padding:10px;

}


/*==========================================*
        PALABRAS CLAVE VISUALES
*==========================================*/

.piedra-badge{

    display:inline-block;

    background:linear-gradient(
        135deg,
        #4facfe,
        #00c6fb
    );

    color:#fff;

    padding:8px 15px;

    border-radius:50px;

    font-size:.90rem;

    font-weight:600;

    margin:4px;

    box-shadow:0 4px 10px rgba(13,110,253,.18);

}


/*==========================================*
        TARJETAS DE INFORMACIÓN
*==========================================*/

.piedra-card{

    background:rgba(255,255,255,.60);

    border-left:5px solid #4facfe;

    border-radius:12px;

    padding:18px;

    margin-bottom:18px;

    box-shadow:0 5px 15px rgba(0,0,0,.05);

}

.piedra-card h5{

    color:#0d6efd;

    font-weight:700;

    margin-bottom:12px;

}

.piedra-card p{

    margin:0;

    color:#444;

    text-align:justify;

    line-height:1.8;

}


/*==========================================*
        TARJETA VERDE
*==========================================*/

.piedra-card-success{

    background:rgba(240,255,245,.75);

    border-left:5px solid #20c997;

    border-radius:12px;

    padding:18px;

    margin-bottom:18px;

    box-shadow:0 5px 15px rgba(0,0,0,.05);

}

.piedra-card-success h5{

    color:#198754;

    font-weight:700;

    margin-bottom:12px;

}

.piedra-card-success p{

    margin:0;

    color:#444;

    text-align:justify;

    line-height:1.8;

}


/*==========================================*
        TARJETA AMARILLA
*==========================================*/

.piedra-card-warning{

    background:rgba(255,251,235,.75);

    border-left:5px solid #ffc107;

    border-radius:12px;

    padding:18px;

    margin-bottom:18px;

    box-shadow:0 5px 15px rgba(0,0,0,.05);

}

.piedra-card-warning h5{

    color:#b8860b;

    font-weight:700;

    margin-bottom:12px;

}

.piedra-card-warning p{

    margin:0;

    color:#444;

    text-align:justify;

    line-height:1.8;

}


/*==========================================*
        TARJETA AZUL
*==========================================*/

.piedra-card-info{

    background:rgba(232,244,255,.70);

    border-left:5px solid #0dcaf0;

    border-radius:12px;

    padding:18px;

    margin-bottom:18px;

    box-shadow:0 5px 15px rgba(0,0,0,.05);

}

.piedra-card-info h5{

    color:#0d6efd;

    font-weight:700;

    margin-bottom:12px;

}

.piedra-card-info p{

    margin:0;

    color:#444;

    text-align:justify;

    line-height:1.8;

}

/*==========================================*
        TARJETA ROJA
*==========================================*/

.piedra-card-danger{

    background:rgba(255,240,240,.75);

    border-left:5px solid #dc3545;

    border-radius:12px;

    padding:18px;

    margin-bottom:18px;

    box-shadow:0 5px 15px rgba(0,0,0,.05);

}

.piedra-card-danger h5{

    color:#dc3545;

    font-weight:700;

    margin-bottom:12px;

}

.piedra-card-danger p{

    margin:0;

    color:#444;

    text-align:justify;

    line-height:1.8;

}


/*==========================================*
            HR
*==========================================*/

.piedra-modal hr{

    border-color:rgba(13,110,253,.18);

    margin:25px 0;

}


/*==========================================*
            SCROLL
*==========================================*/

.piedra-modal .modal-body::-webkit-scrollbar{

    width:8px;

}

.piedra-modal .modal-body::-webkit-scrollbar-thumb{

    background:#4facfe;

    border-radius:20px;

}


/*==========================================*
            RESPONSIVE
*==========================================*/

@media(max-width:991px){

    .piedra-modal .modal-body{

        padding:20px;

    }

    .piedra-modal table th{

        width:130px;

    }

}