frontend/src/index.css
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,700;1,600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Serif:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Calibri:wght@400&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  @apply leading-[normal] m-0;
}
*,
::before,
::after {
  border-width: 0;
}

a {
  color: #000000;
  text-decoration: none;
}

.app-container {
  display: flex;
  height: 100vh;
  /* Ensure full height for the layout */
}

.sidebar {
  width: 280px;
  /* Sidebar width */
  flex-shrink: 0;
  /* Prevent sidebar from shrinking */
}

.content {
  flex: 1;
  /* Take up remaining space */
  padding: 0px;
  /* Optional padding for content */
  overflow-y: auto;
  /* Allow scrolling if content overflows */
}

.loader {
  border-top-color: #3498db;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Custom animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.animate-pulse {
  animation: pulse 1.5s infinite;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* products */

/* Apply consistent padding and margin to navigation items */
nav .container {
  padding: 0 1rem;
}

/* Ensure flex container items are evenly spaced */
nav .container .flex {
  display: flex;
  justify-content: space-between;
}

/* Apply spacing and alignment to buttons */
.ant-btn {
  margin: 0 8px;
}

/* Adjust header styles for better alignment */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Make sure the PDF content is styled consistently */
#pdf-content {
  margin-top: 1rem;
}

/* Card Styles */
.card-container {
  display: flex;
  justify-content: space-around;
  margin-bottom: 16px;
}

.card {
  width: 300px;
  background: linear-gradient(135deg, #60DB19, #a5e837);
  border: 1px solid #e0e0e0; /* Light border color */
  border-radius: 16px;
  color: #000000; /* Accent color for text */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  cursor: pointer;
  text-align: center;
  padding: 24px 16px; /* Padding for content */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #4CAF50, #76e044); /* Slightly darker gradient on hover */
  color: #ffffff; /* Change text color on hover for better contrast */
}

.card .card-content {
  font-size: 2.3em; /* Increased text size */
  font-weight: bold;
  transition: color 0.3s ease; /* Smooth transition for text color */
}

.card:hover .card-content {
  color: #ffffff; /* Change text color on hover for better contrast */
}

/* Gallery item styles */
/* Masonry layout */
.masonry-layout {
  column-count: 1;
  column-gap: 1rem;
}

@media (min-width: 640px) {
  .masonry-layout {
    column-count: 2;
  }
}

@media (min-width: 768px) {
  .masonry-layout {
    column-count: 3;
  }
}

@media (min-width: 1024px) {
  .masonry-layout {
    column-count: 4;
  }
}

/* Filter button styles */
button {
  cursor: pointer;
}

button.bg-blue-500 {
  background-color: #3b82f6;
}

button.bg-gray-200 {
  background-color: #e5e7eb;
}

button.text-white {
  color: #ffffff;
}

button.text-gray-800 {
  color: #1f2937;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
  }
  to {
    transform: scale(1);
  }
}

.swal-custom-popup {
  border-radius: 15px; /* Rounded corners */
  background-color: #f8f9fa; /* Light background */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

.swal-custom-title {
  color: #1D6660; /* Title color */
  font-size: 1.5rem; /* Title font size */
  font-weight: bold; /* Title boldness */
}

.swal-custom-html {
  color: #333; /* Text color */
  font-size: 1rem; /* Text font size */
}

/* Custom styles for SweetAlert2 buttons */
.swal-confirm-button {
  background-color: #007bff; /* Bootstrap primary blue */
  color: white; /* White text color */
  border: none; /* No border */
}

.swal-cancel-button {
  background-color: #6c757d; /* Bootstrap secondary gray */
  color: white; /* White text color */
  border: none; /* No border */
}

.swal-confirm-button:hover {
  background-color: #007bff; /* Darker blue on hover */
}

.swal-cancel-button:hover {
  background-color: #5a6268; /* Darker gray on hover */
}

.mt-10 {
  margin-top: 40px;
}

/* products */
