/* thought.css */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; 
    background: #f0f2f5; 
    padding: 10px;
    margin: 0;
}
.container { 
    max-width: 600px; 
    margin: 10px auto; 
    background: white; 
    padding: 20px; 
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}
h1 { font-size: 1.5rem; color: #2c3e50; border-bottom: 3px solid #3498db; padding-bottom: 8px; }

.form-group { margin-bottom: 20px; }
label { display: block; font-weight: bold; margin-bottom: 5px; color: #444; }
input[type="text"], textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 8px; 
    box-sizing: border-box; 
    font-size: 16px; 
}
textarea { height: 120px; resize: vertical; }

button { 
    background: #3498db; 
    color: white; 
    border: none; 
    padding: 15px; 
    cursor: pointer; 
    border-radius: 8px; 
    width: 100%; 
    font-size: 18px; 
    font-weight: bold;
    transition: background 0.3s;
}
.confirm-btn { background: #e67e22; }
button:active { opacity: 0.8; }

.table-container { 
    width: 100%; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    margin-top: 20px;
}
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 400px; }
th, td { border: 1px solid #eee; padding: 12px 8px; text-align: left; }
th { background: #f8f9fa; }

.diff-box { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.diff-item { padding: 15px; border-radius: 8px; border: 1px solid #ddd; }
.old { background: #fff5f5; } .new { background: #f0fff4; }

@media (min-width: 480px) {
    .diff-box { flex-direction: row; }
    body { padding: 20px; }
}

.password-container {
    background: #f8f9fa; /* 薄いグレーに変更（オレンジ系から脱却） */
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #bdc3c7; /* 落ち着いたグレーのアクセント */
    margin-top: 10px;
}

/* パスワード入力欄専用のスタイル */

input[type="password"], 
input[type="text"]#passwordField {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc; /* 他の入力欄と同じ太さに */
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fff; /* 白に戻してスッキリさせる */
    transition: border-color 0.2s;
}


/* フォーカス時（入力中）の色 */
input[type="password"]:focus,
input[type="text"]#passwordField:focus {
    border-color: #3498db; /* 清潔感のある青色に変更 */
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* 注意書き（smallタグ）の装飾 */
.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #7f8c8d;
    line-height: 1.4;
}

/* 「表示する」チェックボックスのラベル */
.password-container label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.password-container input[type="checkbox"] {
    cursor: pointer;
    transform: scale(1.2); /* チェックボックスを少し大きく */
}