* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    overscroll-behavior: none;
    user-select: none;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

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

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

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

.animate-fadeIn { animation: fadeIn 0.3s ease-out; }
.animate-slideIn { animation: slideIn 0.3s ease-out; }
.animate-pulse { animation: pulse 2s infinite; }

.btn-press:active { transform: scale(0.95); }

.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    width: calc(100% - 32px);
}

.sidebar {
    width: 80px;
    background: #1f2937;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
}

.sidebar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.sidebar-icon:hover { background: #374151; color: white; }
.sidebar-icon.active { background: #EA580C; color: white; }

.cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: #EA580C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(234,88,12,0.4);
    transition: transform 0.2s;
    z-index: 50;
}

.cart-fab:hover { transform: scale(1.1); }

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc2626;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.status-chip {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-primita { background: #dbeafe; color: #1d4ed8; }
.status-acceptata { background: #fed7aa; color: #c2410c; }
.status-pregatire { background: #e9d5ff; color: #7c3aed; }
.status-gata { background: #bbf7d0; color: #15803d; }
.status-livrare { background: #ccfbf1; color: #0d9488; }
.status-livrata, .status-ridicata { background: #e5e7eb; color: #4b5563; }
.status-refuzata { background: #fecaca; color: #dc2626; }

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.input-field:focus { border-color: #EA580C; }

.btn-primary {
    background: #EA580C;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover { background: #c2410c; }
.btn-primary:disabled { background: #d1d5db; cursor: not-allowed; }

.btn-success {
    background: #16a34a;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn-success:hover { background: #15803d; }

.option-card {
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.option-card:hover { border-color: #EA580C; }
.option-card.selected { border-color: #EA580C; background: #fff7ed; }

@media (max-width: 768px) {
    .sidebar { width: 64px; }
    .sidebar-icon { width: 40px; height: 40px; }
}
