.user_list label {
    display: flex;
    align-items: center;
    /* テキストと入力欄の縦方向の位置を揃えます */
}

.user_list label input {
    width: 80%;
    margin-left: 8px;
    /* テキストと入力欄の間にスペースを追加 */
    flex: 1;
    /* 入力欄を柔軟に広げる場合に使用 */
    margin-right: 50px;
}

.user_list label input[type="checkbox"] {
    width: 8%;
}

.user_list label span {
    min-width: 120px;
    /* テキストの最小幅を指定して統一 */
}



.necosuke-form {
    background: #fff;
}

/* MyPage Tabs */
.necosuke-tabs-container {
    margin: 20px 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.necosuke-tabs-nav {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
    padding: 0;
    list-style: none;
}

.necosuke-tab-item {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.necosuke-tab-item:hover {
    color: #3b82f6;
}

.necosuke-tab-item.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.necosuke-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.necosuke-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Note Tab Specifics */
.necosuke-note-container {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.necosuke-note-field {
    margin-bottom: 15px;
}

.necosuke-note-field .label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #334155;
}

.necosuke-note-field input[type="text"],
.necosuke-note-field textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.necosuke-note-field .before-comment {
    font-size: 0.9em;
    color: #64748b;
    margin-bottom: 4px;
}

.necosuke-note-field .after-comment {
    font-size: 0.9em;
    color: #64748b;
    margin-top: 4px;
}

.necosuke-note-field .label .required {
    color: #d63638;
    margin-left: 4px;
}

.necosuke-note-field .current-value {
    font-size: 0.85em;
    color: #64748b;
    margin-top: 2px;
}

/* Manual Tab Specifics */
.necosuke-manual-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    line-height: 1.6;
    color: #334155;
    max-height: 600px;
    overflow-y: auto;
}

.necosuke-manual-container h1,
.necosuke-manual-container h2,
.necosuke-manual-container h3 {
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
    margin-top: 24px;
}

.necosuke-manual-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.necosuke-manual-container th,
.necosuke-manual-container td {
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    text-align: left;
}

.necosuke-manual-container th {
    background-color: #f1f5f9;
}