/* Premium POS Design */

/* POS Background */
.min-h-screen.bg-gradient-to-br {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* POS Header */
.bg-slate-800\/50 {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

.bg-slate-800\/50 * {
    color: #1a1f36 !important;
}

/* Product Cards */
.product-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(102, 126, 234, 0.2) !important;
    transition: all 0.3s ease !important;
}

.product-card:hover {
    transform: translateY(-5px) scale(1.05) !important;
    border-color: #667eea !important;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3) !important;
}

.product-card * {
    color: #1a1f36 !important;
}

/* Cart Section */
#cart-items .bg-slate-700\/50 {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
}

#cart-items * {
    color: #1a1f36 !important;
}

/* Buttons in POS */
.bg-emerald-600 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}

.bg-emerald-600:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6) !important;
}

.bg-amber-600 {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
}

.bg-amber-600:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6) !important;
}

.bg-red-600 {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4) !important;
}

.bg-red-600:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6) !important;
}

/* Small Buttons */
.bg-emerald-500\/20, .bg-amber-500\/20, .bg-red-500\/20,
.bg-indigo-500\/20, .bg-purple-500\/20 {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
}

.bg-emerald-500\/20 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2)) !important;
    border: 2px solid #10b981 !important;
    color: #059669 !important;
}

.bg-emerald-500\/20:hover {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.bg-amber-500\/20 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2)) !important;
    border: 2px solid #f59e0b !important;
    color: #d97706 !important;
}

.bg-amber-500\/20:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.bg-red-500\/20 {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2)) !important;
    border: 2px solid #ef4444 !important;
    color: #dc2626 !important;
}

.bg-red-500\/20:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.bg-indigo-500\/20 {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(79, 70, 229, 0.2)) !important;
    border: 2px solid #6366f1 !important;
    color: #4f46e5 !important;
}

.bg-indigo-500\/20:hover {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.bg-purple-500\/20 {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(147, 51, 234, 0.2)) !important;
    border: 2px solid #a855f7 !important;
    color: #9333ea !important;
}

.bg-purple-500\/20:hover {
    background: linear-gradient(135deg, #a855f7, #9333ea) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

/* Input Fields */
.bg-slate-700 {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(102, 126, 234, 0.2) !important;
    color: #1a1f36 !important;
}

.bg-slate-700:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* Modals */
.bg-slate-800.border {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
}

.bg-slate-800.border * {
    color: #1a1f36 !important;
}

/* Text Colors Override */
.text-slate-100, .text-slate-300, .text-slate-400 {
    color: #1a1f36 !important;
}

.text-emerald-400 {
    color: #10b981 !important;
    font-weight: 700 !important;
}

/* Action Buttons Container */
.space-y-3 button[type="button"] {
    width: 100% !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

/* Complete Sale Button */
button[onclick*="submitPOS('final', 'print')"] {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}

button[onclick*="submitPOS('final', 'print')"]:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6) !important;
}

/* Complete Sale (No Print) */
button[onclick*="submitPOS('final', 'none')"] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

button[onclick*="submitPOS('final', 'none')"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6) !important;
}

/* Hold Sale Button */
button[onclick*="submitPOS('hold', 'none')"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
}

button[onclick*="submitPOS('hold', 'none')"]:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6) !important;
}

/* Clear Cart Button */
button[onclick="clearCart()"] {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4) !important;
}

button[onclick="clearCart()"]:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6) !important;
}