@import url('core.css');

@font-face {
  font-family: 'WOFF IRANSansX-Thin';
  src: url('fonts/woff/IRANSansX-Thin.woff');
}

@font-face {
  font-family: 'WOFF IRANSansX-UltraLight';
  src: url('fonts/woff/IRANSansX-UltraLight.woff');
}

@font-face {
  font-family: 'WOFF IRANSansX-Light';
  src: url('fonts/woff/IRANSansX-Light.woff');
}

@font-face {
  font-family: 'WOFF IRANSansX-Regular';
  src: url('fonts/woff/IRANSansX-Regular.woff');
}

@font-face {
  font-family: 'WOFF IRANSansX-Medium';
  src: url('fonts/woff/IRANSansX-Medium.woff');
}

@font-face {
  font-family: 'WOFF IRANSansX-DemiBold';
  src: url('fonts/woff/IRANSansX-DemiBold.woff');
}

@font-face {
  font-family: 'WOFF IRANSansX-Bold';
  src: url('fonts/woff/IRANSansX-Bold.woff');
}

@font-face {
  font-family: 'WOFF IRANSansX-ExtraBold';
  src: url('fonts/woff/IRANSansX-ExtraBold.woff');
}

@font-face {
  font-family: 'WOFF IRANSansX-Black';
  src: url('fonts/woff/IRANSansX-Black.woff');
}

@font-face {
  font-family: 'WOFF2 IRANSansX-Thin';
  src: url('fonts/woff2/IRANSansX-Thin.woff2');
}

@font-face {
  font-family: 'WOFF2 IRANSansX-UltraLight';
  src: url('fonts/woff2/IRANSansX-UltraLight.woff2');
}

@font-face {
  font-family: 'WOFF2 IRANSansX-Light';
  src: url('fonts/woff2/IRANSansX-Light.woff2');
}

@font-face {
  font-family: 'WOFF2 IRANSansX-Regular';
  src: url('fonts/woff2/IRANSansX-Regular.woff2');
}

@font-face {
  font-family: 'WOFF2 IRANSansX-Medium';
  src: url('fonts/woff2/IRANSansX-Medium.woff2');
}

@font-face {
  font-family: 'WOFF2 IRANSansX-DemiBold';
  src: url('fonts/woff2/IRANSansX-DemiBold.woff2');
}

@font-face {
  font-family: 'WOFF2 IRANSansX-Bold';
  src: url('fonts/woff2/IRANSansX-Bold.woff2');
}

@font-face {
  font-family: 'WOFF2 IRANSansX-ExtraBold';
  src: url('fonts/woff2/IRANSansX-ExtraBold.woff2');
}

@font-face {
  font-family: 'WOFF2 IRANSansX-Black';
  src: url('fonts/woff2/IRANSansX-Black.woff2');
}

/* Font Feature Settings */
.ss03 {
  -moz-font-feature-settings: "ss03";
  -webkit-font-feature-settings: "ss03";
  font-feature-settings: "ss03";
}

/* Base Styles */
body {
  background: #fff;
  font-family: 'WOFF IRANSansX-Regular';
}

/* Stepper Styles */
.bs-stepper {
  background: #F4F4F4 !important;
  box-shadow: 0 0 4px #001B544D !important;
  min-height: 555px;
  border-radius: 16px !important;
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
}

.bs-stepper .bs-stepper-main-title-container {
  width: 100%;
  height: 65px;
  margin-top: -5px;
  text-align: center;
  background: url("https://form.mammutstructures.com/assets/img/backgrounds/main-title-bg.webp");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.bs-stepper .bs-stepper-main-title {
  color: #fff;
  font-size: 24px;
  font-family: "WOFF IRANSansX-ExtraBold";
  line-height: 65px;
}

.bs-stepper-header {
  padding: 0;
  display: flex;
  gap: 14px;
}

.bs-stepper-header .step .step-trigger {
  width: 195px;
  min-height: 45px;
  box-shadow: none !important;
  background: #EAEAEA;
  border-radius: 30px;
  padding-bottom: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative;
  cursor: pointer;
}

.bs-stepper-header .step .step-trigger:after {
  display: none;
}

.bs-stepper-header .step .step-trigger .bs-stepper-circle {
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 50% !important;
  background: #D9D9D9 !important;
  font-family: "WOFF IRANSansX-DemiBold" !important;
  font-size: 16px !important;
  position: absolute;
  right: -12px;
  color: #989898 !important;
}

.bs-stepper-header .step .step-trigger .bs-stepper-label {
  color: #9D9D9DB2;
  font-size: 16px;
  font-family: "WOFF IRANSansX-DemiBold";
}

.bs-stepper-header .step.active .step-trigger .bs-stepper-circle {
  background: #2B9348 !important;
  box-shadow: none !important;
  color: #fff !important;
}

.bs-stepper-header .step.active .step-trigger .bs-stepper-label {
  color: #2B9348;
}

.bs-stepper-header .step.active .step-trigger {
  border: 1px solid #2B9348;
}

.bs-stepper-content {
  width: 70%;
}

.bs-stepper-content .bs-stepper-content-heading {
  color: #001B54;
  font-family: 'WOFF IRANSansX-ExtraBold';
  font-size: 24px;
}

.bs-stepper-content .content-header {
  color: #111111;
  font-size: 14px;
}

/* Content Category Container */
.content-category-container {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #fff;
  color: #001B54;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 0.125rem 0.25rem rgba(147, 158, 170, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
}

.content-category-container button {
  margin-top: 10px;
}

.content-category-container:hover,
.content-category-container:focus {
  box-shadow: 0 0.25rem 1rem rgba(147, 158, 170, 0.45);
  background: #001B54;
  border-color: #001B54;
  outline: none;
}

.content-category-container:hover button,
.content-category-container:focus button {
  color: #fff;
}

.content-category-container:hover path,
.content-category-container:focus path {
  fill: #fff;
  stroke: #fff;
}

.content-category-container:has(button.btn-primary) {
  box-shadow: 0 0.25rem 1rem rgba(147, 158, 170, 0.45);
  background: #001B54;
  border-color: #001B54;
  outline: none;
}

.content-category-container:has(button.btn-primary) button {
  color: #fff;
}

.content-category-container:has(button.btn-primary) path {
  fill: #fff;
  stroke: #fff;
}

.content-category-container.disabled,
.content-category-container:disabled {
  background: #fff2e1 !important;
  color: #fdac41 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.bs-stepper-content .content-categories-container {
  display: flex;
  flex-wrap: no-wrap;
  justify-content: space-around;
  width: 100%;
  gap: 16px;
}

.bs-stepper-content .content-category-title {
  background: transparent;
  border: none;
  font-size: 16px;
  font-family: "WOFF IRANSansX-DemiBold";
  color: #3D3D3D;
}

/* Active state for roof buttons */
#typeRoofMain button.active,
#typeRoofMain .secondButtons.btn-warning {
  filter: grayscale(0%);
  box-shadow: 0 0.25rem 1rem rgba(147, 158, 170, 0.45);
}

/* Content Header Styles */
.bs-stepper-content .content-header p {
  font-size: 16px;
  color: #000000B2;
  line-height: 1.5em;
}

.bs-stepper-content #meterageMainForm label {
  font-size: 14px;
  color: #001B54;
  margin-bottom: 10px;
}

.bs-stepper-content #meterageMainForm input {
  background: #fff;
  border: none;
}

.bs-stepper-content #meterageMainForm .input-group-append {
  margin-top: 3px;
  margin-bottom: 3px;
}

.bs-stepper-content #meterageMainForm .input-group-text {
  font-size: 14px;
  color: #AFAFAF;
  border: none;
  border-right: 1px solid #AFAFAF;
}

.content-category-title:focus-visible {
  background: red !important;
}

button i {
  display: none;
}

.card-body .headtitle {
  font-size: 16px;
  color: #001B54;
}

.input-group {
  background: #fff;
  display: flex;
  align-content: center;
  align-items: center;
  border-radius: 8px;
}

#typeRoofMain button span {
  margin-top: 15px;
}

.content-header h6 {
  color: #001B54;
  font-family: 'WOFF IRANSansX-ExtraBold';
  font-size: 24px;
  margin-bottom: 10px !important;
}

.content-header small {
  font-size: 16px;
  color: #000000B2;
  line-height: 1.5em;
}

/* Panel Type Styles */
.panel-type-page-header-container {
  display: flex;
  gap: 5px;
  align-items: center;
}

.panel-type-selectors-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.panel-type-selector-container {
  width: 50%;
  margin-top: 40px;
}

.panel-type-selector-container label {
  font-size: 14px;
  color: #001B54;
  margin-bottom: 5px;
}

.foam-type-panel-title-contaner {
  margin-top: 75px;
  margin-bottom: 30px;
}

#step-three div.foam-active-input-container {
  width: 50% !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 34px !important;
}

#step-three label {
  font-size: 14px;
  color: #001B54;
  margin-bottom: 5px;
}

/* استایل چک‌باکس در حالت فعال */
.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* استایل لیبل وقتی چک‌باکس فعال است */
.form-check-input:checked + .form-check-label {
  color: #0d6efd;
  font-weight: 600;
}

/* وقتی چک‌باکس تیک خورده، فیلد متراژ رنگ و سایه بگیره */
.form-check-input:checked ~ .input-group .form-control {
  border-color: #0d6efd;
  box-shadow: 0 0 6px rgba(13, 110, 253, 0.4);
  opacity: 1;
}

/* حالت عادی فیلد */
.input-group .form-control[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}



input#hasBalcony:after {
  content: "";
  position: absolute;
  display: none;
}

input#hasBalcony:checked{
        background : #6fb584;
}

input#hasBalcony:checked ~ input#hasBalcony:after {
  display: block;
}

input#hasBalcony:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  background: #fff;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media (max-width: 768px) {
    .bs-stepper-main-title{
        font-size: 20px;
    }
    .bs-stepper-header {
        width: 100%;
        padding: 10px !important;
        flex-direction: row !important ;
        flex-wrap: no-wrap !important;
        overflow: auto !important;
    }
    .bs-stepper-header .line{
        display: none;
    }
    .step-trigger{
        padding-right: 25px !important;
    }
    .bs-stepper {
        padding: 20px;
        padding-top: 0;
        gap: 24px;
    }
    .bs-stepper-content{
        width:100%;
    }
    .content-header h6 {
        font-size: 16px !important;
    }
    .content-header p,
    .content-header small{
        font-size: 13px !important;
    }
    .bs-stepper-content .content-categories-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    }
    .content-category-container {
    width: 85px;
    height: 85px;
  }
  .content-category-container svg{
      width:30px;
      height:30px;
  }
  .content-category-container button{
      font-size:12px !important;
  }
  #typeRoofMain button{
    width: 85px;
    height: 85px;
    font-size: 12px !important;
    margin: 4px;
  }
  #typeRoofMain button svg{
      width:30px;
      height:30px;
  }
  .btn-next ,
  .btn-prev{
      color: #fff !important;
      font-size: 14px !important;
  }
  .d-none{
      display: block !important;
  }
  .card-body .headtitle{
      font-size: 16px ;
      line-height: 1.5em;
  }
  .card-body table{
      font-size: 13px !important;
  }
  .panel-type-selectors-container{
      flex-wrap: wrap;
      gap: 20px;
  }
  .panel-type-selector-container {
      width: 100%;
      margin-top:0px;
  }
  .form-info-container{
      width: 100% !important;
  }
  .foam-type-panel-title-contaner{
      margin-top: 20px;
  }
  #mainInvoice{
      max-width: 400px;
    overflow-x: auto; 
  }
  #mainInvoice table{
      font-size:14px;
  }
}


