@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* || GENERAL STYLES */

body {
  font-family: 'Nunito', sans-serif;
  min-height: 100vh;
  background-color: var(--BGCOLOR);
  color: var(--COLOR);
  background-size: cover;
  background-position: top right;
  background-blend-mode: multiply;
}

.no-bg {
  background-color: transparent !important;
  background-image: none !important;
  background-size: auto !important;
  background-position: initial !important;
  background-blend-mode: normal !important;
}

.Auth-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-image: url('bgimage1.jpg');
}

.Auth-form {
  width: 420px;
  box-shadow: rgb(0 0 0 / 16%) 1px 1px 10px;
  padding-top: 30px;
  padding-bottom: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}

.Auth-form-content {
  display: grid;
  place-items: center;
  height: 100%; /* Adjust height as needed */
}

.Auth-form-title {
  text-align: center;
  margin-bottom: 1em;
  font-size: 24px;
  color: rgb(34, 34, 34);
  font-weight: 800;
}

label {
  font-size: 14px;
  font-weight: 600;
  color: rgb(34, 34, 34);
}

.main-logo {
  max-width: 100%; /* Adjust max-width as needed */
  height: auto;
  padding-bottom: 20px;
}

.link-primary {
  color:#0099CC;
  display: flex;
  justify-content: left;
  align-items: left;
}

.align-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-control {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-input {
  display:flex;
  flex-direction: column;
  width: 100%;
}

.form-submit {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.form-submit:hover {
  background-color: #45a049;
}

.form-margin-8 {
  margin: 8px 0;
}

.error-message {
  color: #E74C3C;
}

#table .tabulator-cell {
  padding: 10px !important;
}

/* Ensure the card is properly positioned */
.hover-card {
    position: relative;
    overflow: hidden;
    padding: 10px;
    border: none;
}

/* Make the image fill the card */
.card-image {
    width: 100%;
    height: 15rem; /* Ensure it takes full height */
    object-fit: cover; /* Prevent stretching */
    display: block;
    padding-bottom: 1rem;
}

.card-title {
    font-weight: bold;
    font-family: 'Arvo';
}
/* Cover the entire card and center text properly */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.6); /* Dark overlay */

    /* ✅ Fix: Ensure vertical and horizontal centering */
    display: flex;
    align-items: center;  /* Centers vertically */
    justify-content: center;  /* Centers horizontally */
    flex-direction: column;  /* Stack title/description properly */

    text-align: center;
    color: white;
    font-size: 36px;
    font-weight: bold;
    padding: 20px;
    transition: background-color 0.3s ease-in-out;
}

/* Hide description initially */
.card-desc {
    display: none;
}

.card-column {
    padding-left: 10px;
    padding-right: 10px;
    border: none;
}

.card-section {
    padding-left: 10px;
    padding-right: 10px;
}
.card-link {
    text-decoration: none;
}
.hero-photo {
    max-width: 100%;
    height: auto;
    width: 100%;
    opacity: 0.6;
    max-height: 40vh;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-family: 'Arvo', monospace;
    font-size: clamp(0.8rem, 4.5vw, 3rem);
    font-weight: bold;
    white-space: nowrap;
}

.hero-inner-div {
    position: relative;
    text-align: center;
}

.hero-section {
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.card-text-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.card-text-column {
      flex: 0 0 70%;
      font-size: 1rem;
      font-family: 'Poppins', sans-serif;
}

.card-button-column {
      flex: 0 0 30%;
      display: flex;
      justify-content: center;
      font-family: 'Poppins', sans-serif;
}

.learn-more-button {
      background-color: #688F4E;
      color: white;
}

.deactivated {
      font-family: 'Poppins', sans-serif;
      background-color: gray;
}

.center-aligned-header .ag-header-cell-label {
  justify-content: center;
}

.center-aligned-cell {
  text-align: center;
}

.ag-cell.tight-text {
  line-height: 1.2 !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

.page-title {
  font-weight: bold;
  font-family: 'Arvo';
  font-size: 3.5rem;
  text-align: center;
}
.dfh-caption {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 4px;
  padding: 2.5rem;
}

.record-page-div {
display: flex;
flex-direction: column;
align-items: center;
}

.record-page-div hr {
width: 100%;
}

.record-page-container {
transition: "margin 0.3s ease";
margin-left: 0px;
padding-top: 80px;
text-align: center;
}

.business-dropdown {
  margin: 20px 0;
  font-family: 'Poppins';
}

.AudioButtons {
  padding-bottom: 0.75rem;
}

.AudioButtons button {
  background-color: #EFEFEF;
  border: 1.5px solid black;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.AudioButtons button:nth-of-type(2) {
  color: red;
}

.AudioButtons button:disabled {
  background-color: #ccc;
  color: #888;
  border-color: #999;
  cursor: not-allowed;
  pointer-events: none;
}

.record-transcription-section button:disabled {
  background-color: #ccc;
  color: #888;
  border-color: #999;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.7;
}

.record-new-log-section {
display: flex;
flex-direction: column;
gap: 20px;
align-items: center;
justify-content: center;
}

.record-transcription-section {
flex: 1;
padding: 10px;
width: 80%;
}

.record-new-log {
  font-weight: 500;
}

.text-area {
  width: 100%;
  height: 100px;
  margin: 10px 0;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  border-radius: 10px;
}

.record-button-section {
margin: 20px 0;
}

.round-button {
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Poppins';
}

.round-button:hover {
  opacity: 0.8;
}

.save-btn {
  background-color: #688F4E;
  color: white;
  margin-right: 20px;
}

.save-btn .disabled {
  opacity: 0.1;
}

.delete-btn {
  background-color: #ff6961;
  color: white;
}

.ag-header-cell {
  background-color: white !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-aligned-group-header .ag-header-group-cell-label {
  justify-content: center;
}

.ag-custom-header-center .ag-cell-label-container {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  height: 100%;
  padding: 0 8px;
}

.ag-custom-header-center .ag-header-cell-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

.ag-custom-header-center .ag-icon {
  z-index: 2;
  flex-shrink: 0;
}

.ag-theme-alpine .ag-cell{
  border-right: none !important;
}

#rules-table-container .ag-row{
  border: none !important;
}

.ag-header-cell-resize {
  opacity: 0;
  width: 3px;
  background-color: transparent;
  position: relative;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.ag-header-cell:hover .ag-header-cell-resize {
  opacity: 1;
}

.ag-paging-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center !important;
  gap: 0.5rem;
  padding: 0.5rem;
  width: 100%;
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  align-content: flex-start;
}

.ag-paging-button, .ag-paging-page-size-panel, .ag-paging-row-summary-panel {
  white-space: normal !important;
  word-break: break-word;
}

@media (min-width: 1280px) {
  .ag-theme-alpine .ag-paging-panel {
    justify-content: right !important;
  }
}

input, textarea, select {
  font-size: 16px !important;
}

.mantine-TextInput-input {
  font-size: 16px !important;
  line-height: 24px;
}

#approve-users-dropdown .Select-control,
#approve-users-dropdown .Select__control {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  display: flex !important;
  overflow: hidden !important;
}

#approve-users-dropdown .Select-multi-value-wrapper,
#approve-users-dropdown .Select__value-container {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  min-width: 0 !important;
  scrollbar-width: none !important;
  align-items: center !important;
  min-height: 32px !important;
}

#approve-users-dropdown .Select-multi-value-wrapper::after,
#approve-users-dropdown .Select__value-container::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.9));
  pointer-events: none;
}

#approve-users-dropdown .Select-multi-value-wrapper::-webkit-scrollbar,
#approve-users-dropdown .Select__value-container::-webkit-scrollbar {
  display: none !important;
}

#approve-users-dropdown .Select-value,
#approve-users-dropdown .Select__multi-value {
  flex: 0 0 auto !important;
  margin-right: 4px !important;
  position: relative !important;
  top: -2px;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

#approve-users-dropdown .Select-value-label,
#approve-users-dropdown .Select__multi-value__label {
  font-size: 13px !important;
  padding: 0 3px !important;
}

#approve-users-dropdown .Select-value-icon,
#approve-users-dropdown .Select__multi-value__remove {
  font-size: 12px !important;
  margin-left: 3px !important;
  padding: 0 2px !important;
}

#approve-users-dropdown .Select-input>input {
  min-width: 2px !important;
  width: auto !important;
}

#approve-users-dropdown .Select-clear-zone,
#approve-users-dropdown .Select-arrow-zone {
  display: flex !important;
  align-items: center !important;
  padding-top: 2px;
}

#approve-users-dropdown .Select-arrow-zone {
  margin-left: 6px;
  padding-top: 3px;
}

#approve-users-dropdown .Select-arrow {
  margin-top: 1px;
}
