/* ============================================
   HJKCollections - Global Styles
   Premium Bags Ecommerce
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Custom Properties */
:root {
    --primary: #1A1A2E;
    --primary-light: #2D2D44;
    --primary-dark: #0F0F1A;
    --secondary: #C9A96E;
    --secondary-light: #D4BA8A;
    --secondary-dark: #B08C4A;
    --accent: #E8D5B7;
    --accent-light: #F2E8D5;
    --bg: #FAFAFA;
    --bg-alt: #F5F5F5;
    --surface: #FFFFFF;
    --text: #1A1A2E;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --success: #059669;
    --success-light: #D1FAE5;
    --warning: #D97706;
    --warning-light: #FEF3C7;
    --danger: #DC2626;
    --danger-light: #FEE2E2;
    --info: #2563EB;
    --info-light: #DBEAFE;
    --border: #E5E7EB;
    --border-dark: #D1D5DB;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --container-max: 1320px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-primary);
}

input, select, textarea {
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

/* Utility Classes */
.container-custom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 20px;
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-primary-custom:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-custom {
    background: var(--secondary);
    color: #fff;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 2px solid var(--secondary);
}

.btn-secondary-custom:hover {
    background: var(--secondary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    padding: 12px 32px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    background: transparent;
    color: var(--secondary);
    padding: 12px 32px;
    border: 2px solid var(--secondary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-outline-secondary:hover {
    background: var(--secondary);
    color: #fff;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-icon.active {
    background: var(--danger);
    color: #fff;
    border-color: var(--danger);
}

/* Badge */
.badge-custom {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: var(--success-light);
    color: var(--success);
}

.badge-warning {
    background: var(--warning-light);
    color: var(--warning);
}

.badge-danger {
    background: var(--danger-light);
    color: var(--danger);
}

.badge-info {
    background: var(--info-light);
    color: var(--info);
}

.badge-primary {
    background: var(--accent);
    color: var(--primary);
}

.badge-discount {
    background: var(--danger);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Form Styles */
.form-control-custom {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--surface);
    transition: var(--transition-fast);
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

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

.form-label-custom {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group {
    margin-bottom: 20px;
}

.form-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-check-custom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-check-custom input[type="checkbox"],
.form-check-custom input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary);
}

.input-group-custom {
    position: relative;
}

.input-group-custom .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.input-group-custom input {
    padding-left: 42px;
}

.input-group-custom .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
}

/* Card Styles */
.card-custom {
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.card-custom:hover {
    box-shadow: var(--shadow-md);
}

.card-custom .card-body {
    padding: 20px;
}

/* Price Display */
.price-display {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-display .selling-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.price-display .normal-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-display .discount-percent {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--success);
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star-rating .fa-star {
    color: #E5E7EB;
    font-size: 0.85rem;
}

.star-rating .fa-star.filled {
    color: #F59E0B;
}

.star-rating .fa-star-half-stroke {
    color: #F59E0B;
    font-size: 0.85rem;
}

.star-rating .rating-count {
    margin-left: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Announcement Bar */
.announcement-bar {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.announcement-bar a {
    color: var(--secondary);
    text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumb-custom {
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-custom a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb-custom a:hover {
    color: var(--secondary);
}

.breadcrumb-custom .separator {
    color: var(--text-light);
    font-size: 0.8rem;
}

.breadcrumb-custom .current {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--success);
    min-width: 300px;
    max-width: 450px;
    animation: slideInRight 0.3s ease forwards;
    font-size: 0.9rem;
}

.toast-notification.toast-error {
    border-left-color: var(--danger);
}

.toast-notification.toast-warning {
    border-left-color: var(--warning);
}

.toast-notification.toast-info {
    border-left-color: var(--info);
}

.toast-notification .toast-icon {
    font-size: 1.2rem;
}

.toast-notification .toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.1rem;
}

.toast-notification.toast-hide {
    animation: slideOutRight 0.3s ease forwards;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
    padding: 20px;
}

.modal-content-custom {
    background: var(--surface);
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: scaleIn 0.3s ease;
}

.modal-header-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-header-custom h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0;
}

.modal-header-custom .modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

.modal-body-custom {
    padding: 24px;
}

.modal-footer-custom {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Loading Spinner */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--border-dark);
    margin-bottom: 20px;
}

.empty-state h4 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Quantity Control */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-control button {
    width: 38px;
    height: 38px;
    background: var(--bg-alt);
    border: none;
    font-size: 1rem;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.qty-control button:hover {
    background: var(--primary);
    color: #fff;
}

.qty-control input {
    width: 50px;
    height: 38px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 500;
    -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Color Swatch */
.color-swatches {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--secondary);
}

.color-swatch::after {
    content: attr(data-color);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition-fast);
}

.color-swatch:hover::after {
    opacity: 1;
}

/* Size Selector */
.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    padding: 8px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--surface);
    cursor: pointer;
    transition: var(--transition-fast);
}

.size-option:hover {
    border-color: var(--primary);
}

.size-option.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.size-option.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Pagination */
.pagination-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination-custom .page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: pointer;
}

.pagination-custom .page-btn:hover {
    background: var(--bg-alt);
    border-color: var(--primary);
}

.pagination-custom .page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.pagination-custom .page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Divider */
.divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Status Timeline */
.status-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border);
}

.status-timeline .timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.status-timeline .timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.status-timeline .timeline-step.completed .timeline-icon {
    background: var(--success);
    color: #fff;
}

.status-timeline .timeline-step.active .timeline-icon {
    background: var(--info);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.status-timeline .timeline-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}

.status-timeline .timeline-step.completed .timeline-label,
.status-timeline .timeline-step.active .timeline-label {
    color: var(--text);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

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

@keyframes checkmark {
    0% { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Selection */
::selection {
    background: var(--secondary);
    color: #fff;
}

/* Focus Styles for Accessibility */
:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Transition helpers */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* Text utilities */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-primary); }

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Aspect Ratio */
.aspect-square {
    aspect-ratio: 1;
    object-fit: cover;
}

.aspect-4-3 {
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-scale {
    transition: var(--transition);
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Image hover zoom */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.08);
}

/* Overlay */
.overlay {
    position: relative;
}

.overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
    transition: var(--transition);
}

/* Tab Styles */
.tabs-custom {
    display: flex;
    border-bottom: 2px solid var(--border);
    gap: 0;
    overflow-x: auto;
}

.tabs-custom .tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.tabs-custom .tab-btn:hover {
    color: var(--text);
}

.tabs-custom .tab-btn.active {
    color: var(--primary);
}

.tabs-custom .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary);
}

.tab-content {
    display: none;
    padding: 24px 0;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Chip/Tag */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: var(--bg-alt);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.chip .chip-remove {
    cursor: pointer;
    font-size: 0.7rem;
    opacity: 0.6;
}

.chip .chip-remove:hover {
    opacity: 1;
    color: var(--danger);
}

/* Tooltip */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-alt) 25%, #e8e8e8 50%, var(--bg-alt) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

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

/* Misc */
.no-select {
    user-select: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}
