/** SWITCH **/
.form-switch .form-check-input {
    width: 3rem;
    height: 1.3rem;
}

label.required::after {
    content: " *";
    color: var(--link-default-color);
}

/** Textarea "notes" style */
.notes-wrapper {
    position: relative;
    width: 100%;
}

.notes-area {
    width: 100%;
    min-height: 200px;
    padding: 12px 40px 12px 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    resize: vertical;
    font-size: 1rem;
    font-family: inherit;
}

.notes-wrapper .btnk {
    position: absolute;
    right: 8px;
    bottom: 8px;
    opacity: 0;
    transition: 0.2s ease-in-out;
}

.notes-wrapper:hover .btnk,
.notes-wrapper .btnk.show {

    opacity: 1;
}

select.form-select {
    background-color: rgba(255, 255, 255, 0.08);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba(255,255,255,0.7)'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);

    border-radius: 10px;

    border: 1px solid rgba(255, 255, 255, 0.18);

    box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.45),
            inset 0 1px 1px rgba(255, 255, 255, 0.25);

    color: var(--white-color);
    margin: .05rem 0 0.5rem 0;
}

select::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.25),
            rgba(255, 255, 255, 0.05) 40%,
            rgba(255, 255, 255, 0.02) 60%
    );

    mix-blend-mode: overlay;
}

.form-check-input:checked {
    background-color: #198754;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.4);
    box-shadow:
            0 10px 25px rgba(0,0,0,.15),
            inset 0 1px 1px rgba(255,255,255,.35);
}

select option {
    color: #000; // Fix black for some browser
}