@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

*,
*:after,
*:before {
    box-sizing: border-box;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-group>* {
    margin: 0.5rem 0.5rem;
}

.checkbox-group-legend {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9c9c9c;
    text-align: center;
    line-height: 1.125;
    margin-bottom: 1.25rem;
}

.checkbox-input {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}




.checkbox-input:checked+.checkbox-tile {
    border-color: #2260ff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #2260ff;
    font-weight: 700;

}

.checkbox-input:checked+.checkbox-tile:before {
    transform: scale(1);
    opacity: 1;
    background-color: #2260ff;
    border-color: #2260ff;
}

.checkbox-input:checked+.checkbox-tile .checkbox-icon,
.checkbox-input:checked+.checkbox-tile .checkbox-label {
    color: #2260ff;
}

.checkbox-input:focus+.checkbox-tile {
    border-color: #2260ff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #b5c9fc;
}





/* GENERAL: */
.checkbox-input:checked+.checkbox-tile.general {
    border-color: #198754;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #198754;
    background: #0080002b;
}

.checkbox-input:checked+.checkbox-tile.general:before {
    transform: scale(1.2);
    opacity: 1;
    background-color: #198754;
    border-color: #198754;
}

.checkbox-input:checked+.checkbox-tile.general .checkbox-icon,
.checkbox-input:checked+.checkbox-tile.general .checkbox-label {
    color: #198754;
}


/* POSITIONS: */
.checkbox-input:checked+.checkbox-tile.positions {
    border-color: #00b5da;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #00b5da;
    background: #36f4f45c;
}

.checkbox-input:checked+.checkbox-tile.positions:before {
    transform: scale(1.2);
    opacity: 1;
    background-color: #006074;
    border-color: #006074;
}

.checkbox-input:checked+.checkbox-tile.positions .checkbox-icon,
.checkbox-input:checked+.checkbox-tile.positions .checkbox-label {
    color: #084c59;
}


/* LOCATION: */
.checkbox-input:checked+.checkbox-tile.locations {
    border-color: #b20cf4;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #b20cf4;
    background: #80008029;
}

.checkbox-input:checked+.checkbox-tile.locations:before {
    transform: scale(1);
    opacity: 1;
    background-color: #b20cf4;
    border-color: #b20cf4;
}

.checkbox-input:checked+.checkbox-tile.locations .checkbox-icon,
.checkbox-input:checked+.checkbox-tile.locations .checkbox-label,
.checkbox-input:checked+.checkbox-tile.locations .checkbox-label-header {
    color: #b20cf4;
    font-weight: 700;
}


.checkbox-input:not(checked)+.checkbox-tile.location .checkbox-label-header {
    display: none;
}






/* ACTIVITIES */
.checkbox-input:checked+.checkbox-tile.activities {
    border-color: #c98d0b;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #d4e808;
    background: #fbff074d;
}

.checkbox-input:checked+.checkbox-tile.activities:before {
    transform: scale(1.2);
    opacity: 1;
    background-color: #b1ae28;
    border-color: #b1ae28;
}

.checkbox-input:checked+.checkbox-tile.activities .checkbox-icon,
.checkbox-input:checked+.checkbox-tile.activities .checkbox-label {
    color: #4f5419;
}



/* ACCESSORIES */
.checkbox-input:checked+.checkbox-tile.accessories {
    border-color: #d09c00;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #d09c00;
    background: #ffc10759;
}

.checkbox-input:checked+.checkbox-tile.accessories:before {
    transform: scale(1.2);
    opacity: 1;
    background-color: #b7a90d;
    border-color: #b7a90d;
}

.checkbox-input:checked+.checkbox-tile.accessories .checkbox-icon,
.checkbox-input:checked+.checkbox-tile.accessories .checkbox-label {
    color: #6e660d;
}



/* FINISH */
.checkbox-input:checked+.checkbox-tile.finish {
    border-color: #1ca404;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #1ca404;
    background: #22ffa724;
}

.checkbox-input:checked+.checkbox-tile.finish:before {
    transform: scale(1.2);
    opacity: 1;
    background-color: #0bae39;
    border-color: #1ca404;
}

.checkbox-input:checked+.checkbox-tile.finish .checkbox-icon,
.checkbox-input:checked+.checkbox-tile.finish .checkbox-label {
    color: #236817;
}



.checkbox-input:focus+.checkbox-tile:before {
    transform: scale(1);
    opacity: 1;
}

.checkbox-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
}

.checkbox-tile:before {
    content: "";
    position: absolute;
    display: block;
    width: 1em;
    height: 1em;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    border-radius: 50%;
    top: .5em;
    left: .5em;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.checkbox-tile.finish:before {
    content: "";
    position: absolute;
    display: block;
    width: 1.4em;
    height: 1.4em;
    border: 2px solid #b5bfd9;
    background-color: #fff;
    border-radius: 50%;
    top: -.8em;
    left: 36%;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

/* .checkbox-tile:hover {
    border-color: #2260ff;
} */

.checkbox-tile:hover:before {
    transform: scale(1);
    opacity: 1;
}

.checkbox-icon {
    transition: 0.375s ease;
    color: #494949;
}

.checkbox-icon svg {
    width: 3rem;
    height: 3rem;
}

.checkbox-label {
    color: #707070;
    transition: 0.375s ease;
    text-align: center;
    font-size: .6em;
    padding-top: 4px;
}

.checkbox-label.cum {
    color: #707070;
    transition: 0.375s ease;
    text-align: center;
    font-size: .7em;
    padding-top: 0px;
}

.checkbox-label-header {
    color: #575757;
    transition: 0.375s ease;
    text-align: center;
    font-size: .7em;
    font-weight: 600;

}


.setMax {
    max-width: 50px !important;
    min-width: 50px !important;
    max-height: 50px !important;
    min-height: 50px !important;
    object-fit: cover;
    border-radius: 8px;
}