html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ===== Mood Picker ===== */

.mood-tile {
    cursor: pointer;
}

.mood-radio {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mood-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 16px;
    border: 2px solid transparent;
    background-color: rgba(0, 0, 0, 0.03);
}

.mood-icon {
    font-size: 24px;
}

    .mood-icon i {
        color: var(--mood-color);
    }

.mood-label {
    margin-top: 6px;
    font-size: 0.85rem;
    text-align: center;
}

.mood-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--mood-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

    .mood-check i {
        color: white;
        font-size: 12px;
    }

.mood-radio:checked + .mood-body {
    border-color: var(--mood-color);
    background-color: rgba(0, 0, 0, 0.06);
}

    .mood-radio:checked + .mood-body .mood-check {
        opacity: 1;
    }

.mood-radio:focus-visible + .mood-body {
    outline: 2px solid var(--mood-color);
    outline-offset: 2px;
}
