#portal {
  position: fixed;
  top: 0;
}

html {
  /* set base font size to 13px */
  font-size: 50.782% !important;
}

body {
  color: var(--mu-colors-foreground-text-neutral-plain) !important;
  overscroll-behavior-y: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  scrollbar-width: none;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}

.animate-copy {
  animation: pulse 0.2s;
  transition: all 0.2s;
}

.remove-icon-background svg {
  background: none !important;
}

.remove-content-padding-top .MuiCardContent-root {
  padding-top: 0 !important;
}

[id*="ScrollableDialog"] .infinite-scroll-component {
  overflow: hidden !important;
}

/* 
  TODO: Remove it when macaw will handle media queries in custom properties
  https://github.com/saleor/macaw-ui/issues/498
*/
@media screen and (max-width: 1024px) {
  .mobile-full-height {
    height: auto !important;
  }
}

[data-portal-for="category-list"] > ul > li {
  display: block;
}

[data-portal-for="category-list"] & li > span {
  display: inline;
}

.noBorder {
  border: none;
}

.conditional-metadata label {
  border: none;
}

.scrollArea {
  max-height: calc(100vh - 400px);
}

@media (min-height: 900px) {
  .scrollArea {
    max-height: 600px;
  }
}
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Modal Container */
.DashboardModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.DashboardModal__Content {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  width: 900px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

/* Sidebar Menu */
.sidebar-menu {
  width: 200px;
  background: #f8f9fa;
  border-right: 1px solid #e0e0e0;
  padding: 16px 0;
}

.menu-item {
  all: unset;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  margin: 2px 8px;
  color: #666666;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-align: left;
  border-left: 3px solid transparent;
}

.menu-item:hover {
  background-color: #f0f0f0;
  color: #333333;
  transform: translateX(2px);
}

.menu-item:focus-visible {
  outline: 2px solid #333333;
  outline-offset: 2px;
}

.menu-item.active {
  background: #333333;
  color: #ffffff;
  font-weight: 600;
  border-left-color: #000000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-item.active::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #ffffff;
}

.print-side-tab-list {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #d1d5db; /* Đường viền dưới màu xám nhạt */
  padding-bottom: 8px;
}

.print-side-tab-trigger {
  background-color: transparent;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  font-weight: 500;
  color: #6b7280; /* Xám trung tính */
  transition:
    color 0.2s,
    background-color 0.2s;
}

.print-side-tab-trigger:hover {
  color: #111827; /* Gần như đen */
  background-color: #f3f4f6; /* Xám sáng */
}

.print-side-tab-trigger[data-state="active"] {
  color: #111827; /* Đen đậm */
  border-bottom: 2px solid #111827; /* Viền đậm */
  background-color: #ffffff; /* Nền trắng */
}

.print-side-tab-content {
  outline: none;
}

/* Main Content Area */
.main-content {
  flex: 1;
  padding: 24px;
  background: #ffffff;
  overflow-y: auto;
}

.main-content h2 {
  color: #000000;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.main-content h3 {
  color: #333333;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.main-content p {
  color: #666666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.main-content .highlight {
  color: #000000;
  font-weight: 600;
}

/* Design Content Grid */
.design-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #d1d5db;
  border-radius: 0.5rem;
  padding: 2rem;
  transition: all 0.3s;
  cursor: pointer;
}

.upload-container img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.upload-icon {
  font-size: 2rem;
  color: #6b7280;
}

.upload-title {
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  margin-top: 0.5rem;
}

.upload-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Radio Options */
.radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 1rem;
  transition: all 0.3s;
}

.radio-option.active {
  background-color: #f0f9ff;
  border-color: #3b82f6;
}

.radio-title {
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

.radio-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Color Quantity Input */
.color-quantity-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.color-quantity-input:focus {
  outline: none;
  border-color: #333333;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Additional Services */
.additional-services {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox-input {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.checkbox-input:hover {
  background-color: #f0f9ff;
}

.checkbox-title {
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar-menu {
    display: none; /* Hide sidebar on small screens */
  }

  .main-content {
    padding: 16px;
  }
}
.daypicker-selected {
  background-color: black;
  color: white !important;
  font-weight: bold;
  border-radius: 12px;
}