:root {
    --color-brand-primary: #6366f1;
    --color-brand-primary-rgb: 99, 102, 241;
    --color-brand-secondary: #ec4899;
    --color-text-main: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #94a3b8;
    --color-bg-body: #f8fafc;
    --color-bg-surface: #ffffff;
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --color-success-rgb: 16, 185, 129;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    --color-info: #3b82f6;
    
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    
    --font-sans: 'Nunito', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); color: var(--color-text-main); background: var(--color-bg-body); line-height: 1.5; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
a { color: var(--color-brand-primary); text-decoration: none; }

/* Layout */
.guide-layout { display: flex; min-height: 100vh; }
.guide-sidebar { width: 250px; background: var(--color-bg-surface); border-right: 1px solid var(--color-border); padding: 2rem 1rem; position: fixed; height: 100vh; overflow-y: auto; }
.guide-content { margin-left: 250px; flex: 1; padding: 3rem; max-width: 1200px; }
.guide-section { margin-bottom: 4rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.guide-section:first-of-type { border-top: none; }
.example-box { background: var(--color-bg-surface); padding: 2rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); margin: 1rem 0 2rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Sidebar Navigation */
.guide-logo { max-width: 100%; height: auto; display: block; margin: 0 auto 1.5rem; }
.guide-nav-title { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--color-text-light); margin: 1.5rem 0 0.5rem; letter-spacing: 0.05em; }
.guide-nav-link { display: block; padding: 0.4rem 0.5rem; color: var(--color-text-muted); font-size: 0.95rem; transition: all 0.2s; border-radius: var(--radius-sm); margin-bottom: 2px; }
.guide-nav-link:hover { color: var(--color-brand-primary); background: var(--color-bg-body); }
.guide-nav-link.active { color: var(--color-brand-primary); font-weight: 700; background: rgba(99, 102, 241, 0.1); }

/* Color Swatches */
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.color-swatch { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.color-preview { height: 100px; width: 100%; }
.color-info { padding: 1rem; background: white; }
.color-name { font-weight: 700; display: block; margin-bottom: 0.25rem; }
.color-hex { font-family: var(--font-mono); font-size: 0.85rem; color: var(--color-text-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1rem; border-radius: var(--radius-md); font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: all 0.2s; gap: 0.5rem; font-family: inherit; font-size: 1rem; }
.btn-primary { background: var(--color-brand-primary); color: white; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary { background: white; border-color: var(--color-border); color: var(--color-text-main); }
.btn-secondary:hover { background: var(--color-bg-body); }
.btn-ghost { background: transparent; color: var(--color-brand-primary); }
.btn-ghost:hover { background: rgba(99, 102, 241, 0.1); }
.btn-link { background: transparent; color: var(--color-brand-primary); text-decoration: underline; padding: 0; }
.btn-soft-primary { background: rgba(99, 102, 241, 0.1); color: var(--color-brand-primary); }
.btn-sm { padding: 0.25rem 0.75rem; font-size: 0.875rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1.125rem; }
.btn-icon { padding: 0.5rem; border-radius: 50%; width: 40px; height: 40px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 700; font-size: 0.875rem; }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); font-family: inherit; font-size: 1rem; transition: border-color 0.2s; }
.form-control:focus { outline: none; border-color: var(--color-brand-primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
.input-group { position: relative; display: flex; align-items: center; }
.input-icon-left { position: absolute; left: 1rem; color: var(--color-text-muted); pointer-events: none; }
.input-with-icon-left { padding-left: 2.5rem; }
.input-icon-right { position: absolute; right: 1rem; color: var(--color-text-muted); pointer-events: none; }
.input-with-icon-right { padding-right: 2.5rem; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-position: right 1rem center; background-repeat: no-repeat; }

/* Toggles & Checks */
.toggle-switch { display: inline-flex; align-items: center; cursor: pointer; position: relative; }
.toggle-switch input { display: none; }
.toggle-slider { width: 44px; height: 24px; background: var(--color-border); border-radius: 24px; position: relative; transition: 0.3s; }
.toggle-slider::before { content: ''; position: absolute; width: 20px; height: 20px; background: white; border-radius: 50%; top: 2px; left: 2px; transition: 0.3s; box-shadow: var(--shadow-sm); }
.toggle-switch input:checked + .toggle-slider { background: var(--color-brand-primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.form-check { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; cursor: pointer; }
.form-check-input { width: 1.25rem; height: 1.25rem; margin: 0; }

/* Navigation */
.nav-tabs { display: flex; gap: 1rem; border-bottom: 1px solid var(--color-border); padding: 0; list-style: none; margin-bottom: 1.5rem; }
.nav-link { padding: 0.5rem 1rem; cursor: pointer; border-bottom: 2px solid transparent; color: var(--color-text-muted); font-weight: 600; }
.nav-link.active { color: var(--color-brand-primary); border-bottom-color: var(--color-brand-primary); }
.breadcrumbs { display: flex; gap: 0.5rem; list-style: none; padding: 0; color: var(--color-text-muted); }
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 0.5rem; opacity: 0.5; }
.pagination { display: flex; list-style: none; padding: 0; gap: 0.25rem; }
.page-item { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); cursor: pointer; color: var(--color-text-muted); font-weight: 600; }
.page-item:hover { background: var(--color-border); }
.page-item.active { background: var(--color-brand-primary); color: white; }

/* Feedback */
.alert { padding: 1rem; border-radius: var(--radius-md); margin-bottom: 1rem; display: flex; align-items: center; }
.alert-info { background: rgba(59, 130, 246, 0.1); color: #1e40af; }
.alert-success { background: rgba(16, 185, 129, 0.1); color: #065f46; }
.alert-warning { background: rgba(245, 158, 11, 0.1); color: #92400e; }
.alert-error { background: rgba(239, 68, 68, 0.1); color: #991b1b; }
.badge { padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-pill { border-radius: 99px; }
.badge-primary { background: var(--color-brand-primary); color: white; }
.badge-success { background: var(--color-success); color: white; }
.badge-warning { background: var(--color-warning); color: black; }
.badge-error { background: var(--color-error); color: white; }
.tag { display: inline-flex; align-items: center; background: var(--color-bg-body); border: 1px solid var(--color-border); padding: 0.25rem 0.75rem; border-radius: 99px; gap: 0.5rem; font-size: 0.875rem; margin-right: 0.5rem; }
.spinner { width: 24px; height: 24px; border: 3px solid var(--color-border); border-top-color: var(--color-brand-primary); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Modals */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 1000; }
.modal-overlay.active { display: flex; }
.modal-container { background: white; padding: 2rem; border-radius: var(--radius-lg); width: 100%; max-width: 500px; box-shadow: var(--shadow-lg); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-title { margin: 0; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.modal-footer { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 2rem; }
.toast-container { position: fixed; bottom: 2rem; right: 2rem; display: flex; flex-direction: column; gap: 1rem; z-index: 1100; }

/* Data Display */
.avatar-group { display: flex; }
.avatar { width: 40px; height: 40px; border-radius: 50%; border: 2px solid white; object-fit: cover; margin-left: -10px; }
.avatar:first-child { margin-left: 0; }
.avatar:first-child { margin-left: 0; }
.accordion-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 0.5rem; overflow: hidden; }
.accordion-header { padding: 1rem; background: white; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.accordion-body { padding: 1rem; border-top: 1px solid var(--color-border); display: none; background: var(--color-bg-body); }
.accordion-item.active .accordion-body { display: block; }
.card { background: white; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.progress { background: var(--color-bg-body); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--color-brand-primary); }

/* Education */
.flashcard { perspective: 1000px; width: 200px; height: 140px; cursor: pointer; }
.flashcard-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s; transform-style: preserve-3d; }
.flashcard.flipped .flashcard-inner { transform: rotateY(180deg); }
.flashcard-front, .flashcard-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); border: 2px solid var(--color-border); background: white; font-weight: 700; font-size: 1.2rem; }
.flashcard-back { transform: rotateY(180deg); background: var(--color-bg-body); color: var(--color-brand-primary); }
.quiz-option { padding: 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 1rem; cursor: pointer; transition: 0.2s; }
.quiz-option:hover { background: var(--color-bg-body); }
.quiz-option.selected { border-color: var(--color-brand-primary); background: rgba(99, 102, 241, 0.05); }
.quiz-option.correct { border-color: var(--color-success); background: rgba(16, 185, 129, 0.05); }
.quiz-option.wrong { border-color: var(--color-error); background: rgba(239, 68, 68, 0.05); }

/* --- New Components Expansion --- */

/* Outline Buttons */
.btn-outline-primary { background: transparent; color: var(--color-brand-primary); border: 2px solid var(--color-brand-primary); }
.btn-outline-primary:hover { background: var(--color-brand-primary); color: white; }

.btn-outline-secondary { background: transparent; color: var(--color-text-muted); border: 2px solid var(--color-text-light); }
.btn-outline-secondary:hover { background: var(--color-text-light); color: white; }

.btn-outline-success { background: transparent; color: var(--color-success); border: 2px solid var(--color-success); }
.btn-outline-success:hover { background: var(--color-success); color: white; }

.btn-outline-error { background: transparent; color: var(--color-error); border: 2px solid var(--color-error); }
.btn-outline-error:hover { background: var(--color-error); color: white; }

/* Social Buttons */
.btn-facebook { background: #3b5998; color: white; }
.btn-twitter { background: #1da1f2; color: white; }
.btn-github { background: #24292e; color: white; }
.btn-google { background: white; color: #757575; border: 1px solid var(--color-border); }

/* Floating Labels */
.form-floating { position: relative; }
.form-floating > .form-control { height: 58px; padding: 1rem 0.75rem; }
.form-floating > label { position: absolute; top: 0; left: 0; height: 100%; padding: 1rem 0.75rem; pointer-events: none; border: 1px solid transparent; transform-origin: 0 0; transition: opacity .1s ease-in-out,transform .1s ease-in-out; opacity: .65; }
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label { opacity: .65; transform: scale(.85) translateY(-0.5rem) translateX(0.15rem); }

/* Range Slider */
.form-range { width: 100%; height: 1.5rem; padding: 0; background-color: transparent; appearance: none; }
.form-range::-webkit-slider-thumb { appearance: none; width: 1rem; height: 1rem; background: var(--color-brand-primary); border: 0; border-radius: 1rem; cursor: pointer; margin-top: -0.25rem; }
.form-range::-webkit-slider-runnable-track { width: 100%; height: 0.5rem; color: transparent; cursor: pointer; background-color: var(--color-border); border-color: transparent; border-radius: 1rem; }

/* Tables */
.table { width: 100%; margin-bottom: 1rem; color: var(--color-text-main); vertical-align: top; border-color: var(--color-border); border-collapse: collapse; }
.table th, .table td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.table th { font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.5px; }
.table-striped tbody tr:nth-of-type(odd) { background-color: rgba(0,0,0,0.02); }
.table-hover tbody tr:hover { background-color: rgba(0,0,0,0.04); }

/* Timeline */
.timeline { position: relative; padding-left: 30px; border-left: 2px solid var(--color-border); margin: 20px 0; }
.timeline-item { position: relative; margin-bottom: 24px; }
.timeline-dot { position: absolute; left: -36px; top: 0; width: 14px; height: 14px; border-radius: 50%; background: white; border: 3px solid var(--color-brand-primary); }
.timeline-content { background: white; padding: 16px; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.timeline-date { font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: 4px; display: block; }

/* Stepper */
.stepper { display: flex; justify-content: space-between; margin-bottom: 30px; position: relative; }
.stepper::before { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: var(--color-border); z-index: 0; }
.step-item { position: relative; z-index: 1; text-align: center; background: var(--color-bg-body); padding: 0 10px; }
.step-circle { width: 32px; height: 32px; border-radius: 50%; background: var(--color-border); color: var(--color-text-muted); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-weight: bold; transition: all 0.3s; }
.step-item.active .step-circle { background: var(--color-brand-primary); color: white; }
.step-item.completed .step-circle { background: var(--color-success); color: white; }
.step-label { font-size: 0.85rem; font-weight: 600; color: var(--color-text-muted); }
.step-item.active .step-label { color: var(--color-text-main); }

/* User Profile Card */
.profile-card { text-align: center; position: relative; overflow: hidden; }
.profile-cover { height: 100px; background: linear-gradient(to right, var(--color-brand-primary), var(--color-brand-secondary)); margin: -24px -24px 40px; }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; border: 4px solid white; position: absolute; top: 60px; left: 50%; transform: translateX(-50%); box-shadow: var(--shadow-md); }

/* Stats Card */
.stat-card { display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.stat-value { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.stat-label { color: var(--color-text-muted); font-size: 0.9rem; }

/* --- Batch 2 Expansion --- */

/* Tooltips (Pure CSS) */
.tooltip { position: relative; display: inline-block; border-bottom: 1px dotted var(--color-text-muted); cursor: help; }
.tooltip .tooltip-text { visibility: hidden; width: 120px; background-color: #333; color: #fff; text-align: center; border-radius: 6px; padding: 5px 0; position: absolute; z-index: 1; bottom: 125%; left: 50%; margin-left: -60px; opacity: 0; transition: opacity 0.3s; font-size: 0.75rem; }
.tooltip .tooltip-text::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #333 transparent transparent transparent; }
.tooltip:hover .tooltip-text { visibility: visible; opacity: 1; }

/* Dropdowns (Static for Demo) */
.dropdown-menu { display: block; position: static; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); min-width: 160px; padding: 0.5rem 0; }
.dropdown-item { display: block; width: 100%; padding: 0.5rem 1rem; clear: both; font-weight: 400; color: var(--color-text-main); text-align: inherit; text-decoration: none; white-space: nowrap; background-color: transparent; border: 0; cursor: pointer; }
.dropdown-item:hover { background-color: var(--color-bg-body); color: var(--color-brand-primary); }
.dropdown-divider { height: 0; margin: 0.5rem 0; overflow: hidden; border-top: 1px solid var(--color-border); }
.dropdown-header { display: block; padding: 0.5rem 1rem; margin-bottom: 0; font-size: 0.75rem; color: var(--color-text-muted); white-space: nowrap; text-transform: uppercase; font-weight: 700; }

/* List Groups */
.list-group { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; border-radius: var(--radius-md); }
.list-group-item { position: relative; display: block; padding: 0.75rem 1.25rem; background-color: #fff; border: 1px solid var(--color-border); margin-bottom: -1px; }
.list-group-item:first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.list-group-item:last-child { margin-bottom: 0; border-bottom-right-radius: inherit; border-bottom-left-radius: inherit; }
.list-group-item:hover { z-index: 1; text-decoration: none; background-color: var(--color-bg-body); }
.list-group-item.active { z-index: 2; color: #fff; background-color: var(--color-brand-primary); border-color: var(--color-brand-primary); }
.list-group-flush .list-group-item { border-right-width: 0; border-left-width: 0; border-radius: 0; }
.list-group-flush .list-group-item:first-child { border-top-width: 0; }
.list-group-flush .list-group-item:last-child { border-bottom-width: 0; }

/* Pricing Cards */
.pricing-card { text-align: center; transition: transform 0.3s; }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-header { margin-bottom: 1.5rem; }
.pricing-title { font-size: 1.25rem; font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--color-text-main); }
.pricing-period { font-size: 1rem; color: var(--color-text-muted); font-weight: 400; }
.pricing-features { list-style: none; padding: 0; margin: 2rem 0; text-align: left; }
.pricing-features li { margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.pricing-features li i { color: var(--color-success); }
.pricing-features li.disabled { color: var(--color-text-muted); opacity: 0.6; }

/* Image Gallery Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-icon { color: white; font-size: 2rem; }

/* Video Container */
.ratio { position: relative; width: 100%; }
.ratio::before { display: block; padding-top: var(--bs-aspect-ratio); content: ""; }
.ratio-16x9 { --bs-aspect-ratio: 56.25%; }
.ratio > * { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Skeleton Loading */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
.skeleton-text { height: 1rem; margin-bottom: 0.5rem; width: 100%; }
.skeleton-circle { width: 40px; height: 40px; border-radius: 50%; }
.skeleton-block { height: 150px; width: 100%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Dividers */
.divider { display: flex; align-items: center; text-align: center; margin: 1.5rem 0; color: var(--color-text-muted); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.5px; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--color-border); }
.divider:not(:empty)::before { margin-right: 1em; }
.divider:not(:empty)::after { margin-left: 1em; }

/* Ribbons */
.ribbon-container { position: relative; overflow: hidden; min-height: 100px; background: var(--color-bg-body); border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.ribbon { position: absolute; top: 0; right: 0; width: 100px; height: 100px; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.ribbon::before { content: attr(data-content); position: absolute; width: 150%; height: 30px; background: var(--color-brand-primary); transform: rotate(45deg) translateY(-20px); display: flex; justify-content: center; align-items: center; color: white; font-weight: 700; font-size: 0.8rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); text-transform: uppercase; }

/* --- Batch 3 Expansion --- */

/* Carousel (Scroll Snap) */
.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); }
.carousel-item { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.carousel-item img { width: 100%; display: block; }
.carousel-caption { position: absolute; bottom: 20px; left: 20px; color: white; background: rgba(0,0,0,0.5); padding: 10px; border-radius: var(--radius-sm); }

/* Pagination */
.pagination { display: flex; list-style: none; padding: 0; gap: 5px; }
.page-link { padding: 0.5rem 0.75rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-brand-primary); text-decoration: none; transition: all 0.2s; }
.page-link:hover { background: var(--color-bg-body); }
.page-item.active .page-link { background: var(--color-brand-primary); color: white; border-color: var(--color-brand-primary); }
.page-item.disabled .page-link { color: var(--color-text-muted); pointer-events: none; background: #f9fafb; }

/* Breadcrumbs */
.breadcrumb { display: flex; flex-wrap: wrap; padding: 0; margin-bottom: 1rem; list-style: none; }
.breadcrumb-item + .breadcrumb-item { padding-left: 0.5rem; }
.breadcrumb-item + .breadcrumb-item::before { float: left; padding-right: 0.5rem; color: var(--color-text-muted); content: "/"; }
.breadcrumb-item a { color: var(--color-brand-primary); text-decoration: none; }
.breadcrumb-item.active { color: var(--color-text-muted); }

/* Progress Bars */
.progress { display: flex; height: 1rem; overflow: hidden; background-color: var(--color-bg-body); border-radius: var(--radius-md); margin-bottom: 1rem; border: 1px solid var(--color-border); }
.progress-bar { display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: #fff; text-align: center; white-space: nowrap; background-color: var(--color-brand-primary); transition: width 0.6s ease; }
.progress-bar-striped { background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent); background-size: 1rem 1rem; }
.progress-bar-animated { animation: progress-bar-stripes 1s linear infinite; }
@keyframes progress-bar-stripes { 0% { background-position: 1rem 0; } 100% { background-position: 0 0; } }

/* Form Switch */
.form-switch { padding-left: 2.5em; position: relative; }
.form-switch .form-check-input { position: absolute; left: 0; z-index: -1; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-switch .form-check-label { position: relative; padding-left: 0; cursor: pointer; }
.form-switch .form-check-label::before { content: ""; position: absolute; left: -2.5em; top: 0.15em; width: 2em; height: 1em; background-color: #e5e7eb; border-radius: 1em; transition: background-color .15s ease-in-out; }
.form-switch .form-check-label::after { content: ""; position: absolute; left: -2.5em; top: 0.15em; width: 1em; height: 1em; background-color: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,0.2); transition: transform .15s ease-in-out; }
.form-switch .form-check-input:checked + .form-check-label::before { background-color: var(--color-brand-primary); }
.form-switch .form-check-input:checked + .form-check-label::after { transform: translateX(100%); }

/* Input Groups */
.input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; }
.input-group > .form-control, .input-group > .btn { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group > .input-group-text { display: flex; align-items: center; padding: 0.375rem 0.75rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: var(--color-text-main); text-align: center; white-space: nowrap; background-color: var(--color-bg-body); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.input-group > :not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group > :not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }

/* Chat Bubbles */
.chat-container { display: flex; flex-direction: column; gap: 1rem; }
.chat-message { max-width: 80%; padding: 0.75rem 1rem; border-radius: 1rem; position: relative; }
.chat-message.received { align-self: flex-start; background: var(--color-bg-body); border-bottom-left-radius: 0.25rem; }
.chat-message.sent { align-self: flex-end; background: var(--color-brand-primary); color: white; border-bottom-right-radius: 0.25rem; }
.chat-meta { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.sent .chat-meta { color: rgba(255,255,255,0.8); text-align: right; }

/* Mega Menu (Basic) */
.mega-menu { position: absolute; top: 100%; left: 0; width: 100%; background: white; border: 1px solid var(--color-border); box-shadow: var(--shadow-md); padding: 1rem; display: none; z-index: 100; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mega-menu-trigger:hover .mega-menu { display: grid; }
.mega-column h4 { margin-bottom: 0.5rem; font-size: 0.9rem; text-transform: uppercase; color: var(--color-text-muted); }
.mega-column a { display: block; padding: 0.25rem 0; color: var(--color-text-main); text-decoration: none; }
.mega-column a:hover { color: var(--color-brand-primary); }

/* File Upload */
.file-upload { position: relative; display: inline-block; }
.file-upload-input { position: absolute; left: 0; top: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.file-upload-label { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 2px dashed var(--color-border); border-radius: var(--radius-md); color: var(--color-text-muted); transition: all 0.2s; }
.file-upload:hover .file-upload-label { border-color: var(--color-brand-primary); color: var(--color-brand-primary); background: var(--color-bg-body); }

/* --- Batch 4 Expansion --- */

/* Status Indicators */
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--color-text-muted); }
.status-dot.online { background: var(--color-success); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2); }
.status-dot.busy { background: var(--color-error); }
.status-dot.away { background: var(--color-warning); }
.status-pulse { position: relative; }
.status-pulse::after { content: ''; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px; border-radius: 50%; border: 2px solid var(--color-success); opacity: 0; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* Vertical Stepper */
.stepper-vertical { display: flex; flex-direction: column; gap: 0; }
.step-v { display: flex; gap: 1rem; padding-bottom: 2rem; position: relative; }
.step-v:last-child { padding-bottom: 0; }
.step-v::before { content: ''; position: absolute; left: 15px; top: 30px; bottom: 0; width: 2px; background: var(--color-border); }
.step-v:last-child::before { display: none; }
.step-v-circle { width: 32px; height: 32px; border-radius: 50%; background: var(--color-bg-body); border: 2px solid var(--color-border); display: flex; align-items: center; justify-content: center; z-index: 1; font-weight: bold; color: var(--color-text-muted); flex-shrink: 0; }
.step-v.active .step-v-circle { border-color: var(--color-brand-primary); color: var(--color-brand-primary); background: white; }
.step-v.completed .step-v-circle { background: var(--color-brand-primary); border-color: var(--color-brand-primary); color: white; }
.step-v.completed::before { background: var(--color-brand-primary); }

/* Notification Item */
.notification-item { display: flex; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--color-border); align-items: start; }
.notification-item:last-child { border-bottom: none; }
.notification-item:hover { background: var(--color-bg-body); cursor: pointer; }
.notification-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(108, 92, 231, 0.1); color: var(--color-brand-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notification-content p { margin: 0; font-size: 0.9rem; }
.notification-time { font-size: 0.75rem; color: var(--color-text-muted); margin-top: 0.25rem; display: block; }

/* Date Picker (Static) */
.calendar-widget { width: 280px; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem; background: white; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-weight: bold; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; font-size: 0.85rem; }
.calendar-day-header { color: var(--color-text-muted); font-size: 0.75rem; margin-bottom: 5px; }
.calendar-day { padding: 5px; cursor: pointer; border-radius: 4px; }
.calendar-day:hover:not(.empty) { background: var(--color-bg-body); }
.calendar-day.selected { background: var(--color-brand-primary); color: white; }
.calendar-day.today { border: 1px solid var(--color-brand-primary); color: var(--color-brand-primary); }
.calendar-day.empty { pointer-events: none; }

/* Rating Stars */
.rating { display: inline-flex; gap: 2px; color: #fbbf24; }
.rating-star { cursor: pointer; }
.rating-star.empty { color: #d1d5db; }

/* Empty State */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--color-text-muted); }
.empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-title { font-size: 1.25rem; color: var(--color-text-main); margin-bottom: 0.5rem; font-weight: 600; }
.empty-desc { max-width: 300px; margin: 0 auto 1.5rem; font-size: 0.9rem; }

/* Floating Action Button */
.fab { width: 56px; height: 56px; border-radius: 50%; background: var(--color-brand-primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: var(--shadow-lg); cursor: pointer; transition: transform 0.2s; border: none; }
.fab:hover { transform: scale(1.1); }
.fab-mini { width: 40px; height: 40px; font-size: 1.2rem; }

/* Color Swatch */
.color-swatch { display: flex; gap: 0.5rem; }
.swatch-input { display: none; }
.swatch-label { width: 30px; height: 30px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: transform 0.2s; position: relative; }
.swatch-input:checked + .swatch-label { transform: scale(1.1); border-color: var(--color-text-main); }
.swatch-label::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--bg); }

/* Scroll to Top */
.scroll-top { width: 40px; height: 40px; background: var(--color-text-main); color: white; display: flex; align-items: center; justify-content: center; border-radius: 4px; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; }
.scroll-top:hover { opacity: 1; }

/* --- Batch 5 Expansion --- */

/* Tag Input */
.tag-input-container { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: white; min-height: 45px; }
.tag-input-container:focus-within { border-color: var(--color-brand-primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
.tag-chip { display: inline-flex; align-items: center; gap: 0.25rem; background: var(--color-bg-body); padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.85rem; font-weight: 600; }
.tag-chip-remove { cursor: pointer; color: var(--color-text-muted); display: flex; align-items: center; }
.tag-chip-remove:hover { color: var(--color-error); }
.tag-input-field { border: none; outline: none; flex: 1; min-width: 60px; font-family: inherit; font-size: 0.9rem; }

/* Rich Text Toolbar */
.rich-text-editor { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.rt-toolbar { background: var(--color-bg-body); border-bottom: 1px solid var(--color-border); padding: 0.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.rt-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; cursor: pointer; color: var(--color-text-main); background: transparent; border: none; }
.rt-btn:hover { background: rgba(0,0,0,0.05); }
.rt-btn.active { background: white; color: var(--color-brand-primary); shadow: var(--shadow-sm); }
.rt-content { padding: 1rem; min-height: 150px; background: white; outline: none; }

/* File Upload Zone */
.upload-zone { border: 2px dashed var(--color-border); border-radius: var(--radius-md); padding: 2rem; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--color-bg-body); }
.upload-zone:hover, .upload-zone.dragover { border-color: var(--color-brand-primary); background: rgba(99, 102, 241, 0.05); }
.upload-icon { font-size: 2.5rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.file-list { margin-top: 1rem; list-style: none; padding: 0; }
.file-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: 0.5rem; }
.file-progress { height: 4px; background: var(--color-bg-body); border-radius: 2px; flex: 1; overflow: hidden; }
.file-progress-bar { height: 100%; background: var(--color-brand-primary); width: 0%; transition: width 0.3s; }

/* Circular Progress */
.progress-circle { width: 80px; height: 80px; border-radius: 50%; background: conic-gradient(var(--color-brand-primary) var(--percent), var(--color-border) 0); display: flex; align-items: center; justify-content: center; position: relative; }
.progress-circle::after { content: attr(data-value); position: absolute; inset: 8px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.progress-circle-sm { width: 48px; height: 48px; font-size: 0.8rem; }
.progress-circle-sm::after { inset: 5px; }

/* Horizontal Timeline */
.timeline-h { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; padding-bottom: 1rem; position: relative; }
.timeline-h-item { min-width: 150px; position: relative; padding-top: 20px; text-align: center; flex: 1; }
.timeline-h-item::before { content: ''; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--color-border); z-index: 0; }
.timeline-h-item:first-child::before { left: 50%; }
.timeline-h-item:last-child::before { right: 50%; }
.timeline-h-dot { width: 14px; height: 14px; background: white; border: 2px solid var(--color-brand-primary); border-radius: 50%; position: relative; z-index: 1; margin: 0 auto 10px; }
.timeline-h-item.completed .timeline-h-dot { background: var(--color-brand-primary); }
.timeline-h-item.completed::before { background: var(--color-brand-primary); }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.stat-card-simple { padding: 1.5rem; background: white; border-radius: var(--radius-md); border: 1px solid var(--color-border); text-align: center; }
.stat-value-lg { font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 0.5rem; color: var(--color-text-main); }
.stat-label-sm { color: var(--color-text-muted); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; font-weight: 700; }

/* Definition List */
.def-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 2rem; }
.def-term { font-weight: 600; color: var(--color-text-muted); }
.def-desc { margin: 0; }

/* Code Block (Styled) */
.code-block { background: #1e293b; color: #e2e8f0; padding: 1rem; border-radius: var(--radius-md); font-family: var(--font-mono); overflow-x: auto; position: relative; }
.code-lang-tag { position: absolute; top: 0; right: 0; background: rgba(255,255,255,0.1); padding: 2px 8px; border-bottom-left-radius: 4px; font-size: 0.75rem; color: #94a3b8; }

/* --- Batch 6 Expansion --- */

/* Masonry Grid */
.masonry-grid { column-count: 3; column-gap: 1rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1rem; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.masonry-img { width: 100%; display: block; height: auto; background: var(--color-bg-body); }
.masonry-content { padding: 1rem; }
@media (max-width: 768px) { .masonry-grid { column-count: 2; } }

/* Split View */
.split-view { display: flex; height: 300px; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.split-pane { padding: 1rem; overflow: auto; }
.split-pane-left { width: 30%; border-right: 1px solid var(--color-border); background: var(--color-bg-body); }
.split-pane-right { flex: 1; background: white; }
.split-resizer { width: 4px; background: var(--color-border); cursor: col-resize; transition: background 0.2s; }
.split-resizer:hover { background: var(--color-brand-primary); }

/* Sticky Header (Demo) */
.sticky-header-demo { position: relative; height: 200px; overflow-y: scroll; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.sticky-nav { position: sticky; top: 0; background: white; border-bottom: 1px solid var(--color-border); padding: 0.5rem 1rem; z-index: 10; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-sm); }

/* Tree View */
.tree-view { list-style: none; padding-left: 0; }
.tree-item { margin-bottom: 2px; }
.tree-content { display: flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.5rem; cursor: pointer; border-radius: 4px; color: var(--color-text-main); }
.tree-content:hover { background: var(--color-bg-body); }
.tree-group { padding-left: 1.5rem; border-left: 1px solid var(--color-border); margin-left: 0.75rem; display: none; }
.tree-item.expanded > .tree-group { display: block; }
.tree-arrow { transition: transform 0.2s; font-size: 0.8rem; color: var(--color-text-muted); }
.tree-item.expanded > .tree-content .tree-arrow { transform: rotate(90deg); }

/* Circle Menu */
.circle-menu-container { position: relative; height: 200px; display: flex; align-items: center; justify-content: center; }
.circle-center { width: 50px; height: 50px; background: var(--color-brand-primary); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; z-index: 2; cursor: pointer; box-shadow: var(--shadow-md); }
.circle-item { position: absolute; width: 40px; height: 40px; background: white; border: 1px solid var(--color-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-text-muted); transition: all 0.3s; opacity: 0; transform: scale(0); cursor: pointer; }
.circle-menu-container:hover .circle-item { opacity: 1; transform: scale(1); }
.circle-item:nth-child(1) { transform: translateY(-60px); }
.circle-item:nth-child(2) { transform: translate(50px, -30px); }
.circle-item:nth-child(3) { transform: translate(50px, 30px); }
.circle-item:nth-child(4) { transform: translateY(60px); }
.circle-item:nth-child(5) { transform: translate(-50px, 30px); }
.circle-item:nth-child(6) { transform: translate(-50px, -30px); }

/* Dot Navigation */
.dot-nav { display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
.dot-item { width: 12px; height: 12px; border-radius: 50%; background: var(--color-border); cursor: pointer; transition: all 0.2s; position: relative; }
.dot-item:hover { background: var(--color-brand-primary); opacity: 0.5; }
.dot-item.active { background: var(--color-brand-primary); transform: scale(1.2); }
.dot-tooltip { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); background: #1e293b; color: white; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; opacity: 0; transition: opacity 0.2s; white-space: nowrap; pointer-events: none; }
.dot-item:hover .dot-tooltip { opacity: 1; }

/* Sidebar Navigation */
.sidebar-nav { width: 250px; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: white; }
.sidebar-header { padding: 1rem; border-bottom: 1px solid var(--color-border); font-weight: bold; background: var(--color-bg-body); }
.sidebar-menu { list-style: none; padding: 0.5rem; margin: 0; }
.sidebar-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; color: var(--color-text-muted); border-radius: var(--radius-sm); transition: all 0.2s; cursor: pointer; }
.sidebar-link:hover { background: var(--color-bg-body); color: var(--color-text-main); }
.sidebar-link.active { background: rgba(99, 102, 241, 0.1); color: var(--color-brand-primary); }
.sidebar-badge { margin-left: auto; background: var(--color-brand-primary); color: white; padding: 2px 6px; border-radius: 10px; font-size: 0.7rem; }

/* Bottom Navigation */
.bottom-nav { display: flex; justify-content: space-around; background: white; padding: 0.5rem; border-top: 1px solid var(--color-border); position: relative; max-width: 400px; margin: 0 auto; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); }
.b-nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--color-text-muted); cursor: pointer; font-size: 0.75rem; flex: 1; padding: 0.5rem; border-radius: var(--radius-sm); }
.b-nav-item:hover { background: var(--color-bg-body); }
.b-nav-item.active { color: var(--color-brand-primary); }
.b-nav-icon { font-size: 1.25rem; margin-bottom: 2px; }

/* Tab Bar (Scrollable) */
.tab-scroll-container { position: relative; overflow: hidden; border-bottom: 1px solid var(--color-border); }
.tab-scroll { display: flex; overflow-x: auto; scrollbar-width: none; gap: 1.5rem; padding: 0 1rem; }
.tab-scroll::-webkit-scrollbar { display: none; }
.tab-scroll-item { white-space: nowrap; padding: 1rem 0; color: var(--color-text-muted); border-bottom: 2px solid transparent; cursor: pointer; font-weight: 600; }
.tab-scroll-item.active { color: var(--color-brand-primary); border-bottom-color: var(--color-brand-primary); }

/* --- Batch 7 Expansion --- */

/* Image Compare Slider (Static Demo) */
.img-compare { position: relative; width: 100%; height: 300px; overflow: hidden; border-radius: var(--radius-md); cursor: ew-resize; }
.img-compare img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.img-compare-overlay { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; border-right: 2px solid white; z-index: 1; background: white; }
.img-compare-overlay img { width: 200%; } /* Hack for demo */
.img-compare-handle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; background: white; border-radius: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); color: var(--color-text-main); }

/* Parallax Card */
.parallax-card { height: 300px; border-radius: var(--radius-md); overflow: hidden; position: relative; display: flex; align-items: flex-end; padding: 2rem; color: white; background: #000; isolation: isolate; }
.parallax-bg { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?w=800&q=80') center/cover; z-index: -1; transition: transform 0.5s; opacity: 0.7; }
.parallax-card:hover .parallax-bg { transform: scale(1.1); opacity: 0.5; }
.parallax-content { transform: translateY(20px); transition: transform 0.3s; }
.parallax-card:hover .parallax-content { transform: translateY(0); }

/* Flip Card */
.flip-card { width: 100%; height: 250px; perspective: 1000px; }
.flip-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s; transform-style: preserve-3d; }
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; padding: 2rem; text-align: center; border: 1px solid var(--color-border); }
.flip-card-front { background: white; }
.flip-card-back { background: var(--color-brand-primary); color: white; transform: rotateY(180deg); }

/* Pricing Table */
.pricing-table { border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 2rem; background: white; text-align: center; transition: transform 0.2s; }
.pricing-table:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--color-text-main); margin: 1rem 0; }
.pricing-period { font-size: 1rem; color: var(--color-text-muted); font-weight: 400; }
.pricing-features { list-style: none; padding: 0; margin: 2rem 0; text-align: left; }
.pricing-features li { margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }

/* Testimonial Card */
.testimonial-card { background: white; padding: 2rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); position: relative; }
.testimonial-quote { font-size: 1.1rem; font-style: italic; color: var(--color-text-main); margin-bottom: 1.5rem; line-height: 1.6; }
.testimonial-user { display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--color-bg-body); object-fit: cover; }

/* FAQ Accordion */
.accordion { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--color-border); background: white; }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { padding: 1rem; width: 100%; text-align: left; background: none; border: none; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; color: var(--color-text-main); }
.accordion-header:hover { background: var(--color-bg-body); }
.accordion-content { padding: 0 1rem 1rem; color: var(--color-text-muted); display: none; }
.accordion-item.active .accordion-content { display: block; }
.accordion-icon { transition: transform 0.2s; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }

/* Feature List */
.feature-list-item { display: flex; gap: 1rem; margin-bottom: 2rem; }
.feature-icon-box { width: 48px; height: 48px; border-radius: var(--radius-md); background: rgba(99, 102, 241, 0.1); color: var(--color-brand-primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }

/* Overlay Card */
.overlay-card { position: relative; height: 250px; border-radius: var(--radius-md); overflow: hidden; color: white; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; background: #000; }
.overlay-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.3s; }
.overlay-card:hover img { opacity: 0.4; }
.overlay-card-content { position: relative; z-index: 1; }

/* Audio Player */
.audio-player { background: #1e293b; color: white; padding: 1rem; border-radius: var(--radius-md); display: flex; align-items: center; gap: 1rem; }
.audio-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--color-brand-primary); border: none; color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.audio-track { flex: 1; }
.audio-progress-bg { height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; position: relative; }
.audio-progress-fill { height: 100%; width: 40%; background: var(--color-brand-primary); border-radius: 2px; }
.audio-time { font-family: var(--font-mono); font-size: 0.8rem; opacity: 0.7; }

/* --- Batch 8 Expansion --- */

/* Kanban Board */
.kanban-board { display: flex; gap: 1rem; overflow-x: auto; align-items: flex-start; padding-bottom: 1rem; }
.kanban-col { min-width: 250px; background: var(--color-bg-body); border-radius: var(--radius-md); padding: 0.75rem; border: 1px solid var(--color-border); }
.kanban-header { font-weight: bold; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; }
.kanban-card { background: white; padding: 0.75rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); margin-bottom: 0.75rem; cursor: grab; border: 1px solid transparent; }
.kanban-card:hover { border-color: var(--color-brand-primary); }
.kanban-tag { font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; background: rgba(59, 130, 246, 0.1); color: #2563eb; display: inline-block; margin-bottom: 0.5rem; }

/* Chat Interface */
.chat-interface { border: 1px solid var(--color-border); border-radius: var(--radius-md); height: 400px; display: flex; flex-direction: column; background: white; }
.chat-header { padding: 1rem; border-bottom: 1px solid var(--color-border); display: flex; align-items: center; gap: 0.75rem; font-weight: bold; }
.chat-messages { flex: 1; padding: 1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; background: var(--color-bg-body); }
.message-bubble { max-width: 80%; padding: 0.75rem 1rem; border-radius: 1rem; font-size: 0.9rem; position: relative; }
.message-in { align-self: flex-start; background: white; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.message-out { align-self: flex-end; background: var(--color-brand-primary); color: white; border-bottom-right-radius: 4px; }
.chat-input-area { padding: 0.75rem; border-top: 1px solid var(--color-border); display: flex; gap: 0.5rem; background: white; }

/* Comments Thread */
.comment-thread { margin-top: 1rem; }
.comment { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; background: #cbd5e1; flex-shrink: 0; }
.comment-body { flex: 1; }
.comment-meta { margin-bottom: 0.25rem; font-size: 0.85rem; }
.comment-author { font-weight: bold; margin-right: 0.5rem; }
.comment-time { color: var(--color-text-muted); }
.comment-text { font-size: 0.95rem; margin-bottom: 0.5rem; }
.comment-actions { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--color-text-muted); cursor: pointer; }
.comment-reply { margin-left: 3rem; margin-top: 1rem; border-left: 2px solid var(--color-border); padding-left: 1rem; }

/* Wizard / Stepper Form */
.wizard-progress { display: flex; justify-content: space-between; position: relative; margin-bottom: 2rem; }
.wizard-progress::before { content: ''; position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: var(--color-border); z-index: 0; }
.wizard-step { position: relative; z-index: 1; text-align: center; width: 80px; }
.wizard-step-circle { width: 30px; height: 30px; border-radius: 50%; background: white; border: 2px solid var(--color-border); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.5rem; font-weight: bold; color: var(--color-text-muted); transition: all 0.3s; }
.wizard-step.active .wizard-step-circle { border-color: var(--color-brand-primary); background: var(--color-brand-primary); color: white; }
.wizard-step.completed .wizard-step-circle { border-color: var(--color-success); background: var(--color-success); color: white; }
.wizard-label { font-size: 0.75rem; color: var(--color-text-muted); font-weight: 600; }
.wizard-step.active .wizard-label { color: var(--color-brand-primary); }

/* User Dropdown */
.user-menu-btn { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem; border-radius: var(--radius-md); cursor: pointer; transition: background 0.2s; border: 1px solid transparent; }
.user-menu-btn:hover { background: var(--color-bg-body); }
.user-info { text-align: left; }
.user-name { display: block; font-weight: 600; font-size: 0.9rem; }
.user-role { display: block; font-size: 0.75rem; color: var(--color-text-muted); }

/* Notification Dropdown */
.notification-dropdown { width: 300px; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; }
.notif-header { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); font-weight: bold; display: flex; justify-content: space-between; align-items: center; background: var(--color-bg-body); }
.notif-list { max-height: 300px; overflow-y: auto; }
.notif-item { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); display: flex; gap: 0.75rem; transition: background 0.2s; cursor: pointer; }
.notif-item:hover { background: var(--color-bg-body); }
.notif-item.unread { background: rgba(99, 102, 241, 0.05); }
.notif-item:last-child { border-bottom: none; }
.notif-icon { width: 32px; height: 32px; border-radius: 50%; background: #e0e7ff; color: var(--color-brand-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }

/* Cookie Consent */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #1e293b; color: white; padding: 1rem; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.1); }
.cookie-text { font-size: 0.9rem; flex: 1; }
.cookie-actions { display: flex; gap: 0.5rem; }

/* Context Menu */
.context-menu { width: 180px; background: white; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 0.25rem; }
.context-item { padding: 0.5rem 0.75rem; display: flex; align-items: center; gap: 0.5rem; color: var(--color-text-main); font-size: 0.9rem; border-radius: var(--radius-sm); cursor: pointer; }
.context-item:hover { background: var(--color-brand-primary); color: white; }
.context-divider { height: 1px; background: var(--color-border); margin: 0.25rem 0; }
.context-shortcut { margin-left: auto; font-size: 0.75rem; opacity: 0.6; }

/* Search Results */
.search-result-item { padding: 1rem; border-bottom: 1px solid var(--color-border); cursor: pointer; }
.search-result-item:hover { background: var(--color-bg-body); }
.search-highlight { background: rgba(255, 215, 0, 0.3); font-weight: bold; }
.search-result-title { color: var(--color-brand-primary); font-weight: 600; margin-bottom: 0.25rem; display: block; }
.search-result-url { color: var(--color-success); font-size: 0.8rem; margin-bottom: 0.25rem; display: block; }
.search-result-desc { font-size: 0.9rem; color: var(--color-text-muted); }

/* --- Batch 9 Expansion --- */

/* Product Card */
.product-card { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: white; transition: transform 0.2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-img { width: 100%; height: 200px; object-fit: cover; background: var(--color-bg-body); }
.product-body { padding: 1rem; }
.product-title { font-weight: bold; margin-bottom: 0.5rem; display: block; }
.product-price { font-size: 1.1rem; color: var(--color-text-main); font-weight: 800; }
.product-old-price { text-decoration: line-through; color: var(--color-text-muted); font-size: 0.9rem; margin-left: 0.5rem; }

/* Cart Item */
.cart-item { display: flex; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--color-border); align-items: center; }
.cart-img { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--color-bg-body); object-fit: cover; }
.cart-details { flex: 1; }
.cart-qty { display: flex; align-items: center; gap: 0.5rem; border: 1px solid var(--color-border); border-radius: 4px; padding: 2px; width: fit-content; }
.cart-qty-btn { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: none; border: none; }
.cart-qty-val { font-size: 0.9rem; font-weight: 600; min-width: 20px; text-align: center; }

/* Credit Card Form (Visual) */
.cc-visual { width: 300px; height: 180px; background: linear-gradient(135deg, #4f46e5, #ec4899); border-radius: var(--radius-md); color: white; padding: 1.5rem; position: relative; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow-md); margin-bottom: 1rem; }
.cc-chip { width: 40px; height: 30px; background: rgba(255,255,255,0.2); border-radius: 4px; margin-bottom: 1rem; }
.cc-number { font-family: var(--font-mono); font-size: 1.25rem; letter-spacing: 2px; margin-bottom: 1rem; }
.cc-info { display: flex; justify-content: space-between; font-size: 0.8rem; text-transform: uppercase; }

/* Dashboard Graph (Simulated) */
.graph-container { height: 200px; border-bottom: 1px solid var(--color-border); border-left: 1px solid var(--color-border); display: flex; align-items: flex-end; justify-content: space-around; padding: 0 1rem; position: relative; }
.graph-bar { width: 30px; background: var(--color-brand-primary); border-top-left-radius: 4px; border-top-right-radius: 4px; transition: height 0.5s; opacity: 0.8; }
.graph-bar:hover { opacity: 1; }
.graph-line { position: absolute; top: 50%; left: 0; right: 0; border-top: 1px dashed var(--color-border); z-index: -1; }

/* Order History Row */
.order-row { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--color-border); align-items: center; font-size: 0.9rem; }
.order-row:hover { background: var(--color-bg-body); }
.order-id { font-family: var(--font-mono); color: var(--color-brand-primary); font-weight: 600; }

/* Filter Chips */
.filter-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filter-chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem; border-radius: 99px; border: 1px solid var(--color-border); background: white; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; }
.filter-chip:hover { border-color: var(--color-brand-primary); color: var(--color-brand-primary); }
.filter-chip.active { background: var(--color-brand-primary); color: white; border-color: var(--color-brand-primary); }

/* User Table */
.user-table { width: 100%; border-collapse: collapse; }
.user-table th { text-align: left; padding: 0.75rem 1rem; border-bottom: 2px solid var(--color-border); color: var(--color-text-muted); font-size: 0.85rem; text-transform: uppercase; }
.user-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); }
.user-cell { display: flex; align-items: center; gap: 0.75rem; }
.user-avatar-sm { width: 32px; height: 32px; border-radius: 50%; background: var(--color-bg-body); object-fit: cover; }

/* Checkout Summary */
.checkout-summary { background: var(--color-bg-body); padding: 1.5rem; border-radius: var(--radius-md); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; color: var(--color-text-muted); font-size: 0.9rem; }
.summary-total { display: flex; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); font-weight: 800; font-size: 1.1rem; color: var(--color-text-main); }


/* =========================================
   Batch 10: Social & Content
   ========================================= */

/* Comment Thread */
.comment-thread { display: flex; flex-direction: column; gap: 1.5rem; }
.comment { display: flex; gap: 1rem; }
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-body { flex: 1; }
.comment-header { display: flex; justify-content: space-between; margin-bottom: 0.25rem; }
.comment-author { font-weight: 600; color: var(--color-text-main); }
.comment-date { font-size: 0.85rem; color: var(--color-text-muted); }
.comment-text { color: var(--color-text-body); font-size: 0.95rem; line-height: 1.5; margin-bottom: 0.5rem; }
.comment-actions { display: flex; gap: 1rem; font-size: 0.85rem; }
.comment-action { color: var(--color-text-muted); cursor: pointer; text-decoration: none; font-weight: 500; }
.comment-action:hover { color: var(--color-brand-primary); }
.comment-reply { margin-left: 3.5rem; margin-top: 1rem; border-left: 2px solid var(--color-border); padding-left: 1rem; }

/* Like Button */
.like-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-full); background: white; cursor: pointer; transition: all 0.2s; color: var(--color-text-muted); }
.like-btn:hover { border-color: #ef4444; color: #ef4444; background: #fef2f2; }
.like-btn.active { background: #ef4444; border-color: #ef4444; color: white; }
.like-btn i { font-size: 1.2rem; transition: transform 0.2s; }
.like-btn:active i { transform: scale(1.3); }

/* Share Options */
.share-options { display: flex; gap: 0.5rem; }
.share-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: transform 0.2s; }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.share-twitter { background: #1da1f2; }
.share-facebook { background: #1877f2; }
.share-linkedin { background: #0077b5; }
.share-copy { background: var(--color-bg-surface-2); color: var(--color-text-main); }

/* User List Item */
.user-list-item { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem; border-bottom: 1px solid var(--color-border); }
.user-list-item:last-child { border-bottom: none; }
.user-info-group { display: flex; align-items: center; gap: 0.75rem; }
.user-list-name { font-weight: 500; display: block; }
.user-list-status { font-size: 0.8rem; color: var(--color-text-muted); }

/* Activity Feed Item */
.feed-item { display: flex; gap: 1rem; padding-bottom: 1.5rem; position: relative; }
.feed-item::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--color-border); }
.feed-item:last-child::before { display: none; }
.feed-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--color-bg-surface-2); display: flex; align-items: center; justify-content: center; color: var(--color-brand-primary); z-index: 1; border: 2px solid white; }
.feed-content { padding-top: 0.5rem; }
.feed-title { font-weight: 500; margin-bottom: 0.25rem; }
.feed-time { font-size: 0.8rem; color: var(--color-text-muted); }

/* Article Card (Horizontal) */
.article-card-h { display: flex; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: white; transition: box-shadow 0.2s; }
.article-card-h:hover { box-shadow: var(--shadow-md); }
.article-img-h { width: 200px; object-fit: cover; }
.article-body-h { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.article-cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-brand-primary); font-weight: 700; margin-bottom: 0.5rem; }
.article-title-h { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--color-text-main); text-decoration: none; }
.article-excerpt { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-meta { margin-top: 1rem; font-size: 0.8rem; color: var(--color-text-muted); display: flex; align-items: center; gap: 0.5rem; }

/* Blockquote Stylized */
.quote-stylized { position: relative; padding: 2rem; background: var(--color-bg-surface-2); border-radius: var(--radius-lg); text-align: center; }
.quote-stylized i { font-size: 2rem; color: var(--color-brand-primary); opacity: 0.3; position: absolute; top: 1rem; left: 1rem; }
.quote-text { font-size: 1.1rem; font-style: italic; color: var(--color-text-main); margin-bottom: 1rem; display: block; }
.quote-author { font-weight: 600; font-size: 0.9rem; color: var(--color-text-body); }
.quote-role { font-size: 0.8rem; color: var(--color-text-muted); }

/* Author Box */
.author-box { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg-surface); }
.author-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.author-info h4 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.author-bio { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.author-links { display: flex; gap: 0.75rem; }
.author-links a { color: var(--color-text-body); font-size: 1.1rem; transition: color 0.2s; }
.author-links a:hover { color: var(--color-brand-primary); }

/* Tag Cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-item { padding: 0.35rem 0.75rem; background: var(--color-bg-surface-2); color: var(--color-text-body); border-radius: var(--radius-full); font-size: 0.85rem; text-decoration: none; transition: all 0.2s; }
.tag-item:hover { background: var(--color-brand-primary); color: white; transform: scale(1.05); }


/* =========================================
   Batch 11: Utility & Misc
   ========================================= */

/* Keyboard Key (Kbd) */
kbd { display: inline-block; padding: 0.1rem 0.4rem; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.4; color: var(--color-text-main); vertical-align: middle; background-color: #f3f4f6; border: 1px solid #d1d5db; border-radius: 4px; box-shadow: 0 1px 0 rgba(0,0,0,0.2); }

/* Code Snippet */
.code-block { background: #1e293b; color: #e2e8f0; padding: 1rem; border-radius: var(--radius-md); font-family: var(--font-mono); font-size: 0.9rem; overflow-x: auto; position: relative; margin-bottom: 1rem; }
.code-inline { background: rgba(0,0,0,0.05); padding: 0.1rem 0.3rem; border-radius: 4px; font-family: var(--font-mono); color: #d946ef; font-size: 0.9em; }

/* File Tree */
.file-tree { list-style: none; padding-left: 0; user-select: none; }
.file-tree li { padding-left: 1.5rem; position: relative; line-height: 1.8; }
.file-tree li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--color-border); }
.file-tree li::after { content: ''; position: absolute; left: 0; top: 1em; width: 10px; height: 1px; background: var(--color-border); }
.file-tree-item { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color: var(--color-text-body); }
.file-tree-item:hover { color: var(--color-brand-primary); }
.file-tree-folder { font-weight: 600; color: var(--color-text-main); }

/* Countdown Timer */
.countdown { display: flex; gap: 1rem; justify-content: center; }
.countdown-item { display: flex; flex-direction: column; align-items: center; background: white; padding: 0.5rem 1rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); min-width: 70px; }
.countdown-val { font-size: 1.5rem; font-weight: 800; color: var(--color-brand-primary); line-height: 1; }
.countdown-label { font-size: 0.75rem; color: var(--color-text-muted); text-transform: uppercase; margin-top: 0.25rem; }

/* Feature List */
.feature-list { list-style: none; padding: 0; }
.feature-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.feature-icon { color: var(--color-success); font-size: 1.1rem; margin-top: 2px; }

/* Statistic Grid */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.stat-card { background: var(--color-bg-surface-2); padding: 1.5rem; border-radius: var(--radius-md); text-align: center; }
.stat-val { font-size: 2rem; font-weight: 800; color: var(--color-text-main); display: block; }
.stat-label { color: var(--color-text-muted); font-size: 0.9rem; }

/* Image Comparison (Handle) */
.img-compare { position: relative; width: 100%; max-width: 400px; height: 250px; overflow: hidden; border-radius: var(--radius-md); }
.img-compare-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: white; cursor: ew-resize; z-index: 10; box-shadow: 0 0 10px rgba(0,0,0,0.3); }
.img-compare-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-text-main); box-shadow: var(--shadow-sm); }

/* Corner Ribbon */
.ribbon-container { position: relative; overflow: hidden; display: inline-block; }
.corner-ribbon { position: absolute; top: 15px; right: -25px; transform: rotate(45deg); background: var(--color-brand-primary); color: white; padding: 0.25rem 2.5rem; font-size: 0.75rem; font-weight: bold; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }

/* Notification Badge on Icon */
.icon-badge-container { position: relative; display: inline-flex; }
.icon-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; background: #ef4444; color: white; font-size: 0.7rem; font-weight: bold; border-radius: 9px; display: flex; align-items: center; justify-content: center; border: 2px solid white; }





