/**
 * バリデーションエラー
 */
form .input.error input {
    border-color: #CC0033;
}

form .input.error .error-message {
    color: #CC0033;
    font-size: 0.8rem;
}

/* -------------------------------------------------------------------------- */
select>option[disabled] {
    background-color: #8080804d;
}

select>option.pseudo-disabled {
    background-color: yellow;
}

.clinics div label {
    text-align: center;
    margin-right: 1rem;
    margin: 0 20px 8px 0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background-color: #e9e9e9;
    cursor: pointer;
}

.copy-btn {
    box-shadow: none !important;
    cursor: pointer;
}

.pickatime {
    cursor: pointer;
}

.holiday-icon {
    background: #17a2b8;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5em;
    color: hsl(0, 0%, 100%);
    font-size: 1rem;
    text-align: center;
    line-height: 1.5rem;
    margin-left: 30%;
}

/* ステータスボタンの未選択状態 */
.status-label:has(.status-checkbox:not(:checked)) {
    background-color: #F0F0F0 !important;
}

/* ステータスボタンの横並び */
div.input.checkbox:has(.status-label) {
    display: inline;
    margin-right: 5px;
}

.status-label {
    width: 12em;
}

/** ****************************************************************************
 * 各要素
 **************************************************************************** */
body.all-device {
    position: relative;
    padding: 10% 0;
    background-color: #f8f9fa;
}

@media screen and (max-height: 700px) {
    body.all-device {
        padding: 5% 0;
    }
}


/** ****************************************************************************
 * alert - モバイルレイアウトと共有しているのでelementにclassを追加する時は注意
 **************************************************************************** */
.alert {
    margin-top: 1rem;
}

body.all-device .alert {
    position: absolute;
    margin-top: 0;
    top: 4rem;
    width: 90%;
    max-width: 960px;
    left: 50%;
    transform: translate(-50%, 0);
}

@media screen and (max-height: 700px) {
    body.all-device .alert {
        top: 1rem;
    }
}
