@font-face {
  font-family: "Outfit";
  src: url("../fonts/fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/fonts/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/fonts/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/fonts/Outfit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

body {
  font-family: "Outfit", sans-serif !important;
  background-color: #f7f7f7;
  color: var(--text-color);
}

a {
  color: var(--primary);
  text-decoration: none;
}

.light-bg {
  background-color: #f7f7f7;
  height: 100%;
}

.header {
  padding: 10px 25px;
  position: absolute;
  width: 100%;
  background-color: #f7f7f7;
}
.header img {
  width: 130px;
}

.text-primary {
  color: #fea327 !important;
}

.card-text h2 {
  font-size: 1.375rem;
  font-weight: 600;
}

.pay-card-text {
  color: #1c1c1c;
  font-size: 24px;
  line-height: 36px;
  font-weight: 600;
}

.billing-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 1.83px 2.74px -0.91px #0000000d;
  box-shadow: 0px 4.57px 6.85px -1.37px #0000001a;
}

.plan-desc {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 5px;
}

.pay-card-lt {
  border: 1px solid #e0e0e0;
  padding: 16px;
  border-radius: 12px;
}

input[type="radio"] {
  width: 20px;
  height: 20px;
}

label.control-label[for][for]:after {
  content: "*";
  color: red;
  margin-left: 4px;
}

.page-title {
  font-size: 1.375rem;
  font-weight: 600;
}

input:required + label.control-label:after {
  content: "*";
  color: red;
  margin-left: 4px;
}

.form-control:focus {
  border-color: #f3a227;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(216, 139, 72, 0.42);
}

.btn-primary:hover {
  background-color: #f3a127c4;
  border-color: #f3a227;
  color: #ffffff;
}

.modal {
  backdrop-filter: blur(5px);
}

.btn-primary {
  background-color: #f3a227;
  font-size: 15px;
  border-color: #f3a227;
  color: #ffffff;
  cursor: pointer;
  min-height: 40px;
  border-radius: 8px;
}

.btn-icon-lt .fa-solid {
  margin-left: 10px;
}

.btn-icon-lr .fa-solid {
  margin-right: 10px;
}

.btn.btn-primary.focus {
  background-color: #f3a127c4;
  border-color: #f3a227;
}

.btn.btn-primary.active,
.btn.btn-primary:active {
  color: #fff;
  background-color: #f3a127c4;
  border-color: #f3a227;
}

.btn-outline-primary {
  border-color: #fea327;
  color: #fea327;
  background-color: #fff8ee;
  border-radius: 8px;
  font-size: 15px;
  min-height: 40px;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:focus-visible {
  border-color: #f3a227 !important;
  background-color: #f3a227 !important;
  color: #fff;
  outline: none;
  box-shadow: 0 0 4px rgba(243, 162, 39, 0.5);
}

.btn-outline-primary:hover img,
.btn-outline-primary:focus img,
.btn-outline-primary:active img,
.btn-outline-primary:focus-visible img {
  filter: brightness(0) invert(1);
}

.form-group label {
  font-size: 15px;
  margin-bottom: 5px;
}

.login-form {
  a {
    color: #f3a328 !important;
    text-decoration: none !important;
    font-size: 0.813rem;
  }
}

.reset-text {
  font-size: 0.875rem;
  color: #747e8e;
  font-weight: 200;
}

.table-bg-light tr th {
  background-color: #eeeeee;
  font-size: 0.875rem;
  line-height: 20px;
  font-weight: 600;
  color: #1c1c1c;
  padding: 10px 8px;
}

.table-bg-light {
  border-bottom: 1px solid #e0e0e0;
}

.back-login {
  display: flex;
  align-items: center;
  gap: 5px;

  img {
    width: 18px;
  }

  a {
    color: #f3a328 !important;
    text-decoration: none !important;
    font-size: 0.813rem;
  }
}

.dashboard-wrapper {
  height: calc(100vh - 30px);
}

.content-container {
  flex: 1;
  padding: 13px 20px;
  overflow: auto;
  background-color: #f7f7f7;
}

.form-control::placeholder {
  font-size: 0.9rem !important;
  color: #000;
  font-weight: 300;
}

.fw-600 {
  font-weight: 600;
}

.fw-500 {
  font-weight: 500;
}

.fw-400 {
  font-weight: 400;
}

.fw-300 {
  font-weight: 300;
}

.input-icon-field {
  position: relative;

  .form-control {
    padding-left: 40px;
    min-height: 40px;
  }

  .input-icon {
    position: absolute;
    top: 49%;
    left: 10px;
    transform: translateY(-50%);
  }

  .input-icon img {
    width: 20px;
  }
}

.lt-complted {
  background-color: #fff !important;
  border: 1px solid #e4e7ec !important;
}

.lt-pending,
.lt-complted {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  width: 100%;
  background-color: #fff8ee;
  border-radius: 8px;
  padding: 0px 10px;
}

.lt-pending-text p,
.lt-complted p {
  font-size: 14px;
  margin-bottom: 0;
}

.completed-check {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  gap: 8px;
  font-size: 15px !important;
  color: #22c55e;
}

.lt_footer {
  text-align: center;
  font-size: 14px;
  font-weight: normal;
  color: #6e6e6e;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-modal-header {
  display: flex;
  justify-content: space-between;
}

.custom-modal-header h5 {
  font-size: 24px;
  font-weight: 600;
  color: #281d1b;
}

.modal-content {
  border-radius: 16px;
  border: 1px solid #e4e7ec;
}

label:has(+ select:required):after {
  content: " *";
  color: #ef4444;
}

label:has(+ input:required):after {
  content: " *";
  color: #ef4444;
}

.drag-drop-document {
  font-family: "Outfit", sans-serif !important;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.upload-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  animation: alertSlideIn 0.3s ease-out;
  transform: translateX(0);
}

@keyframes alertSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.alert-error {
  background-color: #fee2e2;
  color: #ef4444;
  border-left: 4px solid #ef4444;
}

.alert-success {
  background-color: #ecfdf5;
  color: #10b981;
  border-left: 4px solid #10b981;
}

.upload-inner h3 {
  font-size: 16px !important;
  color: #1c1c1c;
}

.uplaod-desc {
  color: #b0b0b0 !important;
  font-size: 12px !important;
  font-weight: 300 !important;
}

.protection-plan-bg {
  min-height: 640px;
  background-image: url("../img/protective-bg.png");
  background-size: cover;
  background-position: center;
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
}

.protection-plan-bg-stepper {
  min-height: 650px;
  background-image: url("../img/stepper-banner.png");
  background-size: cover;
  background-position: center;
  border-top-right-radius: 32px;
  border-bottom-right-radius: 32px;
}

.delete-accordion {
  border: 0px;
  background-color: transparent;
  padding: 0px;
  position: absolute;
  right: 12px;
  z-index: 10;
}

.lt-input {
  background-color: #f7f7f7;
  border: 1px solid #e0e0e0;
  height: 40px;
  color: #6e6e6e;
}

.lt-textarea {
  background-color: #f7f7f7;
  border: 1px solid #e0e0e0;
  color: #6e6e6e;
}

.lt-input:focus,
.lt-input:active,
.lt-textarea:focus,
.lt-textarea:active {
  color: #6e6e6e;
}

.form-check-label {
  font-size: 14px;
  color: #1c1c1c;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-checkbox .form-check-input {
  height: 20px;
  width: 20px;
  border-radius: 6px;
  margin: 0px;
}

.disclaimer-listing {
  font-size: 14px;
  color: #6e6e6e;
  font-weight: normal;
  line-height: 20px;
}

.disclaimer-col {
  border: 1px solid #e0e0e0;
  padding: 24px;
  border-radius: 12px;
  height: calc(100% - 50px);
}

.stepper-item {
  cursor: pointer;
}

.disclaimer-col h3 {
  color: #1c1c1c;
  font-size: 24px;
  line-height: 36px;
  font-weight: 600;
  margin-bottom: 16px;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("../img/svg/accordian-chevron.svg");
}

.accordion-button::after {
  background-image: url("../img/svg/accordian-chevron.svg");
  display: none;
}

.lt-btn-close {
  background-color: transparent;
  border: 0px;
}

.pro-plan-title p {
  font-size: 14px;
  font-weight: 600;
  color: #1c1c1c;
}

.pro-plan-title p span {
  color: #fea327;
}

.enroll-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fffaeb;
  border-radius: 12px;
  min-height: 64px;
}

.enroll-btn {
  box-shadow: 0px 2px 4px -1px #0000000f;
  box-shadow: 0px 4px 6px -1px #0000001a;
  border: 1px solid #ffffff52;
}

.enroll-section p {
  color: #d17b05;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 0;
}

.protection-plan-listing {
  font-size: 14px;
  color: #1c1c1c;
  font-weight: normal;
}

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

input[type="date"]::-webkit-calendar-picker-indicator {
  color: rgba(0, 0, 0, 0);
  opacity: 1;
  display: block;
  background: url("/img/svg/calander-icon.svg") no-repeat;
  width: 20px;
  height: 20px;
}

.form-group select {
  background-color: #f7f7f7;
  color: #6e6e6e;
}
.pt-18 {
  font-size: 1.125rem !important;
}

#cardIcon {
  height: 38px;
  position: absolute;
  right: 6px;
  top: calc(50% - 4px);
  width: 60px;
  background-color: #ffffff;
}

.payment-card-details {
  border: 1px solid #e0e0e0;
  padding: 16px;
  border-radius: 12px;
}

.payment-card-details {
  .form-control,
  .form-select {
    min-height: 48px;
  }
}

@media (max-width: 768px) {
  .dashboard-wrapper {
    height: 100% !important;
  }
  .lt-card-footer {
    flex-direction: column;
    gap: 10px;
  }
}

/* Tiny Mobile Devices (up to 359px) */
@media (max-width: 359px) {
  .rental-card {
    flex-direction: column;
  }

  .thumbnail-social-col {
    flex-direction: column;
    gap: 14px;
  }

  .submit-col {
    border-left: 0px !important;
  }

  .protection-plan-bg {
    min-height: 300px;
    border-top-right-radius: 32px;
    border-top-left-radius: 32px;
    border-bottom-right-radius: 0px;
  }

  .chat-container {
    height: 100% !important;
  }

  .contact-wrapper {
    flex-direction: column;
    height: 100% !important;
    overflow: auto;
  }

  .chat-area {
    margin-bottom: 20px !important;
  }

  .user-list {
    width: 100% !important;
    min-height: 400px;
  }
  .protection-plan-bg-stepper {
    display: none;
  }
  .dashboard-wrapper {
    height: 100% !important;
  }
  .lt-card-footer {
    flex-direction: column;
    gap: 10px;
  }
}

/* Small Mobile Devices (360px - 479px) */
@media (min-width: 360px) and (max-width: 479px) {
  .rental-card {
    flex-direction: column;
  }
  .rental-card-img {
    width: 100%;
    height: 250px;
  }

  .thumbnail-social-col {
    flex-direction: column;
    gap: 14px;
  }

  .submit-col {
    border-left: 0px !important;
  }

  .protection-plan-bg {
    min-height: 300px;
    border-top-right-radius: 32px;
    border-top-left-radius: 32px;
    border-bottom-right-radius: 0px;
  }

  .contact-wrapper {
    flex-direction: column;
    height: 100% !important;
    overflow: auto;
  }
  .user-list {
    width: 100% !important;
    min-height: 400px;
  }

  .chat-container {
    height: 100% !important;
  }

  .chat-area {
    margin-bottom: 20px !important;
  }
  .protection-plan-bg-stepper {
    display: none;
  }
  .dashboard-wrapper {
    height: 100% !important;
  }
  .lt-card-footer {
    flex-direction: column;
    gap: 10px;
  }
}

/* Standard Mobile Devices (480px - 575px) */
@media (min-width: 480px) and (max-width: 575px) {
  .rental-card {
    flex-direction: column;
  }

  .rental-card-img {
    width: 100%;
    height: 250px;
  }

  .thumbnail-social-col {
    flex-direction: column;
    gap: 14px;
  }

  .submit-col {
    border-left: 0px !important;
  }

  .protection-plan-bg {
    min-height: 300px;
    border-top-right-radius: 32px;
    border-top-left-radius: 32px;
    border-bottom-right-radius: 0px;
  }

  .chat-container {
    height: 100% !important;
  }

  .contact-wrapper {
    flex-direction: column;
    height: 100% !important;
    overflow: auto;
  }

  .chat-area {
    margin-bottom: 20px !important;
  }

  .user-list {
    width: 100% !important;
    min-height: 400px;
  }

  .protection-plan-bg-stepper {
    display: none;
  }
  .dashboard-wrapper {
    height: 100% !important;
  }
  .lt-card-footer {
    flex-direction: column;
    gap: 10px;
  }
}

/* Small Tablets (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .submit-col {
    border-left: 0px !important;
  }
  .protection-plan-bg-stepper {
    display: none;
  }
  .dashboard-wrapper {
    height: 100% !important;
  }
  .lt-card-footer {
    flex-direction: column;
    gap: 10px;
  }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .submit-col {
    border-left: 0px !important;
  }
  .protection-plan-bg-stepper {
    display: none;
  }
  .dashboard-wrapper {
    height: 100% !important;
  }
}

/* Small Desktops/Large Tablets (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .submit-col {
    border-left: 0px !important;
  }
  .dashboard-wrapper {
    height: 100% !important;
  }
}

/* Medium Desktops (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .border-left {
    border-left: 1px solid #d0d5dd;
  }
}

/* Large Desktops (1440px - 1679px) */
@media (min-width: 1440px) and (max-width: 1679px) {
  .border-left {
    border-left: 1px solid #d0d5dd;
  }
}

/* Extra Large Desktops (1680px - 1919px) */
@media (min-width: 1680px) and (max-width: 1919px) {
  .border-left {
    border-left: 1px solid #d0d5dd;
  }
}

/* Super Large Displays (1920px and up) */
@media (min-width: 1920px) {
  .border-left {
    border-left: 1px solid #d0d5dd;
  }
}

/* ----- Alternative Approach (Mobile-First) ----- */

/* Base styles (mobile-first) */
/* No media query - applies to all sizes */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  /* ... */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* ... */
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* ... */
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* ... */
}

/* XXL devices (larger desktops, 1440px and up) */
@media (min-width: 1440px) {
  /* ... */
}

/* Foldable Devices */
@media (min-width: 600px) and (max-height: 540px) {
  /* Styles for foldable devices in folded state */
}

/* ---------------------------------------------------------------------------
   Office staff READ-ONLY view (2026-10-20, ported from the applicant portal).
   Amber rather than red: nothing is wrong, and a red bar on a page staff read
   aloud to a resident invites "is something broken with my account?".

   PART OF THE PAGE, AT ITS TOP, NEVER OVER IT. It used to be sticky, above
   everything, and covered the page under it (Marshal 2026-10-20). It sits in
   the flow and scrolls away with the page: since 2026-10-30 at the top of the
   main column, above the top bar (the op- kit: op_staff_banner() and
   css/op/components.css .op-staff). The amber side edges below stay on screen
   for the whole visit.
   --------------------------------------------------------------------------- */

/* A second, always-visible cue that does not depend on the banner being on
   screen. */
body.sdt-guest-view {
    box-shadow: inset 4px 0 0 #92400e, inset -4px 0 0 #92400e;
}

/* Controls are inert in this mode. The real refusal is the database grant and
   the server-side guards; this only stops staff pressing something that was
   always going to be refused. */
body.sdt-guest-view button[type="submit"],
body.sdt-guest-view input[type="submit"] {
    /* No fading: faded text is gray text. The pointer and the banner say it. */
    cursor: not-allowed;
}

/* Except Log Out, which is how staff should end a view on a shared screen. */
body.sdt-guest-view form[action$="/logout.php"] button[type="submit"] {
    opacity: 1;
    cursor: pointer;
}

