:root {
  --primary-color: #D22630;
  --secondary-color: #3e042d;
  --dark-900: #200418;
  --dark-800: #4b0132;
  --dark-700: #310923;
  --light-700: #5a053e;
  --light-600: #740c4a;
  --grey-400: #d3d3d3;
}
img {
  max-width: 100%;
}
body {
  font-family: "Poppins", sans-serif;
}
.form-control,
.form-select {
  border-radius: 50px;
}
.form-control:focus {
  box-shadow: none;
}
.auth-wrapper {
  min-height: 100dvh;
  display: flex;
  position: relative;
}
.btn-dark {
  background: var(--dark-800) !important;
  border-color: var(--dark-900) !important;
}
.btn-dark:hover {
  background: var(--dark-800) !important;
}

.auth-pic {
  width: 65%;
}
.auth-pic img {
  width: 100%;
  object-fit: cover;
  height: 100dvh;
}
.login-logo {
  padding-bottom: 50px;
}
.auth-form {
  width: 35%;
  flex-shrink: 0;
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-form .form-control {
  padding: 15px;
  border-radius: 50px;
}
.btn-danger {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-outline-danger {
  border-color: var(--primary-color) !important;
}
.btn-outline-danger:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-outline-download {
  background: rgb(234, 232, 232) !important;
  border-color: rgb(104, 104, 104) !important;
  color: rgb(57, 55, 55) !important;
}

.btn-outline-download:hover {
  background: black !important;
  border-color: black !important;
  color: #fff !important;
}

.dropdown-item.active,
.dropdown-item:active {
  background: var(--primary-color) !important;
}
.auth-link {
  color: var(--primary-color);
  text-decoration: none;
}
.auth-link:hover {
  text-decoration: underline;
}
.btn {
  border-radius: 50px;
  padding: 15px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
}

/* Medium size button */
.btn.btn-md {
  padding: 10px 20px;
  min-height: 48px;
  font-size: 16px;
}

/* Small size button */
.btn.btn-sm {
  padding: 8px 15px;
  min-height: 38px;
  font-size: 14px;
}

.btn.btn-action {
  background: none;
  border: none;
  padding: 6px;
}

body {
  background: #fbfbfb;
}
.logo-panel {
  background: var(--grey-400);
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 5px solid var(--dark-800);
  border-top: 5px solid #000;
}
.top-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}
.top-navbar .navbar-brand {
  font-weight: 700;
  color: #fff;
}
.top-navbar .navbar-brand img {
  max-height: 50px;
}
.top-navbar .bg-body-tertiary {
  background: var(--primary-color) !important;
  box-shadow: 0px 15px 10px -15px rgba(0, 0, 0, 0.12);
}
.top-navbar .bg-body-tertiary .nav-link {
  color: #fff;
  font-size: 15px;
}
.top-navbar .container-fluid,
.main-content-wrapper .container-fluid {
  max-width: 96%;
}

.main-content-wrapper {
  min-height: calc(100dvh - 185px);
  padding-top: 10px;
  padding-bottom: 20px;
  padding-left: 30px;
  padding-right: 30px;
}

.main-content-box {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  position: relative;
}

.main-content-box::before {
  content: "";
  width: 10px;
  height: 50px;
  border-radius: 0 15px 15px 0;
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
  background: var(--light-700);
}
.content-packed {
  padding: 1.2rem;
  border: rgb(226, 226, 226) 1px solid;
  border-radius: 10px;
}

.header-fixed > thead > tr > th {
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 15px;
}
.header-fixed > tbody > tr > td {
  font-size: 14px;
  padding: 15px;
  color: #181818;
}
.header-fixed > tbody > tr > td a {
  color: var(--primary-color);
}
.table-striped-theme > tbody > tr:nth-of-type(even) > * {
  background: #f7fafc !important;
  background-color: #f7fafc !important;
}
.header-fixed-table {
  overflow-y: auto;
}
.profile-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid #bfbfbf;
}
.profile-avatar a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.profile-avatar a::after {
  display: none;
}
.profile-avatar a span {
  color: #222;
  text-decoration: none;
  font-weight: 600;
}
.top-heading {
  position: relative;
}
.bell-icon {
  position: relative;
}
.bell-icon img {
  width: 30px;
}
.bell-icon span {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: -5px;
  right: -5px;
  border-radius: 100px;
  cursor: pointer;
}
.navbar-toggler {
  border: none;
}
.navbar-toggler-icon {
  filter: brightness(200);
}
.top-heading::before {
  content: "";
  width: 10px;
  height: 50px;
  border-radius: 0 15px 15px 0;
  display: block;
  position: absolute;
  top: -10px;
  left: -20px;
  background: var(--light-700);
}
.table.table.table-striped-theme.header-fixed thead th {
  position: sticky;
  top: 0;
  z-index: 10;
}
.table.table.table-striped-theme.header-fixed thead th:first-child {
  border-radius: 15px 0 0 0;
}
.table.table.table-striped-theme.header-fixed thead th:last-child {
  border-radius: 0 15px 0 0;
}
/* .pagination{
    gap: 10px;
}
.pagination .page-link{
    border-radius: 100px !important;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #222;
}
.pagination .page-link.active{
    background: var(--dark-800);
    color: #fff;
    border-color: var(--dark-800);
} */

.footer {
  text-align: center !important;
  background: #fff;
  padding: 20px;
  border-top: 1px solid #dfdfdf;
}
.footer p {
  font-size: 13px;
  color: #222;
  margin-bottom: 0;
}
.auth-footer {
  background: transparent;
  border: none;
}
.delete {
  background: url("../images/delete.svg") no-repeat 0 0;
  background-size: contain;
  width: 24px;
  height: 24px;
  display: block;
}

.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  transform: scale(0.85) translateY(-17px) translateX(0.15rem);
  background: #fff;
  margin-left: 10px;
  height: auto;
  padding: 5px 10px;
}
.form-floating > .form-control-plaintext:focus,
.form-floating > .form-control-plaintext:not(:placeholder-shown),
.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
  padding-top: 0.625rem;
  padding-left: 20px;
}

.form-floating > .form-select {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
sup {
  color: var(--primary-color);
}
.form-control[type="file"]:not(:disabled):not([readonly]) {
  padding-top: 1.1rem;
}
.date-flds .form-control {
  min-height: 41px;
}
.th-crv {
  border-radius: 15px 15px 0 0 !important;
}

@media (max-width: 767px) {
  .auth-pic {
    display: none;
  }
  .auth-form {
    width: 100%;
  }
  .auth-inner-wrapper .auth-form {
    padding: 50px 20px;
  }
  .top-heading {
    flex-direction: column;
  }
  .w-100-mob {
    width: 100%;
  }
  .navbar-collapse {
    flex-grow: 1;
    flex-basis: 100%;
    align-items: center;
    position: absolute;
    top: 54px;
    background: var(--dark-900);
    padding: 0;
    left: 0;
    right: 0;
    padding: 20px;
  }
  .right-buttons-panel,
  .date-flds {
    flex-direction: column;
  }
  .mob-col {
    flex-direction: column !important;
  }
}

.form-select-container {
  margin-top: 0.5rem;
}

.form-select-container .form-select__control {
  min-height: 48px;
  border-radius: 50px;
  border: 1px solid #ced4da;
}

.form-select__menu {
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999 !important;
}
.form-select-container .form-select__control--is-focused {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-select-container .form-select__placeholder {
  color: #6c757d;
}

.form-select-container .form-select__input-container {
  margin: 0;
  padding: 0;
}

.form-select-container .form-select__value-container {
  padding: 8px 16px;
}

.floating-select-label {
  color: #6c757d;
  z-index: 1000;
  transform: scale(0.85) translateY(-4.5rem) translateX(0.15rem);
  background-color: white;
  padding: 0 0.5rem;
}

.red-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  box-sizing: border-box;
  border: 2px solid #a3a3a3;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  outline: none;
  background-color: #fff;
  /* transition: all 0.3s ease; Smooth transition */
}

.red-checkbox:checked {
  background-color: #D22630;
  border-color: #D22630;
  box-shadow: 0 0 6px rgba(0, 102, 255, 0.4), 0 0 12px rgba(0, 102, 255, 0.3),
    0 0 18px rgba(0, 102, 255, 0.2); /* Glowing effect */
}

.red-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rdt_TableBody a,
.rdt_TableBody a.text-primary {
  color: var(--primary-color);
}

.rdt_TableBody a.text-primary {
  color: var(--primary-color) !important;
}
.btn {
  min-height: 48px;
}

.form-control,
.form-select {
  min-height: 48px;
}

.button:hover:text-primary {
  background: none;
  border: none;
}

/* Modal Styles - Global */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.app-modal-container {
  width: 100%;
  max-width: 28rem; /* max-w-md */
  border-radius: 0.5rem;
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dark .app-modal-container {
  background-color: #1e2a39;
}

.app-modal-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.app-modal-close-btn {
  color: #6b7280;
  border: none;
  background: none;
  padding: 0;
}

.app-modal-close-btn:hover {
  color: #374151;
}

.app-modal-input-group {
  margin-bottom: 1.125rem;
}

.app-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.app-modal-cancel-btn {
  border-radius: 0.25rem;
  border-width: thin;
  background-color: #e5e7eb;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
}

.app-modal-cancel-btn:hover {
  background-color: #d1d5db;
}

.dark .app-modal-cancel-btn {
  background-color: #4b5563;
  color: white;
}

.dark .app-modal-cancel-btn:hover {
  background-color: #6b7280;
}

.app-modal-submit-btn {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 0.375rem;
  border-width: thin;
  display: flex;
  align-items: center;
  min-width: 5rem;
  justify-content: center;
}

.app-modal-submit-btn:hover {
  opacity: 0.9;
}

.app-modal-submit-btn:disabled {
  opacity: 0.7;
}

.app-modal-spinner {
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.app-modal-btn-content {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.app-modal-svg-icon {
  width: 20px;
  height: 20px;
}

/* Country Modal - Supporting old class names for backward compatibility */
.country-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}
.country-modal-container {
  width: 100%;
  max-width: 28rem;
  border-radius: 0.5rem;
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.country-modal-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.country-modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}
.country-modal-close-btn {
  color: #6b7280;
  border: none;
  background: none;
  padding: 0;
}
.country-modal-input-group {
  margin-bottom: 1.125rem;
}
.country-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}
.country-modal-cancel-btn {
  border-radius: 0.25rem;
  border-width: thin;
  background-color: #e5e7eb;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
}
.country-modal-submit-btn {
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 0.375rem;
  border-width: thin;
  display: flex;
  align-items: center;
  min-width: 5rem;
  justify-content: center;
}
.country-modal-spinner {
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 1s linear infinite;
}
.country-modal-btn-content {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.country-modal-svg-icon {
  width: 20px;
  height: 20px;
}

.top-heading::before {
  content: "";
  width: 10px;
  height: 50px;
  border-radius: 0 15px 15px 0;
  display: block;
  position: absolute;
  top: -10px;
  left: -20px;
  background: var(--light-700);
}

.MuiPagination-ul css-1c5o7vy-MuiPagination-ul {
  flex: content-end;
}

#producer-infinite-table div[id^="row-"] div[id^="cell-"] {
  padding: 0 1rem;
}

#wine-infinite-table div[id^="row-"] div[id^="cell-"] {
  padding: 0 1rem;
}

#wine-infinite-table div[id^="row-"] div[id^="cell-"] input {
  padding-top: 0.07rem;
  padding-bottom: 0.07rem;
  min-height: 15px !important;
}

#directInputPage input {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#directInputPage button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#directInputPage .grid > div {
  margin-bottom: 0.6rem !important;
}

#externalInputPage table tbody tr th {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  line-height: 1rem !important;
  font-weight: 500;
}

#externalInputPage table .text-base {
  font-size: 0.9rem !important;
  font-weight: 500;
}

#externalInputPage table .text-lg {
  font-size: 0.9rem !important;
}

#externalInputPage button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#externalInputPage input {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#externalInputPage #file {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#externalInputPage button.keywordSpans {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 20px !important;
}

#directInputPage button.keywordSpans {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 20px !important;
}
#directInputPage button.producerSpans {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 20px !important;
}

#externalInputPage button.producerSpans {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 20px !important;
}

#externalInputPage button.loadButton {
  min-height: 45px !important;
}

#externalInputPage .grid > div:not(.fileInput) {
    margin-bottom: 0.6rem !important;
}

#externalInputPage .mb-4 {
    margin-bottom: 0 !important;
}
/* #mergeWinesModal .select-small__value-container{
   height:28px !important;
   align-items: flex-start !important; 
} */

#mergeWinesModal input {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  min-height: 15px !important;
}

#mergeWinesModal .text-xs > div {
  height: auto;
}

#mergeWinesModal .text-xs > div > *input {
  height: 15px !important;
}

#mergeWinesModal input#inputTextField {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  min-height: 35px !important;
}

/* validation page */
#validationPage div:has(> select) {
  margin-bottom: 0;
}

#validationPage select {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#validationPage button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#validationPage #file {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#validationPage .validation-table th {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  line-height: 1rem !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

#validationPage .externalResourceHeader {
  line-height: 1rem !important;
}

.validationIcon {
  font-size: 2rem;
}

#validation .validationPencilSquareIconContainer button {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 15px !important;
}

#validationPage .multiSelect {
  margin-bottom: 1rem;
}

#validationPage .validation-table td {
  font-size: 0.875rem;
  line-height: 1rem;
}

#validationPage .vintageSelect {
  margin-bottom: 0;
}

#validationPage .vintageSelect label {
  margin-bottom: 0;
}

#validationPage select#vintage {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
}

#newProducerPage .mb-6 {
  margin-bottom: 0 !important;
}

#newProducerPage .mb-8 {
  margin-bottom: 0 !important;
}

#newProducerPage .searchableFloatingSelect .react-select__control {
  min-height: 35px !important;
}

#newProducerPage .newProducerInputGroup input {
  min-height: 35px !important;
  height: 35px !important;
}

#newProducerPage .newProducerInputGroupWithCounter input {
  min-height: 35px !important;
  height: 35px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

#newProducerPage .creatablemulti-select {
  min-height: 40px !important;
  height: 40px !important;
}

#newProducerPage .select-arrow {
  height: 35px !important;
}

#newProducerPage .select-label {
  font-size: 65% !important;
}

#newProducerPage .newProducerLabelName {
  min-height: 35px !important;
  height: 35px !important;
}

#newProducerPage .regenerateButton {
  min-height: 35px !important;
  height: 35px !important;
}

#newProducerPage label {
  font-size: 0.8rem !important;
  font-weight: 400 !important;
}

#newProducerPage .react-select__single-value {
  font-size: 0.8rem !important;
}

#newProducerPage .text-gray-900 {
  font-size: 0.8rem !important;
}

#newProducerPage .creatablemulti-select label {
  padding-left: 0;
}

#mergeWinesModal input#inputTextField:disabled {
  background-color: #f2f2f2 !important;
}

#mergeWinesModal input#inputTextField::placeholder {
  color: #808080 !important;
}

.winealert-textarea {
  margin-bottom: 0 !important;
}

.winealert-textarea textarea {
  min-height: 50px;
}

.winealert-textarea textarea:focus,
.winealert-textarea textarea:hover {
  background: #fff;
}

#downloadPage button {
  padding-bottom: 0.3rem !important;
  padding-top: 0.3rem !important;
  min-height: 35px !important;
  font-size: 0.7rem !important;
}

#downloadPage div[id^="row-"] div[id^="cell-"] {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  min-height: 48px !important;
}

#uploadPage button {
  padding-bottom: 0.3rem !important;
  padding-top: 0.3rem !important;
  min-height: 35px !important;
  font-size: 0.7rem !important;
}

#uploadPage div[id^="row-"] div[id^="cell-"] {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  min-height: 48px !important;
}

#jobLogPage div[id^="row-"] {
  min-height: 35px !important;
}

#jobLogPage div[id^="row-"] div[id^="cell-"] {
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#jobLogPage button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#jobLogPage input {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#clientListPage div[id^="row-"] {
  min-height: 35px !important;
}

#clientListPage div[id^="row-"] div[id^="cell-"] {
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#clientListPage button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#clientListPage .uploadButton {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 30px !important;
  font-size: 0.75rem !important;
}

#clientListPage #configFile {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

#keywordGeneratorPage #file {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  min-height: 35px !important;
}

#keywordGeneratorPage button {
  min-height: 45px !important;
}

#keywordGeneratorPage button.FormButton {
  min-height: 35px !important;
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
}

#keywordGeneratorPage .mb-4 {
  margin-bottom: 0 !important;
}

#keywordGeneratorPage div[id^="row-"] div[id^="cell-"] {
  padding-top: 0.07rem;
  padding-bottom: 0.07rem;
  min-height: 15px !important;
}

#rpRollUpPage button {
  min-height: 35px !important;
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
}

#rpRollUpPage div[id^="row-"] div[id^="cell-"] {
  padding-top: 0.07rem;
  padding-bottom: 0.07rem;
  min-height: 15px !important;
}

#rpRollUpPage div[id^="row-"] {
  min-height: 35px !important;
}

#waRollUpPage button {
  min-height: 35px !important;
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
}

#waRollUpPage div[id^="row-"] div[id^="cell-"] {
  padding-top: 0.07rem;
  padding-bottom: 0.07rem;
  min-height: 15px !important;
}

#waRollUpPage div[id^="row-"] {
  min-height: 35px !important;
}

#crawlerForm input {
  min-height: 35px !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

#crawlerForm select {
  min-height: 35px !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

#crawlerForm .mb-6 {
  margin-bottom: 0.5rem !important;
}

#crawlerForm button {
  min-height: 35px !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

#crawlerForm label {
  font-size: 0.8rem !important;
  font-weight: 400 !important;
}

#crawlerForm .text-gray-900 {
  font-size: 0.8rem !important;
}

#matchConfigPage div[id^="row-"] div[id^="cell-"] {
  min-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#matchConfigPage div[id^="row-"] {
  min-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#matchConfigPage button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#matchConfigForm input {
  min-height: 35px !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

#matchConfigForm select {
  min-height: 35px !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

#matchConfigForm .mb-6 {
  margin-bottom: 0.5rem !important;
}

#matchConfigForm button {
  min-height: 35px !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

#matchConfigForm label {
  font-size: 0.8rem !important;
  font-weight: 400 !important;
}

#matchConfigForm .text-gray-900 {
  font-size: 0.8rem !important;
}

#previewModal div[id^="row-"] div[id^="cell-"] {
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#previewModal div[id^="row-"] {
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#workGroupListPage div[id^="row-"] div[id^="cell-"] {
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#workGroupListPage div[id^="row-"] {
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#workGroupListPage button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#workGroupListPage input {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#workGroupListPage .text-gray-900 {
  font-size: 0.8rem !important;
}

#historyMatchPage button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#historyMatchPage form input {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#historyMatchPage div[id^="row-"] {
  min-height: 35px !important;
}

#historyMatchPage div[id^="row-"] div[id^="cell-"] {
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#historyMatchPage .uploadButton {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 30px !important;
  font-size: 0.75rem !important;
}

#keywordMatchPage button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#keywordMatchPage div[id^="row-"] div[id^="cell-"] {
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#keywordMatchPage div[id^="row-"] {
  min-height: 35px !important;
}

#keywordMatchPage form input {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#keywordMatchPage .uploadButton {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 30px !important;
  font-size: 0.75rem !important;
}

#siteSettingsListPage button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#siteSettingsListPage div[id^="row-"] div[id^="cell-"] {
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

#siteSettingsListPage div[id^="row-"] {
  min-height: 35px !important;
}

#siteSettingsListPage form input {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 35px !important;
}

#narrowPage div:has(>select) {
    margin-bottom:0;
}

#narrowPage select {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 35px !important;
}

#narrowPage button {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 35px !important;
}


#narrowPage #file {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem
}

#narrowPage .validation-table th {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    line-height: 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

#narrowPage .externalResourceHeader {
    line-height: 1rem !important;
}

.narrowIcon {
    font-size: 2rem;
}

#narrow .narrowPencilSquareIconContainer button {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 15px !important;
}

#narrowPage .multiSelect {
    margin-bottom: 1rem;
}

#narrowPage .validation-table td {
    font-size: .875rem;
    line-height: 1rem;
}

#narrowPage .vintageSelect {
    margin-bottom: 0;
}

#narrowPage .vintageSelect label {
    margin-bottom: 0;
}

#narrowPage select#vintage {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

#globalNoiseListPage button {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 35px !important;
}

#globalNoiseListPage div[id^="row-"] div[id^="cell-"] {
    min-height: 35px !important;
    max-height: 35px !important;
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
}

#globalNoiseListPage div[id^="row-"] {
    min-height: 35px !important;
}

#globalNoiseListPage form input {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 35px !important;
}

#wineNoiseListPage button {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 35px !important;
}

#wineNoiseListPage div[id^="row-"] div[id^="cell-"] {
    min-height: 35px !important;
    max-height: 35px !important;
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
}

#wineNoiseListPage div[id^="row-"] {
    min-height: 35px !important;
}

#wineNoiseListPage form input {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 35px !important;
}

#producerNoiseListPage button {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 35px !important;
}

#producerNoiseListPage div[id^="row-"] div[id^="cell-"] {
    min-height: 35px !important;
    max-height: 35px !important;
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
}

#producerNoiseListPage div[id^="row-"] {
    min-height: 35px !important;
}

#producerNoiseListPage form input {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 35px !important;
}


