/* ElevateWeb - Custom Styles */

[x-cloak] {
    display: none !important;
}


/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Card glow effect */
.card-glow {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
    transition: box-shadow 0.3s ease;
}

.card-glow:hover {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
}

/* Page header gradient */
.page-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #2563eb 100%);
}

/* Badge animations */
.badge-pulse {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Table row hover */
.table-row-hover:hover {
    background-color: rgba(59, 130, 246, 0.05);
}

/* Modal backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* Payment method buttons */
.payment-method {
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.payment-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.payment-method.active {
    border-color: #10B981;
    background-color: rgba(16, 185, 129, 0.1);
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in {
    animation: slideIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.2s ease forwards;
}

/* Input focus glow */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Stock badge colors */
.stock-normal {
    background-color: #10B981;
}

.stock-low {
    background-color: #EF4444;
}

.stock-high {
    background-color: #3B82F6;
}

/* Money highlight */
.money-green {
    color: #10B981;
}

.money-red {
    color: #EF4444;
}

.money-blue {
    color: #3B82F6;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Hide number input spinners globally */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Horizontal scroll without bar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.scroll-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Desktop horizontal scroll hints */
@media (min-width: 1024px) {
    .no-scrollbar:hover::-webkit-scrollbar {
        display: block;
        height: 4px;
    }
}