/**
 * OSUS.AI Component Styles
 * Reusable UI components
 */

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark-light);
    color: var(--light);
    padding: 16px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-notification.toast-success i {
    color: var(--accent);
}

.toast-notification.toast-error i {
    color: var(--ruby);
}

.toast-notification.toast-info i {
    color: var(--gold);
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */
.quick-view-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-view-modal.show {
    opacity: 1;
    visibility: visible;
}

.quick-view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.quick-view-content {
    position: relative;
    background: var(--dark-light);
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.quick-view-modal.show .quick-view-content {
    transform: scale(1);
}

.quick-view-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.quick-view-close:hover {
    background: var(--gold);
    color: var(--dark);
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .quick-view-grid {
        grid-template-columns: 1fr;
    }
}

.quick-view-image {
    padding: 30px;
}

.quick-view-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
}

.quick-view-details {
    padding: 30px;
    padding-right: 0;
}

.quick-view-category {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.quick-view-details h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--light);
}

.quick-view-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 20px;
}

.quick-view-desc {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.quick-view-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.quick-view-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.quick-view-meta i {
    color: var(--gold);
}

.quick-view-actions {
    display: flex;
    gap: 15px;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
    background: rgba(28, 28, 36, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-action-btn:hover {
    background: var(--gold);
}

.product-action-btn.active i {
    color: var(--ruby);
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--light);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
}

.product-info .btn-luxury {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
}

/* ============================================
   CART ITEMS
   ============================================ */
.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(28, 28, 36, 0.5);
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--light);
}

.cart-item-meta {
    font-size: 0.85rem;
    color: var(--gray-light);
}

.cart-item-price {
    color: var(--gold);
    font-weight: 700;
    margin-top: 5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: transparent;
    color: var(--gold);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

.cart-item-remove {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(139, 21, 56, 0.2);
    color: var(--ruby);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: var(--ruby);
    color: white;
}

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-cart,
.empty-wishlist,
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart i,
.empty-wishlist i,
.no-results i {
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-cart h3,
.empty-wishlist h3,
.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--light);
}

.empty-cart p,
.empty-wishlist p,
.no-results p {
    color: var(--gray-light);
    margin-bottom: 25px;
}

/* ============================================
   NOTIFICATIONS
   ============================================ */
.notification-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 350px;
    background: var(--dark-light);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-header h4 {
    font-size: 1rem;
    color: var(--light);
}

.notification-header button {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 0.85rem;
}

.notification-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.3s ease;
}

.notification-item:hover {
    background: rgba(212, 175, 55, 0.05);
}

.notification-item.read {
    opacity: 0.6;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.notification-content h5 {
    font-size: 0.95rem;
    margin-bottom: 3px;
    color: var(--light);
}

.notification-content p {
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-bottom: 5px;
}

.notification-time {
    font-size: 0.75rem;
    color: var(--gray);
}

/* ============================================
   CHAT WIDGET
   ============================================ */
#chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9998;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-gold);
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: var(--ruby);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    height: 450px;
    background: var(--dark-light);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

#chat-widget.open .chat-window {
    display: flex;
}

.chat-header {
    padding: 20px;
    background: var(--gradient-gold);
    color: var(--dark);
}

.chat-header h4 {
    font-weight: 700;
}

.chat-header p {
    font-size: 0.85rem;
    opacity: 0.8;
}

#chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-message.bot {
    margin-left: auto;
}

.chat-message.user {
    margin-right: auto;
}

.chat-message p {
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
}

.chat-message.bot p {
    background: rgba(212, 175, 55, 0.15);
    color: var(--light);
    border-bottom-left-radius: 4px;
}

.chat-message.user p {
    background: var(--gold);
    color: var(--dark);
    border-bottom-right-radius: 4px;
}

.chat-time {
    font-size: 0.7rem;
    color: var(--gray);
    margin-top: 5px;
    display: block;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    border-radius: 25px;
    font-size: 0.95rem;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--gold);
}

.chat-input button {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--gold);
    color: var(--dark);
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    transform: scale(1.1);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--light);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    background: rgba(28, 28, 36, 0.6);
    color: var(--light);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(28, 28, 36, 0.9);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.form-input::placeholder {
    color: var(--gray-light);
}

.form-input.error {
    border-color: var(--ruby);
}

.form-error {
    color: var(--ruby);
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--gold);
}

/* ============================================
   LOADING STATES
   ============================================ */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

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

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-gold {
    background: var(--gradient-gold);
    color: var(--dark);
}

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

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

.badge-info {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

/* ============================================
   TABS
   ============================================ */
.tabs {
    display: flex;
    gap: 5px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 25px;
    border: none;
    background: transparent;
    color: var(--gray-light);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.tab-btn:hover {
    color: var(--gold);
}

.tab-btn.active {
    color: var(--gold);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: transparent;
    color: var(--gray-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 768px) {
    .quick-view-content {
        width: 95%;
        max-height: 95vh;
    }

    .notification-dropdown {
        width: 300px;
    }

    .chat-window {
        width: 300px;
        height: 400px;
    }

    #chat-widget {
        bottom: 20px;
        left: 20px;
    }

    .chat-toggle {
        width: 55px;
        height: 55px;
    }
}

/* ============================================
   SEARCH SUGGESTIONS
   ============================================ */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-light);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    margin-top: 10px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-suggestions.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.search-suggestion-item:last-child {
    border-bottom: none;
}

.search-suggestion-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.search-suggestion-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 10px;
}

.search-suggestion-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.search-suggestion-item span {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   DEMO MODE PANEL
   ============================================ */
.demo-mode-panel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.demo-mode-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
}

.demo-mode-toggle:hover {
    transform: scale(1.1);
}

.demo-mode-content {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 280px;
    background: var(--dark-light);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.demo-mode-panel.open .demo-mode-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.demo-mode-content h5 {
    font-size: 1rem;
    color: var(--light);
    margin-bottom: 5px;
}

.demo-mode-content p {
    font-size: 0.85rem;
    color: var(--gray-light);
    margin-bottom: 15px;
}

.demo-roles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-roles button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: var(--gray-light);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.demo-roles button:hover {
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--light);
}

.demo-roles button.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.demo-roles button i {
    width: 20px;
    text-align: center;
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-tab {
    padding: 10px 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: transparent;
    color: var(--gray-light);
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.filter-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

/* ============================================
   QUANTITY CONTROL
   ============================================ */
.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(28, 28, 36, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 5px;
}

.quantity-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--gold);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.quantity-control button:hover {
    background: var(--gold);
    color: var(--dark);
}

.quantity-control input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--light);
    font-size: 1rem;
    font-weight: 600;
}

.quantity-control input:focus {
    outline: none;
}

/* ============================================
   WISHLIST ITEM
   ============================================ */
.wishlist-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(28, 28, 36, 0.5);
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    border-color: rgba(212, 175, 55, 0.2);
}

.wishlist-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.wishlist-item-info {
    flex: 1;
}

.wishlist-item-info h4 {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 8px;
}

.wishlist-item-info p {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

.wishlist-item-actions {
    display: flex;
    gap: 10px;
}

.wishlist-item-actions button {
    width: 45px;
    height: 45px;
    border-radius: 12px;
}

/* ============================================
   ORDER SUMMARY
   ============================================ */
.order-summary {
    background: rgba(28, 28, 36, 0.6);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--gray-light);
    font-size: 0.95rem;
}

.summary-item.total {
    color: var(--gold);
    font-size: 1.2rem;
}

.order-summary hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 10px 0;
}

/* ============================================
   STAR RATING
   ============================================ */
.rating-stars {
    display: inline-flex;
    gap: 5px;
}

.rating-stars i {
    font-size: 1.5rem;
    color: var(--gold);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.rating-stars i:hover {
    transform: scale(1.2);
}

/* ============================================
   PRODUCT GRID ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

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

/* ============================================
   BUTTON STATES
   ============================================ */
.btn-luxury.added {
    background: var(--accent) !important;
}

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

/* ============================================
   DASHBOARD SIDEBAR
   ============================================ */
.dashboard-sidebar {
    width: 280px;
    background: var(--dark-light);
    border-left: 1px solid rgba(212, 175, 55, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.dashboard-sidebar.collapsed {
    width: 80px;
}

.dashboard-sidebar.collapsed .sidebar-text {
    display: none;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--gray-light);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.sidebar-nav a i {
    width: 20px;
    text-align: center;
}

/* ============================================
   DATA TABLE STYLES
   ============================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
    background: rgba(28, 28, 36, 0.6);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

.data-table .status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.status-badge.processing {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-badge.cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* ============================================
   CHART LOADING
   ============================================ */
.chart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--gray-light);
}

.chart-loading i {
    color: var(--gold);
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   IMAGE GALLERY
   ============================================ */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-gallery .main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

.product-gallery .thumbnails {
    display: flex;
    gap: 10px;
}

.product-gallery .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-gallery .thumbnail:hover,
.product-gallery .thumbnail.active {
    border-color: var(--gold);
}

/* ============================================
   COUPON FORM
   ============================================ */
.coupon-form {
    display: flex;
    gap: 10px;
}

.coupon-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    background: rgba(28, 28, 36, 0.6);
    color: var(--light);
    font-size: 1rem;
}

.coupon-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.coupon-form button {
    padding: 14px 25px;
    white-space: nowrap;
}

/* ============================================
   RESPONSIVE DEMO PANEL
   ============================================ */
@media (max-width: 768px) {
    .demo-mode-panel {
        bottom: 20px;
        right: 20px;
    }

    .demo-mode-toggle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .demo-mode-content {
        width: 250px;
        right: -10px;
    }

    .dashboard-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        z-index: 1000;
    }

    .dashboard-sidebar.open {
        left: 0;
    }
}
