.laneassist-settings-container {
    padding: 20px;
}

.module-version {
    font-size: 13px;
    font-weight: 600;
    color: #5a6e89;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
}

.settings-card {
    background: #fff;
    border: 1px solid #dce4ef;
    border-radius: 8px;
    padding: 14px;
}

.settings-card-debug {
    grid-column: 1 / -1;
}

.settings-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #2b3f5c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.settings-card p {
    margin: 6px 0;
    color: #4e5f77;
    line-height: 1.4;
}

.settings-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.settings-field label {
    font-size: 13px;
    color: #2f4767;
    font-weight: 600;
}

.settings-field input:not([type="checkbox"]),
.settings-field select,
.settings-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #cfd9e6;
    border-radius: 6px;
    font-size: 13px;
}

.settings-field small {
    color: #6a7d95;
    font-size: 12px;
}

.settings-field .checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.settings-field .checkbox-inline input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.settings-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.inline-note {
    margin-top: 8px;
    color: #5a6e89;
    font-size: 12px;
}

.status-message {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
}

.hidden {
    display: none;
}

.status-info { background: #e7f3ff; color: #0b518d; border: 1px solid #9fc7ea; }
.status-success { background: #eaf8ed; color: #1f6a36; border: 1px solid #a5dfb6; }
.status-error { background: #fdecec; color: #8b1f1f; border: 1px solid #efb1b1; }

.feedback-debug-table-wrap {
    margin-top: 8px;
    max-height: 320px;
    overflow: auto;
    border: 1px solid #dce4ef;
    border-radius: 6px;
}

.feedback-debug-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.feedback-debug-table th,
.feedback-debug-table td {
    padding: 8px;
    border-bottom: 1px solid #edf2f8;
    text-align: left;
    vertical-align: top;
}

.feedback-debug-table th {
    position: sticky;
    top: 0;
    background: #f5f8fc;
    z-index: 1;
}

.feedback-debug-table td:nth-child(5) {
    min-width: 280px;
    white-space: pre-wrap;
    word-break: break-word;
}
