/* ============================================
   ADMIN PANEL STYLING
   ============================================ */

:root {
    --primary-color: #2196F3;
    --secondary-color: #1976D2;
    --success-color: #4CAF50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --dark-bg: #1a1a2e;
    --sidebar-bg: #16213e;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f7fa;
    color: var(--text-primary);
}

/* ============================================
   LOGIN SCREEN
   ============================================ */

.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 100%;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    height: 80px;
    margin-bottom: 20px;
}

.login-header h1 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.login-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.error-message {
    background: #ffebee;
    color: var(--danger-color);
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   ADMIN DASHBOARD
   ============================================ */

.admin-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo {
    height: 50px;
}

.admin-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-email {
    font-size: 0.9rem;
    opacity: 0.9;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   ADMIN CONTENT
   ============================================ */

.admin-content {
    display: flex;
    min-height: calc(100vh - 82px);
}

.admin-sidebar {
    width: 250px;
    background: var(--sidebar-bg);
    color: white;
    padding: 20px 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item.active {
    background: rgba(33, 150, 243, 0.3);
    color: white;
    border-left: 4px solid var(--primary-color);
}

.admin-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* ============================================
   SECTIONS
   ============================================ */

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    color: var(--text-primary);
}

/* ============================================
   STATS CARDS
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-icon .material-icons {
    font-size: 32px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   TABLE
   ============================================ */

.table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.products-table,
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.products-table thead,
.orders-table thead {
    background: #f5f7fa;
}

.products-table th,
.orders-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    border-bottom: 2px solid var(--border-color);
}

.products-table td,
.orders-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.products-table tbody tr:hover,
.orders-table tbody tr:hover {
    background: #f9fafb;
}

.product-image-cell {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.product-name-cell {
    font-weight: 600;
    color: var(--text-primary);
}

.price-cell {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.stock-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: #e8f5e9;
    color: var(--success-color);
}

.stock-badge.out-of-stock {
    background: #ffebee;
    color: var(--danger-color);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon.edit {
    background: #e3f2fd;
    color: var(--primary-color);
}

.btn-icon.edit:hover {
    background: var(--primary-color);
    color: white;
}

.btn-icon.delete {
    background: #ffebee;
    color: var(--danger-color);
}

.btn-icon.delete:hover {
    background: var(--danger-color);
    color: white;
}

.btn-icon.toggle {
    background: #e3f2fd;
    color: #1976D2;
}

.btn-icon.toggle:hover {
    background: #1976D2;
    color: white;
}

.btn-icon.activate {
    background: #f5f5f5;
    color: #757575;
}

.btn-icon.activate:hover {
    background: #4CAF50;
    color: white;
}

.loading-cell {
    text-align: center;
    padding: 40px !important;
    color: var(--text-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.btn-secondary {
    background: #f5f7fa;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: #e8eaf0;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: var(--text-primary);
}

.modal-body {
    padding: 28px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--border-color);
}

/* ============================================
   FORM
   ============================================ */

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h3 .material-icons {
    font-size: 1.3rem;
}

/* Roll Item Styling */
.roll-item {
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.roll-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

.roll-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.roll-item-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.roll-item-title .material-icons {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.roll-remove-btn {
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.roll-remove-btn:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}

.roll-remove-btn .material-icons {
    font-size: 1rem;
}

.roll-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.roll-field {
    display: flex;
    flex-direction: column;
}

.roll-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.roll-field input,
.roll-field select {
    padding: 10px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.roll-field input:focus,
.roll-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Help Text */
.help-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 8px;
    line-height: 1.5;
}

.help-text code {
    background: #f5f7fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

/* ============================================
   IMAGE UPLOAD
   ============================================ */

.image-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-upload-area:hover {
    border-color: var(--primary-color);
    background: #f9fafb;
}

.image-upload-area .material-icons {
    font-size: 48px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.image-upload-area p {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.small-text {
    font-size: 0.85rem;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--danger-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-preview-item:hover .image-preview-remove {
    opacity: 1;
}

/* ============================================
   COLORS
   ============================================ */

.colors-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.color-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.color-type {
    width: 120px;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.color-name {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
}

.color-value {
    width: 80px;
    height: 46px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
}

.remove-color {
    background: #ffebee;
    color: var(--danger-color);
}

/* Color Type Sections */
.color-type-section {
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
}

.color-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.color-type-header h4 {
    color: var(--primary-color);
    font-size: 1rem;
}

.colors-in-type {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.remove-color-from-type {
    background: #ffebee;
    color: var(--danger-color);
}

.remove-color-type {
    background: #ffebee;
    color: var(--danger-color);
}

/* ============================================
   PRODUCT OPTIONS
   ============================================ */

.product-option-item {
    transition: all 0.2s ease;
}

.product-option-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-option-item .option-name,
.product-option-item .option-price {
    font-family: 'Montserrat', sans-serif;
}

.product-option-item .material-icons {
    transition: transform 0.2s ease;
}

.product-option-item:hover .material-icons {
    transform: scale(1.1);
}

.product-option-item .option-price-label {
    font-weight: 600;
}

/* ============================================
   LOADING SPINNER
   ============================================ */

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   NOTIFICATIONS
   ============================================ */

#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification {
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.error {
    border-left: 4px solid var(--danger-color);
}

.notification .material-icons {
    font-size: 24px;
}

.notification.success .material-icons {
    color: var(--success-color);
}

.notification.error .material-icons {
    color: var(--danger-color);
}

.notification-message {
    flex: 1;
    font-weight: 500;
}

.notification-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   FILAMENT MANAGEMENT STYLES
   ============================================ */

.filaments-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.filaments-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.filaments-table th,
.filaments-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.filaments-table tbody tr {
    transition: background-color 0.2s ease;
}

.filaments-table tbody tr:hover {
    background-color: #f5f5f5;
}

.filament-brand-cell {
    font-weight: 600;
    color: var(--primary-color);
}

.stock-bar-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stock-bar {
    flex: 1;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.stock-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.stock-bar-fill.status-available {
    background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
}

.stock-bar-fill.status-limited {
    background: linear-gradient(90deg, #ff9800 0%, #f57c00 100%);
}

.stock-bar-fill.status-request {
    background: linear-gradient(90deg, #f44336 0%, #d32f2f 100%);
}

.stock-percentage {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 50px;
    text-align: right;
}

.filament-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.filament-status-badge.status-available {
    background: #e8f5e9;
    color: #2e7d32;
}

.filament-status-badge.status-limited {
    background: #fff3e0;
    color: #e65100;
}

.filament-status-badge.status-request {
    background: #ffebee;
    color: #c62828;
}

/* Discount status badges */
.filament-status-badge.status-active {
    background: #e8f5e9;
    color: #2e7d32;
}

.filament-status-badge.status-inactive {
    background: #f5f5f5;
    color: #757575;
}

.filament-status-badge.status-expired {
    background: #ffebee;
    color: #c62828;
}

.filter-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.filter-select:hover {
    border-color: var(--primary-color);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .admin-content {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
    }

    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .nav-item.active {
        border-left: none;
        border-bottom: 4px solid var(--primary-color);
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .header-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .user-email {
        font-size: 0.8rem;
    }
}

/* ============================================
   MULTI CATEGORY INPUT
   ============================================ */
.categories-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#selected-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 34px;
}

.category-chip {
    background: #e3f2fd;
    color: #1976D2;
    padding: 6px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #bbdefb;
    animation: fadeIn 0.2s ease;
}

.category-chip button {
    background: transparent;
    border: none;
    color: #1976D2;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    line-height: 1;
}

.category-chip button:hover {
    color: #0d47a1;
}

#product-category-input {
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

#product-category-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
