@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;
}


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;
}


/* receipt page */


.receipt {
  margin: 25px auto;
  background: #fff;
  padding: 25px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

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

/* Tabs Styling */
.tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
  margin-bottom: 20px;
  gap: 5px;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-weight: bold;
  color: #666;
  font-size: 14px;
  transition: background 0.2s;
}

.tab:hover {
  background: #eee;
}

.tab.active {
  background: #fff;
  border-top: 3px solid #E3530F;
  color: #222;
  margin-bottom: -2px;
}

.garment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.garment-card {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 30%;
  transition: box-shadow 0.3s ease-in-out;
}

.garment-card:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.garment-header {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  align-items: center;
}

.garment-photo {
  width: 120px;
  height: 170px;
  border: 2px dashed #bbb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 12px;
  text-align: center;
  overflow: hidden;
  object-fit: cover;
}

.submit-btn {
  cursor: pointer;
  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: 20px auto 0 auto;
}

.submit-btn:hover {
  background: #E3530F;
  color: #fff;
}

hr {
  margin: 10px 0;
  border: 0;
  border-top: 2px solid #e5e5e5;
}

/* Utility class to hide elements */
.hidden {
  display: none !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.receipt-date {
  text-align: right;
}

/* .receipt .receipt-header>div{
    width: 50%;
  } */

.receipt-date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.garment-header>div>div {
  color: #555;
  font-size: 14px;
  margin-top: 3px;
}

/* Card layout modifications */
.garment-card {
  display: flex;
  flex-direction: column;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 0px;
  width: calc(33.333% - 14px);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

@media (max-width: 991px) {
  .garment-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 767px) {
  .garment-card {
    width: 100%;
  }
}

.garment-card.card-error {
  border: 1.5px solid #d93025;
  background-color: #fff8f8;
}

.garment-body {
  display: flex;
  gap: 5px;
  align-items: flex-start;
}

/* Left column: Image + details */
.garment-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 140px;
}

.garment-details-sub {
  margin-bottom: 10px;
  font-size: 13px;
  color: #444;
  line-height: 1.4;
  width: 100%;
}

/* Right column: Status Radio Buttons */
.garment-right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.garment-right-col label.status-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

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

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
  line-height: 1.3;
}

.radio-option input[type="radio"] {
  margin-top: 2px;
  accent-color: #E3530F;
  cursor: pointer;
}

.validation-msg {
  color: #d93025;
  font-size: 12px;
  margin-top: 8px;
  font-weight: 600;
  display: none;
}

/* 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;
}

@media screen and (max-width: 480.5px) {
  .receipt .receipt-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 30px;
  }

  .receipt .receipt-header>div {
    width: 100%;
  }

  .tab {
    padding: 10px 10px;
  }

  .receipt {
    padding: 25px 15px;
  }

}