/**
 * Components - Reusable UI Components
 * ====================================
 * All component styles in one file for easy maintenance
 */

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 16px;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    background: transparent;
    color: var(--text);
}

.btn i,
.btn .fa,
.btn .fas,
.btn .far,
.btn .fab {
    flex-shrink: 0 !important;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-light);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Button Variants */
.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--bg);
    border-color: var(--border-dark);
}

.btn-success {
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
}

.btn-success:hover:not(:disabled) {
    background: #15803d;
}

.btn-danger {
    background: var(--accent-red-light);
    color: var(--accent-red);
    border-color: #fecaca;
}

.btn-danger:hover:not(:disabled) {
    background: #fee2e2;
}

.row-error td {
    background: #fef2f2 !important;
    border-bottom-color: #fecaca !important;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
}

.btn-ghost:hover:not(:disabled) {
    background: var(--bg);
    color: var(--text);
}

.btn-link {
    background: transparent;
    color: var(--link-color);
    border: none;
    padding: 0;
    text-decoration: underline;
}

.btn-link:hover:not(:disabled) {
    color: var(--link-hover);
}

/* Timer button overrides (ensure cascade wins over .btn base) */
.btn.btn-timer-sm {
    background: var(--accent-green);
    color: white;
    border: none;
    border-radius: 100px;
    padding: 5px 12px;
    font-size: 12px;
    gap: 5px;
}
.btn.btn-timer-sm:hover {
    background: #176b41;
}
.btn.btn-timer-sm.is-running {
    background: var(--accent-red);
}
.btn.btn-timer-sm.is-running:hover {
    background: var(--accent-red);
}
.btn.btn-timer-sm.is-blocked {
    background: var(--bg-hover);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}
.btn.btn-add-time-sm,
.btn.btn-admin-time-sm {
    background: var(--bg-secondary);
    border: none;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
}

/* Button Sizes */
.btn-sm {
    padding: 6px 12px;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 14px 24px;
    font-size: var(--font-size-lg);
}

/* Icon Button */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-icon:hover {
    background: var(--bg);
    color: var(--text);
}

.btn-icon.btn-icon-danger:hover {
    background: var(--accent-red-light);
    color: var(--accent-red);
}

.btn-icon.btn-icon-accent {
    color: var(--primary);
}

.btn-icon.btn-icon-accent:hover {
    background: var(--primary-light, rgba(59, 130, 246, 0.1));
    color: var(--primary);
}


/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text);
    margin-bottom: var(--spacing-xs);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    font-family: inherit;
    font-size: var(--font-size-base);
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

/* Bootstrap-compatible .form-control — base styles matching .form-input */
.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: var(--font-size-base);
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Remove native number input spinners */
input[type="number"].form-control::-webkit-outer-spin-button,
input[type="number"].form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].form-control {
    -moz-appearance: textfield;
}

select.form-control {
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

textarea.form-control {
    min-height: 60px;
    resize: vertical;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-input-sm {
    padding: 6px 10px;
    font-size: var(--font-size-sm);
}

.form-hint {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

.form-error {
    font-size: var(--font-size-sm);
    color: var(--accent-red);
    margin-top: var(--spacing-xs);
}


/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.card-header {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin: 0;
}

.card-body {
    padding: var(--spacing-xl);
}

.card-footer {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}


/* ============================================
   AVATARS
   ============================================ */

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: white;
    text-transform: uppercase;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-xs { width: 20px; height: 20px; font-size: 9px; }
.avatar-sm { width: 24px; height: 24px; font-size: 10px; }
.avatar-md { width: 36px; height: 36px; font-size: 13px; }
.avatar-lg { width: 48px; height: 48px; font-size: 16px; }
.avatar-xl { width: 64px; height: 64px; font-size: 20px; }

/* Avatar with client ring (yellow) */
.avatar-client {
    box-shadow: 0 0 0 3px var(--accent-yellow);
}

/* Avatar group - overlapping */
.avatar-group {
    display: flex;
}

.avatar-group .avatar {
    margin-left: -8px;
    border: 2px solid var(--surface);
}

.avatar-group .avatar:first-child {
    margin-left: 0;
}


/* ============================================
   BADGES & TAGS
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 2px 8px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.badge-primary { background: var(--accent-blue-light); color: #1e40af; }
.badge-success { background: var(--accent-green-light); color: #166534; }
.badge-warning { background: var(--accent-yellow-light); color: #92400e; }
.badge-danger { background: var(--accent-red-light); color: var(--accent-red); }
.badge-gray { background: #f3f4f6; color: #4b5563; }
.badge-purple { background: var(--accent-purple-light); color: #6d28d9; }
.badge-pink { background: var(--accent-pink-light); color: #9d174d; }
.badge-teal { background: var(--accent-teal-light); color: var(--accent-teal); }
.badge-orange { background: var(--accent-orange-light); color: #c2410c; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 4px 10px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.tag-delete {
    background: none;
    border: none;
    padding: 0;
    margin-left: 2px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: var(--font-size-lg);
    line-height: 1;
}

.tag-delete:hover {
    color: var(--accent-red);
}


/* ============================================
   DROPDOWNS
   ============================================ */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: var(--z-dropdown);
    min-width: 180px;
    padding: var(--spacing-xs) 0;
    margin-top: var(--spacing-xs);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.dropdown-menu-right {
    left: auto;
    right: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    width: 100%;
    padding: 10px 14px;
    font-size: var(--font-size-sm);
    color: var(--text);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg);
}

.dropdown-item.danger {
    color: var(--accent-red);
}

.dropdown-item.danger:hover {
    background: var(--accent-red-light);
}

.dropdown-divider {
    height: 1px;
    margin: var(--spacing-xs) 0;
    background: var(--border);
}

.dropdown-header {
    padding: var(--spacing-sm) 14px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--text-muted);
    text-transform: uppercase;
}


/* ============================================
   MODALS
   ============================================ */

.modal-backdrop,
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: var(--spacing-xl) !important;
    padding-top: var(--spacing-xl) !important;
}

.modal {
    background: var(--surface) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    width: 100% !important;
    max-width: 500px;
    max-height: 90vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 100000 !important;
}

.modal-lg { max-width: 700px !important; }
.modal-xl { max-width: 900px !important; }

.modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 24px !important;
    border-bottom: 1px solid var(--border) !important;
    flex-shrink: 0 !important;
}

.modal-title {
    font-size: var(--font-size-lg) !important;
    font-weight: var(--font-weight-semibold) !important;
    margin: 0 !important;
}

.modal-header h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.modal-close {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    border-radius: var(--radius) !important;
    color: var(--text-muted) !important;
    cursor: pointer !important;
    transition: all var(--transition-fast) !important;
    flex-shrink: 0 !important;
}

.modal-close:hover {
    background: var(--bg) !important;
    color: var(--text) !important;
}

.modal-body {
    padding: 24px !important;
    overflow-y: auto !important;
    flex: 1 !important;
    min-height: 0 !important;
}

.modal-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    padding: 16px 24px !important;
    border-top: 1px solid var(--border) !important;
    background: var(--bg-secondary) !important;
    flex-shrink: 0 !important;
}


/* ============================================
   ALERTS
   ============================================ */

.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius);
    font-size: var(--font-size-base);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.alert-success {
    background: var(--accent-green-light);
    color: #166534;
    border: 1px solid #86efac;
}

.alert-error,
.alert-danger {
    background: var(--accent-red-light);
    color: var(--accent-red);
    border: 1px solid #fecaca;
}

.alert-warning {
    background: var(--accent-yellow-light);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-info {
    background: var(--accent-blue-light);
    color: #1e40af;
    border: 1px solid #93c5fd;
}


/* ============================================
   LOADING STATES
   ============================================ */

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-sm { width: 14px; height: 14px; }
.spinner-lg { width: 32px; height: 32px; border-width: 3px; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xl);
    color: var(--text-secondary);
}

.skeleton {
    background: linear-gradient(90deg, var(--bg) 25%, var(--bg-secondary) 50%, var(--bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* ============================================
   EMPTY STATES
   ============================================ */

.empty-state {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
}

.empty-state-icon {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.empty-state-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text);
    margin: 0 0 var(--spacing-sm) 0;
}

.empty-state-desc {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin: 0;
}


/* ============================================
   PROJECT SETTINGS
   ============================================ */

.bc-project-settings {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

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

.bc-settings-section {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.bc-settings-section h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.bc-description-view {
    min-height: 60px;
}

.bc-description-view p {
    color: #374151;
    line-height: 1.5;
}

.bc-description-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.bc-members-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bc-members-list.is-compact {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 6px;
}

.bc-member-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f9fafb;
    border-radius: var(--radius);
}

.bc-members-list.is-compact .bc-member-item {
    padding: 6px 8px;
}

.bc-member-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bc-member-name {
    font-weight: 500;
}

.bc-member-email {
    font-size: 12px;
    color: var(--text-muted);
}

.bc-member-groups {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.bc-groups-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.bc-group-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: var(--radius);
    border-left: 4px solid;
}

.bc-group-item.gray {
    border-left-color: #9ca3af;
}

.bc-group-item.blue {
    border-left-color: #3b82f6;
}

.bc-group-item.green {
    border-left-color: #10b981;
}

.bc-group-item.red {
    border-left-color: #ef4444;
}

.bc-group-item.purple {
    border-left-color: #8b5cf6;
}

.bc-group-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bc-group-name {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
}

.bc-group-slug {
    font-size: 12px;
    color: #9ca3af;
}

.bc-group-members-count {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.bc-billing-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bc-billing-form .form-group {
    margin: 0;
}

/* ============================================
   PROJECT VARIABLES
   ============================================ */

.bc-settings-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    margin-top: 4px;
}

.bc-dropdown-item:hover {
    background: var(--bg-hover) !important;
}

.bc-variables-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    max-height: 300px;
    overflow-y: auto;
}

.bc-variable-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.bc-variable-key {
    font-weight: 600;
    font-size: 13px;
    color: #6366f1;
    min-width: 120px;
    flex-shrink: 0;
}

.bc-variable-value {
    flex: 1;
    font-size: 14px;
    color: #374151;
    word-break: break-all;
}

.bc-variable-link {
    color: #2563eb;
    text-decoration: none;
}

.bc-variable-link:hover {
    text-decoration: underline;
}

.bc-variable-link i {
    margin-right: 4px;
    font-size: 11px;
}

.bc-add-variable-form {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.bc-variable-input-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.bc-variable-key-wrapper {
    flex: 1;
    position: relative;
}

.bc-key-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 4px;
}

.bc-key-suggestion {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.bc-key-suggestion:last-child {
    border-bottom: none;
}

.bc-key-suggestion:hover,
.bc-key-suggestion.active {
    background: #f3f4f6;
    color: #6366f1;
}

/* Template chips for variable templates */
.bc-template-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    transition: all 0.15s ease;
}

.bc-template-chip:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.bc-template-chip.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.bc-template-chip.selected i {
    color: white;
}

.bc-template-chip.timed {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.08);
}

.bc-template-chip.timed:hover {
    border-color: #7c3aed;
    background: rgba(139, 92, 246, 0.15);
}

.bc-template-chip.timed.selected {
    border-color: #7c3aed;
    background: #8b5cf6;
}

/* ============================================
   TIMED VARIABLE TIMELINE PERIODS
   ============================================ */

.bc-timeline-period {
    transition: all 0.2s ease;
}

.bc-timeline-period:hover {
    background: var(--bg-tertiary) !important;
}

.bc-timeline-period.is-current {
    border-left-color: var(--accent-green) !important;
    background: rgba(34, 197, 94, 0.05) !important;
}

.bc-timeline-period.is-future {
    border-left-color: var(--accent-blue) !important;
    background: rgba(59, 130, 246, 0.05) !important;
}

.bc-timeline-period.is-past {
    opacity: 0.7;
}

.bc-timeline-period .bc-period-actions {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.bc-timeline-period:hover .bc-period-actions {
    opacity: 1;
}

/* ============================================
   PROJECT TAG CHIPS
   ============================================ */

/* ============================================
   TAG STYLES (used on home page cards etc.)
   ============================================ */
.bc-project-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid transparent;
    position: relative;
}

.bc-tag-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   SEMTIX OFFER WIDGET
   ============================================ */

.bc-dashboard-card-semtix {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: default;
}

.bc-dashboard-card-semtix .bc-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.bc-dashboard-card-semtix .bc-card-header i {
    color: rgba(255, 255, 255, 0.9);
}

.bc-dashboard-card-semtix .bc-card-header h3 {
    color: white;
}

.semtix-offer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.semtix-offer-title {
    font-weight: 600;
    font-size: 14px;
    color: white;
    margin-bottom: 4px;
}

.semtix-offer-price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.semtix-offer-title {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
    line-height: 1.3;
}

.semtix-offer-client {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.semtix-offer-client i {
    font-size: 12px;
    opacity: 0.7;
}

.semtix-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.semtix-stat {
    text-align: center;
    padding: 10px 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.semtix-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.semtix-stat-label {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.semtix-view-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 12px;
    color: white;
    transition: background 0.2s;
}

.bc-dashboard-card-semtix:hover .semtix-view-link {
    background: rgba(255, 255, 255, 0.25);
}

.semtix-view-link i {
    font-size: 10px;
}

.semtix-price-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.semtix-price-value {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.semtix-client-label {
    color: rgba(255, 255, 255, 0.7);
}

.semtix-client-value {
    color: white;
    font-weight: 500;
}

.semtix-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    transition: background 0.2s;
}

.semtix-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
}

.semtix-link i {
    font-size: 11px;
}

/* ============================================
   BASECAMP IMPORT SECTION
   ============================================ */

.bc-import-section {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.bc-import-section:hover {
    opacity: 1;
}

.bc-import-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: 0;
}

.bc-import-header:hover {
    background: var(--bg-tertiary);
}

.bc-import-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc-import-title i {
    color: var(--text-muted);
}

.bc-import-count {
    background: var(--primary);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.bc-import-toggle {
    color: var(--text-muted);
    font-size: 12px;
}

.bc-import-content {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 0 0 var(--radius) var(--radius);
    margin-top: -4px;
}

.bc-import-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.bc-import-empty {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
}

.bc-import-empty p {
    margin-top: 8px;
}

.bc-import-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.bc-import-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.bc-import-item:hover:not(.importing) {
    border-color: var(--primary);
    background: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bc-import-item.importing {
    opacity: 0.7;
    cursor: wait;
}

.bc-import-item-info {
    flex: 1;
    min-width: 0;
}

.bc-import-item-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bc-import-item-desc {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bc-import-item-action {
    flex-shrink: 0;
    margin-left: 16px;
}

.bc-import-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s;
}

.bc-import-item:hover .bc-import-btn {
    background: var(--primary-dark);
}

.bc-import-spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.spinner-sm {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

/* ============================================
   WIKI / HELP ADMIN
   ============================================ */

.bc-wiki-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.15s ease;
}

.bc-wiki-cat-item:hover {
    background: var(--hover-bg);
}

.bc-wiki-cat-item.active {
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
}

.bc-wiki-cat-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.bc-wiki-cat-count {
    font-size: 12px;
    background: var(--bg);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 10px;
}

/* ============================================
   HELP PAGE (User-facing)
   ============================================ */

.bc-help-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: calc(100vh - 60px);
    background: var(--bg);
}

.bc-help-sidebar {
    background: var(--card-bg);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: calc(100vh - 60px);
}

.bc-help-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.bc-help-search {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.bc-help-search i {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.bc-help-search input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.bc-help-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bc-help-categories {
    padding: 12px 0;
}

.bc-help-category {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    color: var(--text);
}

.bc-help-category:hover {
    background: var(--hover-bg);
}

.bc-help-category.active {
    background: var(--primary-light);
    border-right: 3px solid var(--primary);
    font-weight: 600;
}

.bc-help-category i {
    width: 20px;
    text-align: center;
}

.bc-help-category span:first-of-type {
    flex: 1;
}

.bc-help-count {
    font-size: 12px;
    background: var(--bg);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 10px;
}

.bc-help-content {
    padding: 32px 48px;
    max-width: 900px;
    overflow-y: auto;
}

.bc-help-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.bc-help-breadcrumb span:hover {
    color: var(--primary);
}

.bc-help-breadcrumb i {
    font-size: 10px;
}

.bc-help-category-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.bc-help-category-header i {
    font-size: 32px;
}

.bc-help-category-header h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.bc-help-category-header p {
    margin: 0;
    color: var(--text-muted);
}

.bc-help-article-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bc-help-article-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bc-help-article-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bc-help-article-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--text);
}

.bc-help-article-card p {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.bc-help-article-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.bc-help-article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bc-help-article {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--border-color);
}

.bc-help-article h1 {
    margin: 0 0 16px;
    font-size: 28px;
}

.bc-help-article-info {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.bc-help-article-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bc-help-article-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
}

.bc-help-article-body h2 {
    margin: 32px 0 16px;
    font-size: 20px;
}

.bc-help-article-body h3 {
    margin: 24px 0 12px;
    font-size: 16px;
}

.bc-help-article-body p {
    margin: 0 0 16px;
}

.bc-help-article-body ul, .bc-help-article-body ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.bc-help-article-body li {
    margin-bottom: 8px;
}

.bc-help-article-body code {
    background: var(--bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
}

.bc-help-article-body pre {
    background: var(--bg);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 0 0 16px;
}

.bc-help-article-body pre code {
    background: none;
    padding: 0;
}

.bc-help-article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}

.bc-help-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.bc-help-nav-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bc-help-nav-item:hover {
    border-color: var(--primary);
}

.bc-help-nav-item.next {
    text-align: right;
}

.bc-help-nav-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.bc-help-nav-title {
    display: block;
    font-weight: 600;
    color: var(--primary);
}

.bc-help-welcome {
    text-align: center;
    padding: 60px 20px;
}

.bc-help-welcome i {
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 24px;
}

.bc-help-welcome h1 {
    margin: 0 0 12px;
    font-size: 28px;
}

.bc-help-welcome p {
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
}

.bc-help-quick-start {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.bc-help-quick-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.bc-help-quick-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.bc-help-quick-card i {
    font-size: 32px;
    margin-bottom: 12px;
}

.bc-help-quick-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.bc-help-quick-card p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .bc-help-layout {
        grid-template-columns: 1fr;
    }
    
    .bc-help-sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        z-index: 100;
        transition: left 0.3s ease;
        height: 100vh;
    }
    
    .bc-help-sidebar.open {
        left: 0;
    }
    
    .bc-help-content {
        padding: 20px;
    }
}

/* ============================================
   GROUP PERMISSIONS
   ============================================ */

.bc-group-permissions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    font-size: 12px;
}

.bc-perm-active {
    background: #dcfce7;
    color: #166534;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bc-perm-inactive {
    background: #fee2e2;
    color: #991b1b;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: line-through;
    opacity: 0.7;
}

/* ============================================
   Delegated Todos (Zadal jsem)
   ============================================ */
.bc-delegation-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 11px;
}

.bc-delegation-waiting {
    background: var(--warning-light, #fff8e1);
    color: var(--warning, #f59e0b);
}

.bc-delegation-progress {
    background: var(--info-light, #e3f2fd);
    color: var(--info, #3b82f6);
}

.bc-delegation-completed {
    background: var(--success-light, #e8f5e9);
    color: var(--success, #22c55e);
}

.bc-delegation-returned {
    background: var(--warning-light, #fff8e1);
    color: var(--warning-dark, #d97706);
}

.bc-delegation-state-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.bc-state-waiting {
    background: var(--warning-light, #fff8e1);
    color: var(--warning, #f59e0b);
}

.bc-state-in_progress {
    background: var(--info-light, #e3f2fd);
    color: var(--info, #3b82f6);
}

.bc-state-completed {
    background: var(--success-light, #e8f5e9);
    color: var(--success, #22c55e);
}

.bc-state-returned {
    background: var(--warning-light, #fff8e1);
    color: var(--warning-dark, #d97706);
}

/* View toggle buttons */
.bc-view-toggle-btn.active {
    background: var(--surface);
    color: var(--text);
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.bc-filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Timeline visualization */
.bc-timeline-track .bc-dot-created {
    background: var(--primary);
}

.bc-timeline-track .bc-dot-first_response {
    background: var(--info, #3b82f6);
}

.bc-timeline-track .bc-dot-last_activity {
    background: var(--text-muted);
}

.bc-timeline-track .bc-dot-completed {
    background: var(--success, #22c55e);
}

/* Calendar events */
.bc-calendar-day {
    background: var(--surface);
    transition: background 0.15s;
}

.bc-calendar-day:hover {
    background: var(--bg-hover);
}

.bc-calendar-day-other {
    opacity: 0.4;
}

.bc-calendar-day-today {
    background: #dbeafe !important;
    font-weight: 600;
    border: 2px solid #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.bc-calendar-day-today > div:first-child {
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px auto;
}

.bc-calendar-day-has-events {
    background: var(--primary-light, #f0f9ff);
}

.bc-calendar-event {
    background: var(--bg-subtle);
}

.bc-event-created {
    background: var(--primary-light, #e3f2fd);
    color: var(--primary);
}

.bc-event-due {
    background: var(--warning-light, #fff8e1);
    color: var(--warning, #f59e0b);
}

.bc-event-completed {
    background: var(--success-light, #e8f5e9);
    color: var(--success, #22c55e);
}

/* Calendar events by delegation state */
.bc-event-state-waiting {
    background: var(--warning-light, #fff8e1);
    color: var(--warning, #f59e0b);
}

.bc-event-state-in_progress {
    background: var(--info-light, #e3f2fd);
    color: var(--info, #3b82f6);
}

.bc-event-state-completed {
    background: var(--success-light, #e8f5e9);
    color: var(--success, #22c55e);
}

.bc-event-state-returned {
    background: #fef3c7;
    color: #d97706;
}

/* Calendar event items with proper badge styling */
.bc-calendar-event-item {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    margin-bottom: 2px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
    background-color: #f3f4f6;
    border-left: 3px solid #9ca3af;
}

.bc-calendar-event-item:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.bc-calendar-event-item span {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Calendar state colors - waiting (orange) */
.bc-calendar-event-item.bc-cal-state-waiting {
    background-color: #fef3c7 !important;
    color: #b45309 !important;
    border-left: 3px solid #f59e0b !important;
}

/* Calendar state colors - in progress (blue) */
.bc-calendar-event-item.bc-cal-state-in_progress {
    background-color: #dbeafe !important;
    color: #1d4ed8 !important;
    border-left: 3px solid #3b82f6 !important;
}

/* Calendar state colors - completed (green) */
.bc-calendar-event-item.bc-cal-state-completed {
    background-color: #d1fae5 !important;
    color: #047857 !important;
    border-left: 3px solid #10b981 !important;
}

/* Calendar state colors - returned (purple) */
.bc-calendar-event-item.bc-cal-state-returned {
    background-color: #ede9fe !important;
    color: #6d28d9 !important;
    border-left: 3px solid #8b5cf6 !important;
}

/* ============================================
   VARIABLES HEADER BAR
   ============================================ */

.bc-variables-header-bar {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    padding: 8px 24px;
}

.bc-variables-header-content {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.bc-var-header-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

:root[data-theme^="dark"] .bc-var-header-item {
    background: rgba(30, 30, 40, 0.8);
}

.bc-var-header-clickable {
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.bc-var-header-clickable:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
}

.bc-var-header-icon {
    color: var(--primary);
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.bc-var-header-label {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bc-var-header-value {
    color: var(--text);
    font-weight: 600;
}

.bc-var-header-value.bc-var-header-link a {
    color: var(--primary);
    text-decoration: none;
}

.bc-var-header-value.bc-var-header-link a:hover {
    text-decoration: underline;
}

.bc-var-header-change {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 2px;
}

.bc-var-header-change.bc-var-up {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
}

.bc-var-header-change.bc-var-down {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.bc-var-header-date {
    color: var(--text-muted);
    font-size: 10px;
    margin-left: 4px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .bc-variables-header-bar {
        padding: 6px 12px;
    }
    
    .bc-variables-header-content {
        gap: 8px;
    }
    
    .bc-var-header-item {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .bc-var-header-label {
        display: none;
    }
}
/* ============================================
   Personal Ordering Toggle
   ============================================ */
.bc-personal-order-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
}

.bc-personal-order-toggle .bc-view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 12px;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.bc-personal-order-label {
    font-size: 11px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

/* Active state for personal ordering button */
.bc-personal-order-toggle .bc-view-toggle-btn.active {
    color: #fff !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3), 0 2px 8px rgba(59, 130, 246, 0.3);
    font-weight: 600;
    transform: scale(1.02);
}

.bc-personal-order-toggle .bc-view-toggle-btn.active .bc-personal-order-label {
    opacity: 1;
}

.bc-personal-order-toggle .bc-view-toggle-btn.active i {
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.bc-reset-order-btn {
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.bc-reset-order-btn:hover {
    opacity: 1;
    color: var(--accent-orange, #f59e0b);
}

/* Dark theme support */
html[data-theme^="dark"] .bc-personal-order-toggle .bc-view-toggle-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4), 0 2px 12px rgba(59, 130, 246, 0.5);
}

/* List reorder animation */
.bc-list {
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.bc-lists-wrapper.animating .bc-list {
    animation: listSlideIn 0.35s ease forwards;
}

@keyframes listSlideIn {
    0% {
        opacity: 0.7;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
   Nudge Modal Radio Options
   ================================================================ */
.bc-radio-option {
    display: flex;
    align-items: flex-start;
    padding: 12px 14px;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bc-radio-option:hover {
    background: var(--surface-hover);
    border-color: var(--border-active);
}

.bc-radio-option.bc-radio-selected {
    background: var(--primary-light, rgba(59, 130, 246, 0.1));
    border-color: var(--primary);
}

.bc-radio-option input[type="radio"] {
    margin-top: 4px;
    margin-right: 12px;
    accent-color: var(--primary);
}

.bc-radio-content {
    flex: 1;
}

.bc-radio-title {
    font-weight: 500;
    font-size: 14px;
    color: var(--text);
}

.bc-radio-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
