:root {
    --accent: #B4A180;
    --accent-contrast: #fff;
    --muted: #666;
    --radius: 10px;
}

/* UTILIDADES */
.w-100 {
    width: 100% !important;
}

.d-none {
    display: none;
}

.warning {
    color: rgb(131, 1, 1);
}

#lblNoAsistir,
#spnValidarConfirmar {
    font-size: 12px;
    font-weight: 400;
}

.text-white {
    color: white !important;
}

.m-0 {
    margin: 0px !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.justify-content-around {
    justify-content: space-around;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-5 {
    gap: 1rem;
}

/* SELECT NORMAL */
.select-custom {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.select-custom .custom-select-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: .2s ease;
}

.select-custom .custom-select-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 4px rgba(180, 161, 128, 0.4);
}

.select-custom .custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 20;
}

.select-custom.open .custom-select-options {
    display: block;
}

.select-custom .custom-option {
    padding: 10px;
    cursor: pointer;
}

.select-custom .custom-option:hover {
    background: rgba(180, 161, 128, 0.2);
}

/* SELECT2 MULTISELECT */
.select2-custom {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.select2-custom .custom-select-btn {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    /* espacio entre chips */
    min-height: 46px;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 4px 8px;
    background: #fff;
    cursor: pointer;
    transition: .2s ease;
    position: relative;
}

.select2-custom .custom-select-btn:hover {
    box-shadow: 0 0 4px rgba(180, 161, 128, 0.4);
}

.select2-custom .custom-select-btn .placeholder {
    color: var(--muted);
    flex: 1;
}

/* Flecha visible solo si placeholder */
.select2-custom .custom-select-btn .arrow {
    margin-left: auto;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: opacity .2s;
}

/* Chips de selección */
.select2-custom .custom-select-btn .chip {
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.select2-custom .custom-select-btn .chip .remove-chip {
    cursor: pointer;
    font-weight: bold;
}

/* Dropdown */
.select2-custom .custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 20;
}

.select2-custom.open .custom-select-options {
    display: block;
}

.select2-custom .custom-option {
    padding: 10px 12px;
    cursor: pointer;
}

.select2-custom .custom-option:hover {
    background: rgba(180, 161, 128, 0.2);
}

.select2-custom .custom-option.selected {
    background: rgb(180 161 128 / 13%);
    font-weight: bold;
    color: var(--accent);
}

/* CHECKBOX */
.checkbox-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin-top: 20px;
}

.checkbox-custom input {
    display: none;
}

.checkbox-custom .box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    display: grid;
    place-items: center;
    transition: .18s;
    background: #fff;
    cursor: pointer;
}

.checkbox-custom .box.checked {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(180, 161, 128, 0.25);
}

.checkbox-custom .box svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: .12s;
}

.checkbox-custom .box.checked svg {
    opacity: 1;
}

/*Paleta de colores*/
/* Paleta de colores */
/* Grid 3×3 */
.palette-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 25px;
    padding: 30px 0;
    justify-content: center;
}

/* Contenedor de cada color */
.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Espacios vacíos */
.empty {
    visibility: hidden;
}

/* Círculos elegantes */
.color-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.10),
        0 4px 14px rgba(0, 0, 0, 0.08);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.color-circle:hover {
    transform: scale(1.12);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.18),
        0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Etiquetas */
.color-label {
    margin-top: 8px;
    font-size: 12px;
    color: #555;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Colores */
.black {
    background-color: #000000;
}

.white {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.red {
    background-color: #C42020;
}