.kdsamref-settings-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 24px;
}
.kdsamref-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #495057;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 28px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    outline: none;
}
.kdsamref-tab-btn.active {
    border-bottom: 2px solid #007cba;
    color: #007cba;
    background: #f8f9fa;
}
.kdsamref-tab-content {
    padding: 0 0 32px 0;
}



/* Custom Status Management */
.kdsamref-custom-status-management {
    margin-top: 20px;
}

.kdsamref-add-custom-status {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}

.kdsamref-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.kdsamref-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kdsamref-form-group label {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.kdsamref-form-group input {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.kdsamref-form-group input:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.kdsamref-setting-hint {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

/* Custom Status Items */
.kdsamref-custom-statuses-list h4 {
    margin: 0 0 16px 0;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
}

.kdsamref-custom-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #fff;
    transition: all 0.2s;
}

.kdsamref-custom-status-item:hover {
    border-color: #007cba;
    box-shadow: 0 2px 4px rgba(0, 124, 186, 0.1);
}

.kdsamref-status-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.kdsamref-status-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kdsamref-status-info input {
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    padding: 0;
}

.kdsamref-status-info input:focus {
    outline: none;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.kdsamref-status-slug {
    font-size: 12px;
    color: #6c757d;
    font-family: monospace;
}

.kdsamref-status-source {
    color: #007cba;
    font-size: 11px;
    font-weight: 500;
}

.kdsamref-status-auto {
    color: #28a745;
    font-size: 12px;
    font-weight: 500;
}

.kdsamref-status-remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.kdsamref-status-remove-btn:hover {
    background: #c82333;
}



/* Responsive Design */
@media (max-width: 768px) {
    .kdsamref-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .kdsamref-custom-status-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .kdsamref-status-info {
        order: 2;
    }
    
    .kdsamref-status-color {
        order: 1;
        align-self: center;
    }
    
    /* Legacy modal styles removed - using modern modal system */
}

/* Inline styles moved to CSS */
.kdsamref-tab-content {
    display: block;
}

.kdsamref-setting-disabled {
    opacity: 0.6;
}

.kdsamref-setting-hint {
    color: #d63384;
}

.kdsamref-setting-link {
    color: #0073aa;
    margin-left: 8px;
}

.kdsamref-license-status {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
}

.kdsamref-license-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.kdsamref-license-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--license-status-color, #9ca3af);
}

.kdsamref-license-status-text {
    color: #6b7280;
}

.kdsamref-license-upgrade-link {
    margin-left: auto;
    text-decoration: none;
    font-weight: 600;
    color: #0073aa;
}

.kdsamref-mode-desc {
    display: none;
}
