@charset "UTF-8";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: "Mulish", sans-serif;
}

body {
  font-family: "Mulish", sans-serif;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {

  /* Firefox */
  html {
    scrollbar-width: thin;
    scrollbar-color: #dc4f21 #f1f1f1;
  }

  /* Chrome, Safari, Edge, Android browsers */
  html::-webkit-scrollbar {
    width: 5px;
    display: block;
  }

  html::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  html::-webkit-scrollbar-thumb {
    background-color: #dc4f21;
    border-radius: 10px;
  }

  html::-webkit-scrollbar-thumb:hover {
    background-color: #b53812;
  }
}

header {
  background-image: linear-gradient(#f58220, #b02a30);
  padding: 10px 10px;
}

header .header-logo {
  width: -moz-fit-content;
  width: fit-content;
}

header .header-logo a {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}

@media screen and (max-width: 767px) {
  header .header-logo a {
    padding: initial;
    display: block;
  }
}

@media screen and (max-width: 767px) {
  header .header-logo a img {
    width: 70%;
    margin: 0px;
    display: block;
  }
}

.footer {
  background: #fff;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  color: #333333;
}

.footer .footer-links {
  margin-bottom: 0;
}

.footer .footer-links a {
  color: #333;
  text-decoration: none;
  line-height: 20px;
}

.footer .copyright {
  font-size: 13px;
  color: #555;
  line-height: 20px;
}



.gap-2 {
  gap: 10px;
}

/* login page */

.login-page {
  min-height: calc(100vh - 140px);
  justify-content: center;
  padding: 30px 15px;
  background: #F6DECB;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .login-page {
    min-height: calc(100vh - 180px);
    padding: 10px 0px;
  }
}

.login-page .card {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto;
}

.login-page .card .heading {
  background: #E3530F;
  color: #FFFFFF;
  font-size: 18px;
  text-align: center;
  padding: 15px 0;
  border-radius: 20px 20px 0 0;
  font-weight: 600;
}

.login-page .card .form {
  padding: 40px 20px;
  background: #F5F5F5;
  border-radius: 0 0 20px 20px;
}

.login-page .card .form .field {
  margin-bottom: 25px;
  position: relative;
}

.login-page .card .form .field label {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: #333333;
}

.login-page .card .form .field input,
.login-page .card .form .field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #C6C6C6;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  background: #fff;
}

.login-page .card .form .field .input-wrap {
  position: relative;
}

.login-page .card .form .field .input-wrap input {
  padding-right: 100px;
}

.login-page .card .form .field .input-wrap .send-otp {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  font-size: 12px;
  background: #E3530F;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: none;
}

.login-page .card .form .field .error-msg {
  color: #d93025;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.login-page .card .form .field input.error,
.login-page .card .form .field select.error {
  border-color: #d93025;
}

.noteline {
  padding: 0px 10px;
  font-size: 12px;
  color: #333;
}

.noteline ul {
  padding-left: 20px;
  font-size: 12px;
  color: #333;
}

.logout {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.employee-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.employee-options>a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  background: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

.employee-options>a>img {
  width: 50px;
}

.employee-options>a>span {
  font-size: 16px;
  font-weight: 600;
}



.register-btn {
  display: block;
  text-decoration: none;
  margin: 20px auto 0 auto;
  color: #E3530F;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 16px;
  font-weight: 600;
}

.position-relative {
  position: relative;
}

.img-fluid {
  height: auto;
  max-width: 100%;
}

.btn-login {
  width: 100%;
  padding: 13px;
  background: #E3530F;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  font-weight: 700;
  max-width: 400px;
  margin: 40px auto 0 auto;
  align-items: center;
  justify-content: center;
}

.btn-edit {
  padding: 6px 12px;
  background: #E3530F;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  margin-right: 10px;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 10px;
  text-decoration: none;
}

.back-btn {
  padding: 6px 12px;
  background: #E3530F;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  width: -moz-fit-content;
}

.back-btn>img {
  width: 15px;
}

.send-otp {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  font-size: 12px;
  background: #E3530F;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: none;
}

.score_link {
  margin: 10px auto;
  text-align: center;
  width: -moz-fit-content;
  width: fit-content;
  color: #333;
}

.btn-login-popup {
  width: 100%;
  padding: 13px;
  background: #E3530F;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  font-weight: 700;
  max-width: 400px;
  margin: 40px auto 0 auto;
}

/* Utility class to hide elements */
.hidden {
  display: none !important;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
  from {
    transform: scale(0.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-box .icon-success {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #e7f7ed;
  color: #198754;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px auto;
}

.modal-box h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #222;
}

.modal-box p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}

.modal-close-btn {
  width: 100%;
  padding: 10px 0;
  background: #E3530F;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* =========================================================
   RECEIPT SECTION (Responsive Grid: 1 col mobile, 2 col tablet, 3 col desktop)
   ========================================================= */

.main-wrapper {
  padding: 10px 0;
  display: flex;
  justify-content: center;
  background-color: #f7ede3;
}

.receipt-sheet {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 20px 40px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  -ms-border-radius: 24px;
  -o-border-radius: 24px;
}

/* Greeting Card Banner */
.welcome-banner {
  background: #fff8f3;
  border: 1px solid #f6e6da;
  border-radius: 16px;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.welcome-title {
  font-size: 18px;
  color: #111111;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.welcome-title span {
  color: #9d2426;
  font-weight: 800;
}

.welcome-desc {
  font-size: 14px;
  color: #4b4b4b;
  line-height: 1.45;
}

.welcome-icon-box {
  width: 100px;
  height: 100px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shirt-icon {
  width: 38px;
  height: 38px;
}

/* Confirmation Receipt Heading Row */
.receipt-heading-row {
  margin-bottom: 20px;
  padding: 0 4px;
}

.section-heading {
  font-size: 22px;
  font-weight: 800;
  color: #0b1a2d;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #444444;
}

.calendar-icon {
  stroke: #c2401c;
}

/* Responsive Grid for Garment Cards */
.garment-list {
  display: grid;
  grid-template-columns: 1fr;
  /* 1 card per line on mobile */
  gap: 18px;
}

/* Tablet: 2 cards per line */
@media (min-width: 768px) {
  .garment-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .main-wrapper {
    padding: 10px 0;
  }
}

/* Desktop: 3 cards per line */
@media (min-width: 1200px) {
  .garment-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.garment-card {
  background: #ffffff;
  border: 1px solid #f2e4dc;
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.garment-card.card-error {
  border-color: #d93025;
  box-shadow: 0 0 0 1.5px #d93025;
}

/* Header bar inside each garment card */
.garment-bar {
  background: #fff8f3;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #fcf0ea;
}

.badge-num {
  background: #a91e24;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.garment-title-text {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.garment-name {
  font-weight: 800;
  color: #1a1a1a;
}

.bar-divider {
  color: #df784b;
  font-size: 14px;
}

.garment-subinfo {
  color: #333333;
  font-weight: 600;
}

/* Card Content: Thumbnail + Status Options */
.garment-content {
  display: flex;
  padding: 14px;
  gap: 14px;
  flex: 1;
}

.garment-thumb {
  width: 105px;
  min-width: 105px;
  height: 145px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f0e6df;
  display: flex;
  align-items: center;
  justify-content: center;
}

.garment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.garment-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.controls-label {
  font-size: 13.5px;
  font-weight: 800;
  color: #121212;
  margin-bottom: 8px;
}

/* Pill Radio List */
.pill-radio-group {
  display: flex;
  flex-direction: column;
  gap: 6.5px;
}

.pill-radio {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}

.pill-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom Outlined Circle Radio */
.custom-radio {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 50%;
  border: 1.5px solid #8e8e8e;
  margin-right: 8px;
  display: inline-block;
  box-sizing: border-box;
  position: relative;
  transition: all 0.15s ease;
}

.pill-radio .radio-label {
  font-size: 13px;
  font-weight: 500;
  color: #555555;
  white-space: nowrap;
}

/* Active / Checked State */
.pill-radio:has(input[type="radio"]:checked) {
  border-color: #df8877;
  background-color: #fdf5f4;
}

.pill-radio:has(input[type="radio"]:checked) .custom-radio {
  border-color: #8c1e20;
}

.pill-radio:has(input[type="radio"]:checked) .custom-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background-color: #8c1e20;
}

.pill-radio:has(input[type="radio"]:checked) .radio-label {
  color: #8c1e20;
  font-weight: 800;
}

.validation-msg {
  color: #d93025;
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
  display: none;
}

/* Submit Section */
.action-wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.submit-btn {
  background: #E3530F;
  color: #ffffff;
  border: none;
  width: 100%;
  max-width: 380px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(169, 30, 36, 0.25);
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Mobile fine-tuning */
@media (max-width: 575px) {
  .receipt-sheet {
    margin: 0;
    border-radius: 20px;
    padding: 18px 12px 30px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
  }

  .welcome-banner {
    padding: 12px 10px;
  }

  .welcome-icon-box {
    width: 80px;
    height: 80px;
    min-width: 80px;
  }

  .shirt-icon {
    width: 30px;
    height: 30px;
  }

  .garment-thumb {
    width: 95px;
    min-width: 95px;
    height: 140px;
  }
}