/* Edgeの保存情報候補向け。入力欄の寸法とフォーカス装飾を安定させる。 */
.form-input,
.form-select {
    box-sizing: border-box;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    padding: 0.5rem 0.75rem;
    line-height: 1.5;
    font-size: 1rem;
    transition: none;
}

.form-textarea {
    box-sizing: border-box;
    min-height: 6rem;
    height: 6rem;
    padding: 0.5rem 0.75rem;
    line-height: 1.5;
    font-size: 1rem;
    overflow: auto;
    transition: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #d1d5db;
    box-shadow: none;
    background-color: #fdf2f8;
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-select:-webkit-autofill,
.form-select:-webkit-autofill:hover,
.form-select:-webkit-autofill:focus {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding: 0.5rem 0.75rem !important;
    line-height: 1.5 !important;
    transition: none !important;
}

.form-textarea:-webkit-autofill,
.form-textarea:-webkit-autofill:hover,
.form-textarea:-webkit-autofill:focus {
    min-height: 6rem !important;
    height: 6rem !important;
    padding: 0.5rem 0.75rem !important;
    line-height: 1.5 !important;
    transition: none !important;
}

.postal-code-group {
    position: relative;
}

.postal-code-group .form-input {
    flex: 1 1 auto;
    width: 100%;
}

.postal-code-group .loading-text {
    position: absolute;
    right: 0.75rem;
    top: 0;
    height: 42px;
    line-height: 42px;
    pointer-events: none;
}
