/* OTP Page Styles */
.otpPage {
  background-color: var(--secondary-background);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
}

:global(.darkApp) .otpPage {
  background-color: var(--background);
}

.otpWrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.restaurantCoverContainer {
  display: none;
}

.restaurantCover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.otpContentWrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.otpContainer {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.otpContent {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.otpTitle {
  margin: 0;
}

.otpInputContainer {
  width: 100%;
  display: flex;
  justify-content: center;
}

.otpButton {
  width: 100%;
  height: 48px;
  margin-bottom: 16px;
  color: white;
  border: none;
  box-shadow: none;
}

/* Tablet devices (min-width: 769px and max-width: 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .otpPage {
    padding: 24px;
    align-items: center;
    justify-content: center;
  }

  .otpWrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .otpContainer {
    max-width: 500px;
    width: 100%;
    background-color: var(--background);
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
  }
}

:global(.darkApp) .otpContainer {
  background-color: var(--secondary-background);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Desktop devices (min-width: 1025px) */
@media (min-width: 1025px) {
  .otpPage {
    padding: 0;
    align-items: stretch;
    max-width: 100%;
    margin: 0;
    height: 100vh;
    overflow: hidden;
  }

  .otpWrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
  }

  .restaurantCoverContainer {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
  }

  .restaurantCover {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .otpContentWrapper {
    background-color: var(--background);
    padding: 60px 10vw;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    margin: 0 auto;
    width: 100%;
    height: 100vh;
  }

  .otpContainer {
    max-width: 100%;
    width: 100%;
  }
}

:global(.ant-app-rtl) .otpWrapper {
  direction: rtl;
}

:global(.ant-app-rtl) .otpWrapper {
  grid-template-columns: 1fr 1fr;
}

.productContainer :global(.ant-radio-wrapper:last-child) {
  width: 100% !important;
}

.productContainer :global(.ant-radio-label) {
  width: 100% !important;
}

/* radio.module.css */
.productContainer :global(.ant-radio-inner) {
  width: 24px !important;
  height: 24px !important;
  border-radius: 30px !important;
}

.productContainer :global(.ant-radio) {
  width: 24px !important;
  height: 24px !important;
}

.productContainer :global(.ant-radio-checked .ant-radio-inner) {
  border-radius: 30px !important;
}

.productContainer :global(.ant-checkbox-wrapper:last-child) {
  width: 100% !important;
}

.productContainer :global(.ant-checkbox-label) {
  width: 100% !important;
}

/* .productContainer :global(.ant-checkbox-input) {
  margin-top: 5px !important;
} */

.productContainer :global(.ant-checkbox-inner) {
  border-radius: 40px !important;
}

/* CheckboxGroup.module.css */
.productContainer :global(.ant-checkbox-inner) {
  width: 24px !important;
  height: 24px !important;
  border-radius: 30px !important;
}

.productContainer :global(.ant-checkbox) {
  width: 24px !important;
  height: 24px !important;
}

.productContainer :global(.ant-checkbox-checked .ant-checkbox-inner) {
  border-radius: 30px !important;
}

.services {
  width: 100%;
  padding: 0 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 3px;
}

.services :global(.ant-btn) {
  padding: 0 11px !important;
}

.serviceButton {
  position: relative;
  top: 5px;
  height: 32px;
  color: #99a2ae;
  background-color: #f7f7f7;
  border: none;
  width: 70px !important;
}

.activeServiceButton {
  position: relative;
  top: 6px;
  height: 24px;
  border: none;
  color: var(--primary);
  background-color: rgba(255, 183, 0, 0.12);
  width: 70px !important;
}

:global(.darkApp) .services {
  color: #ffffff !important;
  background-color: #000000 !important;
  border: none;
}

:global(.darkApp) .serviceButton {
  color: #ffffff !important;
  background-color: rgba(42, 42, 42, 0.8) !important;
  border: none;
  width: 70px !important;
  border-radius: 888px;
}

:global(.darkApp) .activeServiceButton {
  color: var(--primary) !important;
  background-color: rgba(42, 42, 42, 0.8) !important;
  border: none;
  width: 70px !important;
  border-radius: 888px;
}
