/* 文字列置き換えアプリ用のCSS */

/* 入力ボックスのスタイル調整 */
.center-objs .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* 置き換え設定エリアのスタイル */
.replace-controls {
    width: 100%;
    max-width: 250px;
    margin: 10px 0;
}

.replace-controls label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.replace-controls input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.replace-controls input[type="text"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* ハイライト表示用のスタイル */
.highlight-text {
    background-color: #ffeb3b;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}

/* チェックボックスエリアの調整 */
.checkbox {
    margin-top: 15px;
    text-align: center;
}

.checkbox input[type="checkbox"] {
    margin-right: 8px;
}

.checkbox label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .replace-controls {
        max-width: 200px;
    }
    
    .replace-controls input[type="text"] {
        font-size: 16px; /* モバイルでのズーム防止 */
    }
}

/* 矢印アイコンの調整 */
.center-objs img {
    margin: 10px 0;
}

/* 入力フィールドのプレースホルダーのスタイル */
.replace-controls input[type="text"]::placeholder {
    color: #999;
    font-style: italic;
}
