/* ITS Neubauer Options Panel */
.itsn-options-wrap {
    max-width: 1100px;
    margin: 20px auto 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.itsn-options-header {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A2E 100%);
    padding: 24px 32px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #EC1212;
}
.itsn-logo-area { display: flex; align-items: center; gap: 12px; }
.itsn-logo-bar { width: 4px; height: 32px; background: #EC1212; border-radius: 2px; }
.itsn-options-header h1 { color: #fff; font-size: 22px; margin: 0; }
.itsn-options-header h1 span { color: #999; font-weight: 400; }
.itsn-version { background: rgba(236,18,18,.15); color: #EC1212; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }

.itsn-options-body { display: flex; background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 4px 20px rgba(0,0,0,.08); min-height: 600px; }

/* Tabs Nav */
.itsn-tabs-nav {
    width: 200px;
    background: #f8f9fa;
    border-right: 1px solid #e5e7eb;
    padding: 16px 0;
    border-radius: 0 0 0 12px;
    flex-shrink: 0;
}
.itsn-tab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
    border-left: 3px solid transparent;
}
.itsn-tab-link:hover { background: #f0f0f0; color: #333; }
.itsn-tab-link.active { background: #fff; color: #EC1212; border-left-color: #EC1212; font-weight: 600; }
.itsn-tab-link .dashicons { font-size: 16px; width: 16px; height: 16px; }

/* Tab Content */
.itsn-tab-content { flex: 1; padding: 32px; }
.itsn-section { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #f0f0f0; }
.itsn-section:last-child { border-bottom: none; }
.itsn-section h2 { font-size: 16px; color: #1a1a1a; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.itsn-section h2 .dashicons { color: #EC1212; }

/* Fields */
.itsn-field { margin-bottom: 16px; }
.itsn-field > label { display: block; font-weight: 600; font-size: 13px; color: #333; margin-bottom: 6px; }
.itsn-field input[type="text"],
.itsn-field input[type="number"],
.itsn-field select { border: 1px solid #d1d5db; border-radius: 6px; padding: 8px 12px; font-size: 14px; }
.itsn-field .description { font-size: 12px; color: #999; margin-top: 4px; }

/* Color Grid */
.itsn-color-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Toggle */
.itsn-field-toggle label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; font-size: 14px; }
.itsn-field-toggle input[type="checkbox"] { width: 40px; height: 22px; appearance: none; background: #d1d5db; border-radius: 11px; position: relative; cursor: pointer; transition: .3s; }
.itsn-field-toggle input[type="checkbox"]::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: .3s; }
.itsn-field-toggle input[type="checkbox"]:checked { background: #EC1212; }
.itsn-field-toggle input[type="checkbox"]:checked::after { left: 20px; }

/* Textarea */
.itsn-field-wide textarea { width: 100%; border: 1px solid #d1d5db; border-radius: 6px; padding: 12px; font-family: 'Fira Code', monospace; font-size: 13px; }

/* Save Bar */
.itsn-save-bar { display: flex; gap: 12px; align-items: center; padding-top: 24px; border-top: 1px solid #f0f0f0; margin-top: 24px; }
.itsn-save-bar .button-primary { background: #EC1212 !important; border-color: #c50f0f !important; }
.itsn-save-bar .button-primary:hover { background: #d41010 !important; }
.itsn-reset-btn { color: #999 !important; }

/* Responsive */
@media (max-width: 782px) {
    .itsn-options-body { flex-direction: column; }
    .itsn-tabs-nav { width: 100%; display: flex; flex-wrap: wrap; border-right: none; border-bottom: 1px solid #e5e7eb; border-radius: 0; }
    .itsn-tab-link { border-left: none; border-bottom: 2px solid transparent; padding: 10px 14px; font-size: 12px; }
    .itsn-tab-link.active { border-bottom-color: #EC1212; border-left-color: transparent; }
    .itsn-color-grid { grid-template-columns: 1fr 1fr; }
}
