@charset "UTF-8";
body {
  background-color: #F4F7FE;
}
body.close-menu #main-wrapper .menu {
  width: 109px;
  font-size: 0px;
  transition: all 0.5s ease;
}
body.close-menu #main-wrapper .menu .toggle-menu {
  rotate: 180deg;
  transition: all 0.5s ease;
}
body.close-menu #main-wrapper .menu > #logo {
  display: block;
}
body.close-menu #main-wrapper .menu > img {
  display: none;
}
body.close-menu #main-wrapper .menu ul li .type-user {
  font-size: 0px;
}
body #main-wrapper {
  color: #64748B;
  height: 100vh;
  max-width: 1920px;
}
body #main-wrapper > .menu {
  background-color: #FFFFFF;
  width: 296px;
  transition: all 0.5s ease;
}
body #main-wrapper > .menu .toggle-menu {
  box-shadow: 1px 2px 4px 0px rgba(0, 0, 0, 0.2509803922);
  height: 24px;
  width: 24px;
  right: -0.75rem;
  background-color: #FFFFFF;
  transition: all 0.5s ease;
}
body #main-wrapper > .menu .divider {
  height: 1px;
  width: 100%;
  border: 1px solid #EEF2FF;
}
body #main-wrapper > .menu ul li {
  border-radius: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}
body #main-wrapper > .menu ul li a {
  padding: 0.75rem;
  font-weight: 500;
}
body #main-wrapper > .menu ul li svg {
  flex: 0 0 20px;
}
body #main-wrapper > .menu ul li .type-user {
  color: #A3AED0;
  font-size: 12px;
  font-weight: 600;
}
body #main-wrapper > .menu ul li img {
  border-radius: 100%;
}
body #main-wrapper > .menu ul li.selected, body #main-wrapper > .menu ul li.active {
  background-color: #EEF2FF;
  color: #4318FF;
}
body #main-wrapper > .menu ul li.selected path, body #main-wrapper > .menu ul li.active path {
  fill: #4318FF;
}
body #main-wrapper > .menu ul li:hover {
  background-color: #EEF2FF;
  color: #4318FF;
}
body #main-wrapper > .menu ul li:hover path {
  fill: #4318FF;
}
body #main-wrapper .page-wrapper h1 {
  color: #110643;
  font-weight: 700;
  font-size: 34px;
}
body #main-wrapper .page-wrapper .breadcrumb {
  color: #64748B;
  font-weight: 500;
  font-size: 14px;
}
body #main-wrapper .page-wrapper .pbm-configs, body #main-wrapper .page-wrapper .integration-configs {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
body #main-wrapper .page-wrapper .pbm-configs .item, body #main-wrapper .page-wrapper .integration-configs .item {
  background-color: #FFFFFF;
  border-radius: 1rem;
  border: 1px solid #EEF2FF;
  cursor: pointer;
}
body #main-wrapper .page-wrapper .pbm-configs .item .card-image, body #main-wrapper .page-wrapper .integration-configs .item .card-image {
  overflow: hidden;
  height: 205px;
  border-radius: 1rem;
  border: 1px solid #EEF2FF;
}
body #main-wrapper .page-wrapper .pbm-configs .item .card-image img, body #main-wrapper .page-wrapper .integration-configs .item .card-image img {
  max-width: 90%;
}
body #main-wrapper .page-wrapper .pbm-configs .item .card-text, body #main-wrapper .page-wrapper .integration-configs .item .card-text {
  color: #A3AED0;
  font-weight: 500;
  min-height: 48px;
}
body #main-wrapper .page-wrapper .profile, body #main-wrapper .page-wrapper .edit-pbm-config {
  background-color: #FFFFFF;
  border-radius: 1rem;
  border: 1px solid #EEF2FF;
}
body #main-wrapper .page-wrapper .profile .grid, body #main-wrapper .page-wrapper .edit-pbm-config .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body #main-wrapper .page-wrapper .profile .grid .form-group, body #main-wrapper .page-wrapper .edit-pbm-config .grid .form-group {
  grid-column: span 1;
}
body #main-wrapper .page-wrapper .profile .grid .form-group.btn-form, body #main-wrapper .page-wrapper .edit-pbm-config .grid .form-group.btn-form {
  grid-column: span 2;
}
body #main-wrapper .page-wrapper .profile .grid .form-group label, body #main-wrapper .page-wrapper .edit-pbm-config .grid .form-group label {
  color: #110643;
  font-weight: 500;
}
body #main-wrapper .page-wrapper .profile .grid .form-group.reason, body #main-wrapper .page-wrapper .profile .grid .form-group.comment, body #main-wrapper .page-wrapper .edit-pbm-config .grid .form-group.reason, body #main-wrapper .page-wrapper .edit-pbm-config .grid .form-group.comment {
  grid-column: span 2;
}
body #main-wrapper .page-wrapper .profile .grid-image, body #main-wrapper .page-wrapper .edit-pbm-config .grid-image {
  flex: 0 0 120px;
}
body #main-wrapper .page-wrapper .profile .grid-image img, body #main-wrapper .page-wrapper .edit-pbm-config .grid-image img {
  border-radius: 100%;
}
body #main-wrapper .page-wrapper #btn-wizard {
  max-width: 300px;
  height: fit-content;
  justify-content: center;
}
body #main-wrapper .page-wrapper .filter-box {
  border-radius: 1rem;
  border-right: 1px solid #EEF2FF;
}
body #main-wrapper .page-wrapper .filter-box label {
  flex: 0 0 104px;
  border-right: 1px solid #EEF2FF;
  padding-right: 0.5rem;
  color: #A3AED0;
}
body #main-wrapper .page-wrapper .filter-box select {
  color: #4318FF;
  font-weight: 500;
  padding-left: 0.5rem;
  transition: all 0.3s ease;
  padding-right: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-top: 0.75rem;
}
body #main-wrapper .page-wrapper .filter-box select option {
  cursor: pointer;
}
body #main-wrapper .page-wrapper .filter-box > svg {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  pointer-events: none;
}
body #main-wrapper .page-wrapper .sort-box {
  background: white;
  border-radius: 1rem;
  border: 1px solid #EEF2FF;
  color: #A3AED0;
  transition: all 0.3s ease;
}
body #main-wrapper .page-wrapper .sort-box select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 30px;
  padding-left: 0.5rem;
  padding-top: 0.75rem;
}
body #main-wrapper .page-wrapper .sort-box select option {
  cursor: pointer;
}
body #main-wrapper .page-wrapper .sort-box svg {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  pointer-events: none;
}
body #main-wrapper .page-wrapper #btn-search {
  max-width: 100px;
  padding: 9px;
}
body .login-register {
  margin-left: auto;
}
body .login-register .login-box {
  padding: 4rem 1rem;
}
body .login-register .login-box h2, body .login-register .login-box h3, body .login-register .login-box h4, body .login-register .login-box h5, body .login-register .login-box h6, body .login-register .login-box label, body .login-register .login-box .btn-recovery {
  color: var(--color-primary);
}
body .login-register .login-box h1 {
  font-size: 34px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 44px;
}
body .login-register .login-box p {
  line-height: 1rem;
}
body .login-register .login-image {
  height: 100vh;
  width: auto;
  object-fit: cover;
}
body .login-register .btn-info {
  margin-top: 2rem;
}
body table {
  border-radius: 1rem;
  background-color: #FFFFFF;
  border: 1px solid #EEF2FF;
  border-spacing: 8px;
  border-collapse: separate;
}
body table thead tr th {
  color: #64748B;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-right: 1px solid #EEF2FF;
  text-align: left;
  border-bottom: 1px solid #EEF2FF;
}
body table thead tr th:last-child {
  border-right: none;
}
body table tbody tr {
  border-top: 1px solid #EEF2FF;
  border-bottom: 1px solid #EEF2FF;
}
body table tbody tr td {
  color: #64748B;
  font-weight: 500;
  font-size: 14px;
  padding: 12px;
  border-right: 1px solid #EEF2FF;
}
body table tbody tr td:last-child {
  border-right: none;
}
body .pagination {
  background-color: #FFFFFF;
  border-radius: 1rem;
  border: 1px solid #EEF2FF;
}
body .pagination a {
  color: #64748B;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}
body .pagination a.active, body .pagination a:hover {
  color: #FFFFFF;
  background-color: #4318FF;
}

main.product .search-filter select {
  border-radius: 1rem;
  padding: 12px;
  border: 1px solid #EEF2FF;
}

@media screen and (min-width: 768px) {
  .login-register {
    justify-content: flex-end;
    padding: 0;
  }
  .login-register .login-box {
    max-width: 650px;
    padding: 4rem;
  }
  .login-register .login-box .card-body {
    min-width: 360px;
    margin-right: 6rem;
  }
  body #main-wrapper .page-wrapper .pbm-configs, body #main-wrapper .page-wrapper .integration-configs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (min-width: 1024px) {
  body #main-wrapper .page-wrapper .pbm-configs, body #main-wrapper .page-wrapper .integration-configs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (min-width: 1536px) {
  body #main-wrapper .page-wrapper .pbm-configs, body #main-wrapper .page-wrapper .integration-configs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
body.pbmconfigs .page-titles .btn {
  max-width: 200px;
  justify-content: center;
}
body.CreatePbm #form-new-pbm-config, body.CreatePbm #dynamic-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.CreatePbm #dynamic-settings {
  grid-column: 2 span;
  gap: 1rem;
}
body.CreatePbm #dynamic-settings h5 {
  grid-column: 2 span;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

#search {
  width: 100%;
  min-width: 500px;
  padding: 12px 16px;
  padding-right: 90px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #374151;
  background: white;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#search::placeholder {
  color: #9ca3af;
}

#btn-search {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 16px;
  background: var(--color-background);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
}
#btn-search:hover {
  background: #2563eb;
  transform: translateY(-50%) scale(1.02);
}
#btn-search:active {
  transform: translateY(-50%) scale(0.98);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .search-filter {
    gap: 16px;
  }
  #search {
    min-width: 400px;
  }
  .filter form {
    width: 350px;
  }
}
@media (max-width: 768px) {
  .search-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  #search {
    min-width: auto;
    width: 100%;
  }
  .file-upload,
  .btn-primary,
  #btn-filter {
    width: 100%;
    justify-content: center;
  }
  .filter form {
    width: 100%;
    max-width: 400px;
    right: -100%;
    border-radius: 0;
    height: 100vh;
    top: 0;
    max-height: none;
  }
  .filter .header {
    border-radius: 0;
  }
  body.open .filter form {
    right: 0;
  }
}
@media (max-width: 480px) {
  .filter form {
    max-width: none;
    width: 100vw;
  }
  .filter .body {
    padding: 16px;
  }
  .filter .header {
    padding: 16px 20px;
  }
  .lvl-1 > label {
    padding: 14px 16px;
  }
  .filters {
    padding: 16px;
  }
  .lvl-1.open .filters {
    padding: 16px;
  }
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(3px);
  }
}
.modal-content {
  background-color: white;
  margin: 2% auto;
  padding: 0;
  border-radius: 16px;
  width: 95%;
  max-width: 1400px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.modal-header {
  padding: 28px 32px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px 16px 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.2;
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal .close {
  color: #6b7280;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e5e7eb;
  line-height: 1;
  user-select: none;
}

.modal .close:hover {
  color: #374151;
  background: white;
  border-color: #d1d5db;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal .close:active {
  transform: scale(0.95);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  max-height: calc(90vh - 120px);
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.loading {
  text-align: center;
  padding: 60px 40px;
  color: #6b7280;
}

.loading p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #4b5563;
}

.spinner {
  border: 4px solid #f3f4f6;
  border-top: 4px solid var(--color-background);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.product-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.info-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.info-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-background), #8b5cf6, #06b6d4);
  border-radius: 12px 12px 0 0;
}

.info-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.info-section.full-width {
  grid-column: 1/-1;
}

.info-section h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 12px;
  position: relative;
}

.info-section h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-background), #8b5cf6);
  border-radius: 1px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: all 0.2s ease;
}

.info-row:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.info-row:hover {
  background: rgba(248, 250, 252, 0.6);
  margin: 0 -12px 16px;
  padding: 12px;
  border-radius: 8px;
}

.info-row:last-child:hover {
  margin-bottom: -12px;
}

.info-row label {
  font-weight: 600;
  color: #374151;
  margin-right: 20px;
  min-width: 160px;
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.5;
}

.info-row span {
  color: #6b7280;
  text-align: right;
  flex: 1;
  word-break: break-word;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.badge, .label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.badge-promotion-0 {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  color: #7c3aed;
  border: 1px solid #d8b4fe;
}

.badge-promotion-1 {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.badge-promotion-2, .label-success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
  border: 1px solid #6ee7b7;
}

.badge-discount-P, .label-info {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}

.badge-discount-V, .label-warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
  border: 1px solid #fcd34d;
}

.badge-required, .label-danger {
  background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
  color: #dc2626;
  border: 1px solid #f87171;
}

.badge-not-required {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #16a34a;
  border: 1px solid #86efac;
}

.code {
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid #d1d5db;
  color: #374151;
  word-break: break-all;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.discount-value {
  font-weight: 700;
  color: #dc2626;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(220, 38, 38, 0.1);
}

.provider-info {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.provider-info img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.eans-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ean-item {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #3730a3;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-weight: 600;
  border: 1px solid #a5b4fc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.ean-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #c7d2fe 0%, #a5b4fc 100%);
}

.image-link {
  color: var(--color-background);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-block;
}

.image-link:hover {
  color: #2563eb;
  background: #f0f9ff;
  text-decoration: underline;
  transform: translateY(-1px);
}

.informative-message {
  font-style: italic;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
  color: #92400e;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.error-message {
  text-align: center;
  padding: 60px 40px;
  color: #dc2626;
}

.error-message svg {
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.1));
}

.error-message p {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  color: #991b1b;
}

@media (max-width: 1200px) {
  .modal-content {
    max-width: 95%;
    margin: 3% auto;
  }
  .product-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .modal-content {
    width: 98%;
    max-width: none;
    margin: 1% auto;
    max-height: 95vh;
    border-radius: 12px;
  }
  .modal-header {
    padding: 20px 24px;
  }
  .modal-header h2 {
    font-size: 24px;
  }
  .modal-body {
    padding: 24px 20px;
    max-height: calc(95vh - 100px);
  }
  .product-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .info-section {
    padding: 20px;
  }
  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .info-row label {
    min-width: auto;
    margin-right: 0;
    margin-bottom: 4px;
  }
  .info-row span {
    text-align: left;
  }
  .provider-info {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .modal-content {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
  }
  .modal-header {
    padding: 16px 20px;
    border-radius: 0;
  }
  .modal-header h2 {
    font-size: 20px;
  }
  .modal .close {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .modal-body {
    padding: 20px 16px;
    max-height: calc(100vh - 80px);
  }
  .info-section {
    padding: 16px;
    border-radius: 8px;
  }
  .info-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .eans-list {
    gap: 8px;
  }
  .ean-item {
    font-size: 11px;
    padding: 4px 8px;
  }
}
.modal.closing {
  animation: modalFadeOut 0.2s ease-in forwards;
}

.modal.closing .modal-content {
  animation: modalSlideOut 0.2s ease-in forwards;
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
    backdrop-filter: blur(3px);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
}
@keyframes modalSlideOut {
  from {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
}
.modal:focus-within {
  outline: none;
}

.modal .close:focus {
  outline: 2px solid var(--color-background);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal-content,
  .spinner,
  .info-section,
  .badge,
  .ean-item {
    animation: none;
    transition: none;
  }
}
/* Estilos originais mantidos */
body #main-wrapper .page-wrapper .filter-box {
  background-color: white;
  border: 1px solid #EEF2FF;
  padding: 0 0.75rem;
}

body #main-wrapper .page-wrapper .filter-box select {
  border: none;
  background-color: transparent;
}

body #main-wrapper .page-wrapper .filter-box select:focus,
body #main-wrapper .page-wrapper .filter-box select:focus-visible {
  outline: none;
}

*::-webkit-scrollbar {
  width: 5px;
}

*::-webkit-scrollbar-track {
  background-color: #ebebeb;
  border-radius: 8px;
}

*::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(68, 68, 68, 0.2);
  height: 40px;
}

/* 🔥 Novos estilos para filtros avançados */
.lvl-1 {
  gap: 0;
}

.lvl-1 > label {
  cursor: pointer;
  color: var(--color-primary);
  font-weight: 500;
  padding: 0.5rem 0;
}

.lvl-1 > label svg {
  transition: all 0.3s ease;
}

.lvl-1 .filters {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  padding: 0;
  opacity: 0;
}

.lvl-1 .filters input,
.lvl-1 .filters select {
  height: auto;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.25rem;
}

.lvl-1.open {
  gap: 0.5rem;
}

.lvl-1.open > label {
  color: #A3AED0;
}

.lvl-1.open > label svg {
  transform: rotate(180deg);
}

.lvl-1.open .filters {
  max-height: 500px;
  opacity: 1;
  padding: 10px;
}

.filter form {
  background: white;
  position: fixed;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  visibility: visible;
  z-index: 33;
  right: -100%;
  opacity: 1;
  width: 350px;
  height: 600px;
  top: 4rem;
  padding: 0;
}

.filter form .body {
  overflow-y: auto;
  transition: all 0.2s ease-in-out;
  padding: 1rem;
}

.filter form .header {
  padding: 1rem 1rem 0 1rem;
}

body.open .filter form {
  right: 12px;
}

/* 🔥 Novos estilos para tabela */
.provider-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.provider-funcionalmais {
  background: #e0f2fe;
  color: #0277bd;
}

.provider-epharma {
  background: #ffebee;
  color: #c62828;
}

.provider-interplayers {
  background: #f3e5f5;
  color: #7b1fa2;
}

.active-filters {
  margin-bottom: 1rem;
}

.filter-pill {
  background: #4318FF;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-pill button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1rem;
}

/* Estatísticas */
.stats-summary {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

/* Menu de ações */
.actions-menu {
  position: relative;
  display: inline-block;
}

.btn-action {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background 0.2s;
}

.btn-action:hover {
  background: #f1f5f9;
}

.action-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-width: 110px;
  z-index: 10;
  display: none;
}

.action-dropdown.show {
  display: block;
}

.action-dropdown a {
  display: block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: #374151;
  transition: background 0.2s;
}

.action-dropdown a:hover {
  background: #f9fafb;
}

.actions {
  padding: 1rem;
  border-top: 1px solid #e2e8f0;
}

.btn-clear {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-clear:hover {
  background: #e2e8f0;
}

.btn-filter {
  background: #4318FF;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-filter:hover {
  background: #3311dd;
}

.btn-stats {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-stats:hover {
  background: #f1f5f9;
}

.filter-count {
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  right: -8px;
}
