/*INDEX*/

.service-tile {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 12px;
    height: 180px;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: start;
    transition: all 0.3s ease;
    color: #fff;
    overflow: hidden;
}

    .service-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
        border-radius: 12px;
    }

    .service-tile .tile-content {
        background: linear-gradient(360deg, black, transparent);
        position: relative;
        z-index: 2;
        font-size: 1rem;
        color: #C83734;
        font-weight: 600;
        width: 100% !important;
        padding: 10px;
        line-height: 1rem;
    }



    .service-tile small {
        font-weight: 280;
        color: #f2f2f2;
    }

    .service-tile.selected {
        border-color: #C83734;
        box-shadow: 0 0 10px #C83734;
    }

.selection-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #C83734;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border: 0.5px solid #f2f2f2;
    border-radius: 15%;
    width: 35px;
    height: 26px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.service-tile.selected .selection-badge {
    display: flex;
}

.selected-services-box {
    cursor: pointer;
    min-height: 38px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}

.selected-service-tag {
    background: #C83734;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .selected-service-tag .remove-tag {
        cursor: pointer;
        font-weight: bold;
    }

.modal-backdrop {
    display: none;
}

#doneSelectServices {
    background-color: #C83734;
    color: #fff;
    width: 12%;
    letter-spacing: 2px;
}

.modal-header {
    border: none;
}

.modal-dialog {
    border-radius: 15px / 15px;
    overflow: hidden;
}

.flexDiv {
    display: flex;
    justify-content: space-around;
}

.form-check-input:checked {
    background-color: #C83734;
    border-color: #C83734;
}

.btn-danger:hover {
    background-color: #a22c2a;
}

.btn-outline-danger {
    color: #C83734;
    border-color: #C83734;
}

    .btn-outline-danger:hover {
        color: #fff;
        border-color: #C83734 !important;
        background-color: #C83734 !important;
    }

.Btn-Custom {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 35% 50%;
    align-items: center;
    width: 35% !important;
    margin: auto;
}


@@media (max-width: 1220px) {
    .Btn-Custom {
        width: 50% !important;
    }
}

@@media (max-width: 768px) {

    .service-tile h5 {
        font-size: 1rem;
    }

    .service-tile small {
        font-size: 0.75rem;
        font-weight: 200;
    }

    #doneSelectServices {
        width: 30% !important;
    }
}

@@media (max-width: 480px) {
    .Btn-Custom {
        width: 80% !important;
    }
}

.success-container img {
    width: 20rem;
    margin: auto;
    display: block;
}

.success-container h4 {
    font-size: 2.5rem !important;
    color: #C83734;
}

.success-container h6 {
    font-size: 1.25rem !important;
}

.success-container button {
    background: #C83734;
    margin: 1rem auto 0;
    color: #FFFFFFED;
    width: 100%;
    font-size: larger;
    letter-spacing: 2px;
}