*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  background-color: #fffdf8;
  font-family: 'Montserrat', sans-serif;
}

input[type="radio"] {
    appearance: none;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
}

input[type="radio"]:checked,
input[type="radio"]:active,
input[type="radio"]:focus {
    background: var(--color-primary);
}

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; /* For Firefox */
}

.hidden-for-animation {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: opacity 1s ease 100ms, transform 1s ease 100ms, filter 1s ease 100ms;
}

.hidden-for-animation.inverse {
  transform: translateX(100%);
}

.show-for-animation {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}


.hidden-for-animation.inverse.show-for-animation  {
  transform: translateX(0);
}


body {
    font-family: 'Inter', sans-serif;
    color: #333;
    /* background-color: #f8f9fa; */
    scroll-behavior: smooth;
}

.product-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    /* Shadow moved to end of file */
}

.product-card:hover {
    transform: translateY(-5px);
    /* Shadow moved to end of file */
}

.swiper-button-next,
.swiper-button-prev {
    color: #4f46e5 !important;
}

.stars {
    display: inline-block;
    font-size: 1rem;
    color: #ffc107;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

    100% {
        background-position: 200% 0;
    }
}

.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0%);
}

.dashboard-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    /* Shadow moved to end of file */
}

.dashboard-card:hover {
    transform: translateY(-3px);
    /* Shadow moved to end of file */
}

.gradient-header {
    /* background: linear-gradient(135deg, #4f46e5, #8b5cf6); */
}

.sidebar-link {
    transition: all 0.2s ease;
    border-radius: 8px;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(79, 70, 229, 0.1);
}

.stat-card {
    border-left: 4px solid #4f46e5;
}

.progress-bar {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #8b5cf6);
    border-radius: 4px;
}

.chart-container {
    height: 250px;
    position: relative;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #830606;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    z-index: 10;
}

.file-upload {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

.filterDiv {
    display: none;
}

.show {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.active-filter {
    /* background-color: var(--color-light); */
    border-left: 4px solid var(--color-primary);
    padding-left: 12px;
    transition: all 0.3s ease;
}

.active-filter span {
    color: var(--color-primary);
    font-weight: 600;
}

.clear-filters {
    background-color: #f8fafc;
    color: #64748b;
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background-color: #e2e8f0;
    color: var(--color-dark);
}

.mobile-filter-btn {
    background-color: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.mobile-filter-btn:hover {
    background-color: #f8fafc;
}

.filter-section {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.filter-section:last-child {
    border-bottom: none;
}

.initial-load {
    animation: initialFadeIn 1s forwards;
}

@keyframes initialFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.paginator-link {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 8px;
    /* color: #4f46e5;
    background: #f1f5f9; */
    font-weight: 500;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.05);
    /* border: none; */
    margin: 0 2px;
}

.paginator-link:hover {
    /* background: #e0e7ff;
    color: #3730a3; */
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.10);
}

.paginator-active {
    /* background: #4f46e5;
    color: #fff !important; */
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
    cursor: default;
    pointer-events: none;
}
/* Carousel shadows */
.carousel-cell > div,
.carousel-cell a {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.carousel-cell > div:hover,
.carousel-cell a:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Filter container shadow */
.lg\:w-1\/4 > div {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

/* General small shadows for white containers */
.bg-white {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Product cards - update to smaller default shadow */
.product-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.product-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12) !important;
}

/* Dashboard cards - smaller shadow */
.dashboard-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dashboard-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}
