﻿/*CARDS*/
    .redesign .card {
        background-color: var(--white);
        border-radius: 16px;
        /*        box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25); todo: validar ui*/
        box-shadow: 2px 3px 5px 0px rgb(0 0 0 / 11%);
        padding: 3rem;
        display: flex;
        flex-direction: column;
        gap: 5px;
        border: 1px solid #f6f6f6;
    }

    .redesign .productCard {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
    }

    .redesign .productCard i {
        display: flex;
        justify-content: center;
        font-size: 3rem !important;
        color: var(--redesign-primary-color) !important;
    }

    .redesign .productCard:hover, 
    .redesign .productCard.selected,
    .redesign .productCard:hover i,
    .redesign .productCard.selected i {
        opacity: 1;
        background-color: var(--redesign-primary-color) !important;
        color: var(--white) !important;
        font-weight: bold;
    }


    .redesign .productCard .title {
        font-weight: bold;
    }

    .redesign .containerProductCards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin: 0 auto;
    }

    .redesign .contentProductCardsItem {
        width: 325px !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        border-radius: 16px !important;
        box-shadow: 0px 4px 20px 0px rgb(207 207 207 / 25%);
        padding: 3rem !important;
    }


    .redesign .containerProductCardsItem {
        display: flex !important;
        gap: 20px !important;
        padding: 20px !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .redesign .card-item-header {
        display: flex;
        padding: 6px 12px !important;
        border-left: 5px solid var(--redesign-primary-color) !important;
        background-color: var(--white) !important;
        font-weight: 500;
    }

    .redesign .card-item-body {
        padding: 2rem !important;
    }

.redesign .card-item-footer {
    display: flex;
    justify-content: end;
    padding: 15px;
    text-align: center;
}

    .redesign .card-benefits {
        list-style: none;
        margin: 0;
        flex-grow: 1;
        overflow-y: auto;
    }

.redesign .card-benefits li {
margin-bottom: 5px;
font-size: 14px;
position: relative;
padding-left: 20px;
}

.redesign .card-benefits li::before {
content: '✓';
color: #28a745;
font-weight: bold;
position: absolute;
left: 0;
}
/*insurer-card-container*/

.redesign .insurer-card-container {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    justify-content: center;
}

    .redesign .insurer-card-container .card {
        border-color: rgba(189, 189, 189, 1) !important;
        cursor: pointer !important;
        width: 15rem;
        padding: 1rem;
        text-align: center;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
        opacity: 0.3;
        gap: 2rem;
        border-radius: 7px;
    }
        .redesign .insurer-card-container .card:hover, .redesign .insurer-card-container .card.selected {
            opacity: 1;
        }
    .redesign .insurer-card-container .card img {
        width: 10rem;
    }


/*quotationCard*/
.quotationLoadingCard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.quotationLoadingCard .body {
    height: 23rem;
}
.quotationLoadingCard .actions {
    height: 8rem; 
}

.redesign .quotationCardContainer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
}
.redesign .card.quotationCard {
    width: 34.5rem;
    justify-content: space-between;
    position: relative;
    gap: 2rem;
    background: var(--background-gray);
}
    /* COMECA INFOBOX*/
    .redesign .card.quotationCard .info-box {
        position: relative;
        display: inline-block;
    }

        .redesign .card.quotationCard .info-box ul {
            display: none;
            position: absolute;
            top: 120%; /* distância abaixo do texto */
            left: 0;
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 6px;
            padding: 10px 14px;
            list-style: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
            min-width: 260px;
            z-index: 100;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-5px);
            transition: all 0.2s ease;
        }

            .redesign .card.quotationCard .info-box ul li {
                font-size: 13px;
                padding: 4px 0;
                color: #333;
            }

        .redesign .card.quotationCard .info-box span {
            cursor: pointer;
            color: #007bff;
            font-weight: 500;
        }

            .redesign .card.quotationCard .info-box span i {
                margin-right: 5px;
            }

        .redesign .card.quotationCard .info-box:hover ul {
            display: block;
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
/* TERMINA INFOBOX*/


.redesign .quotationItems {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0rem;
}

.redesign .quotationItems i{
    color: var(--redesign-primary-color);
}

    .redesign .quotationItems .title {
        display: block;
        font-weight: bold;
        color: rgba(0, 0, 0, 0.37);
        letter-spacing:  0;
    }
    .redesign .quotationItems .value {
        margin-left: 3px;
        font-size: 14px;
        color: rgba(0, 0, 0, 0.37);
    }
.redesign .quotationActions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.redesign .quotationActions a{
    cursor: pointer;
}
    .redesign .price-badge {
    position: absolute;
    display: inline-block;
    color: var(--white);
    background: linear-gradient(180deg, var(--redesign-secondary-color), var(--redesign-primary-color));
    font-weight: 700;
    padding: 16px 13px;
    border-radius: 4px 4px 0 0;
    font-size: 1.5rem;
    text-align: center;
    top: -5px;
    right: 25px;
    width: 80px;
    height: 50px;
}

.redesign .card.quotationCard.lowestPrice .price-badge {
    background: linear-gradient(180deg, #43a047, #2e7d32) !important;
}
.redesign .card.quotationCard.lowestPrice .price-badge::after {
    border-top-color: #2e7d32 !important;
}
    /* Triângulo inferior */
    .redesign .price-badge::after {
        content: "";
        position: absolute;
        bottom: -14px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-top: 15px solid var(--redesign-primary-color);
    }

/*COLLAPSE*/

    .redesign .card .cardHeader {
        display: flex !important;
        justify-content: space-between !important;
        flex-direction: row !important;
        cursor: pointer;
    }
    .redesign .card[data-collapsed="true"] .cardBody {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

.redesign .card .collapseIcon {
    color: var(--redesign-primary-color)!important;
}
.redesign .card[data-collapsed="true"] .cardHeader .collapseIcon::before {
    content: "\f0fe" !important;
}
    .redesign .card[data-collapsed="false"] .cardHeader .collapseIcon::before {
        content: "\f146" !important;
    }
    .redesign .card[data-collapsed="true"] {
        max-height: 80px !important;
    }

    .redesign .card[data-collapsed="true"] .cardBody {
        display: none !important;
    }

    .redesign .productCard .info-card {
        position: relative;
        display: inline-block;
    }

    .redesign .productCard .info-card > span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
        cursor: pointer;
        color: var(--redesign-primary-color);
        font-weight: 500;
    }

    .redesign .productCard .info-card > span i {
        display: inline-block;
        font-size: 14px !important;
        margin-right: 0;
        color: inherit !important;
    }

    .redesign .productCard:hover .info-card > span,
    .redesign .productCard.selected .info-card > span {
        color: var(--white) !important;
    }

    .redesign .productCard .info-card ul {
        display: none;
        position: absolute;
        top: 120%;
        left: 0;    
        background: var(--white);
        border: 1px solid var(--redesign-light-gray-color, #ccc);
        border-radius: 6px;
        padding: 10px 14px;
        list-style: none;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        min-width: 260px;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-5px);
        transition: all 0.2s ease;
    }

    .redesign .productCard .info-card ul li {
        font-size: 13px;
        padding: 4px 0;
        color: var(--redesign-dark-color, #333);
    }

    .redesign .productCard .info-card:hover ul {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);        
    }