/* 11-post-requirement — Post Buy Requirement (RFQ) page.
   Loaded on every page in file-name order (see inc/core/assets.php). */

/* =========================================================
   PREMIUM POST REQUIREMENT
   ========================================================= */

.rfq-page{
  background:#f5f8fc;
  min-height:100vh;
  padding-bottom:90px;
}

/* =========================================================
   HERO
   ========================================================= */

.rfq-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 20%,rgba(255,255,255,.10),transparent 32%),
    radial-gradient(circle at 80% 80%,rgba(0,255,220,.12),transparent 35%),
    linear-gradient(115deg,#0d68d7 0%,#087fd1 48%,#09a6a0 100%);
  color:#fff;
  padding:78px 20px 170px;
}

.rfq-hero:after{
  content:"";
  position:absolute;
  width:500px;
  height:500px;
  right:-180px;
  top:-280px;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  filter:blur(4px);
}

.rfq-hero-inner{
  max-width:1180px;
  margin:auto;
  position:relative;
  z-index:2;
}

.rfq-hero-content{
  max-width:900px;
  margin:auto;
  text-align:center;
}

.rfq-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 18px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 8px 30px rgba(0,0,0,.08);
  font-size:11px;
  font-weight:800;
  letter-spacing:1.6px;
}

.rfq-hero h1{
  margin:25px 0 12px;
  font-size:58px;
  line-height:1.06;
  font-weight:850;
  letter-spacing:-1.8px;
  color:#071b42;
  text-shadow:0 2px 0 rgba(255,255,255,.15);
}

.rfq-hero p{
  margin:0;
  font-size:18px;
  color:rgba(255,255,255,.95);
  font-weight:500;
}

/* =========================================================
   MAIN CARD
   ========================================================= */

.rfq-section{
  max-width:1180px;
  margin:-110px auto 0;
  padding:0 20px;
  position:relative;
  z-index:5;
}

.rfq-card{
  display:grid;
  grid-template-columns:1.65fr .85fr;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(255,255,255,.85);
  border-radius:24px;
  overflow:hidden;

  box-shadow:
    0 35px 90px rgba(15,45,80,.16),
    0 10px 30px rgba(15,45,80,.07);

  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
}

/* =========================================================
   LEFT FORM
   ========================================================= */

.rfq-main{
  padding:58px 58px 48px;
}

.rfq-heading{
  margin-bottom:32px;
}

.rfq-heading span{
  display:block;
  color:#078bc9;
  font-size:11px;
  font-weight:850;
  letter-spacing:1.7px;
  margin-bottom:10px;
}

.rfq-heading h2{
  margin:0;
  color:#172d46;
  font-size:32px;
  line-height:1.2;
  letter-spacing:-.6px;
}

.rfq-heading p{
  color:#72849a;
  font-size:14px;
  line-height:1.7;
  margin:10px 0 0;
}

/* =========================================================
   FIELDS
   ========================================================= */

.rfq-field{
  margin-bottom:22px;
}

.rfq-field label{
  display:block;
  margin-bottom:8px;
  color:#263b51;
  font-size:13px;
  font-weight:700;
}

.rfq-field label span{
  color:#ef5350;
}

.rfq-field input,
.rfq-field select{
  width:100%;
  height:48px;
  box-sizing:border-box;
  border:1px solid #dce5ee;
  border-radius:9px;
  background:#fff;
  color:#24364b;
  padding:0 14px;
  font-size:14px;
  outline:none;

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.rfq-field input::placeholder{
  color:#9aa8b7;
}

.rfq-field input:focus,
.rfq-field select:focus{
  border-color:#168dde;
  box-shadow:
    0 0 0 4px rgba(22,141,222,.08),
    0 8px 25px rgba(22,141,222,.06);
}

/* =========================================================
   QUANTITY
   ========================================================= */

.rfq-quantity-row{
  display:grid;
  grid-template-columns:1fr 1.55fr;
}

.rfq-quantity-row input,
.rfq-quantity-row select{
  border-radius:0;
}

.rfq-quantity-row input{
  border-radius:9px 0 0 9px;
}

.rfq-quantity-row select{
  border-radius:0 9px 9px 0;
  border-left:0;
}

/* =========================================================
   SUPPLIER PREFERENCE
   FIXED PREMIUM RADIO BUTTONS
   ========================================================= */

.rfq-radio-grid{
  display:flex;
  align-items:center;
  gap:34px;
  flex-wrap:wrap;
}

/* Individual option */

.rfq-radio-card{
  position:relative;

  display:inline-flex;
  align-items:center;
  gap:9px;

  margin:0;
  padding:0;

  width:auto;
  min-width:0;

  border:0;
  outline:0;
  background:transparent;

  cursor:pointer;

  color:#42556a;
  font-size:14px;
  font-weight:500;

  line-height:1.2;

  box-shadow:none;

  transition:
    color .2s ease,
    transform .2s ease;
}

/* Remove any browser/theme radio */

.rfq-radio-card input[type="radio"]{
  position:absolute !important;

  width:1px !important;
  height:1px !important;

  margin:0 !important;
  padding:0 !important;

  opacity:0 !important;

  appearance:none !important;
  -webkit-appearance:none !important;

  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;

  pointer-events:none;
}

/* Outer circle */

.rfq-radio-dot{
  position:relative;
  display:inline-block;
  width:13px !important;
  height:13px !important;
  min-width:13px !important;
  min-height:13px !important;
  max-width:13px !important;
  max-height:13px !important;
  padding:0 !important;
  margin:0 !important;
  flex:0 0 19px;
  box-sizing:border-box;
  border:1.5px solid #91a5ba;
  border-radius:50%;
  background:#fff;
  box-shadow:none;
  transform:none;
}

/* Selected outer circle */

.rfq-radio-card input[type="radio"]:checked + .rfq-radio-dot{
  border-color:#176ed1;

  box-shadow:
    0 0 0 3px rgba(23,110,209,.08);
}

/* Selected center dot */

.rfq-radio-card input[type="radio"]:checked + .rfq-radio-dot::after{
  content:"";
  position:absolute;
  width:5px !important;
  height:5px !important;
  min-width:5px;
  min-height:5px;
  max-width:5px;
  max-height:5px;
  left:50%;
  top:50%;
  margin:0;
  padding:0;
  transform:translate(-50%,-50%);
  border:0;
  border-radius:50%;
  background:#176ed1;
  box-shadow:none;
}

/* Text */

.rfq-radio-card > span:last-child{
  display:inline-block;
  width:auto;
  margin:0;
  padding:0;
  color:#42556a;
  font-size:14px;
  font-weight:500;
  line-height:1.2;
  white-space:nowrap;
}

/* Selected text */

.rfq-radio-card input[type="radio"]:checked ~ span:last-child{
  color:#263f5a;
  font-weight:400;
}

/* Hover */

.rfq-radio-card:hover{
  color:#176ed1;
}

.rfq-radio-card:hover .rfq-radio-dot{
  border-color:#176ed1;
}

/* =========================================================
   PHONE
   ========================================================= */

.rfq-phone{
  display:flex;
  height:48px;
  border:1px solid #dce5ee;
  border-radius:9px;
  overflow:hidden;
  background:#fff;
}

.rfq-phone span{
  display:flex;
  align-items:center;
  padding:0 13px;
  background:#f7f9fb;
  border-right:1px solid #dce5ee;
  color:#596b7c;
  font-size:13px;
  white-space:nowrap;
}

.rfq-phone input{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* =========================================================
   MESSAGE
   ========================================================= */

.rfq-message{
  min-height:20px;
  margin:0 0 8px;
  font-size:13px;
  font-weight:600;
}

/* =========================================================
   BUTTON
   ========================================================= */

.rfq-submit{
  width:100%;
  min-height:54px;
  border:0;
  border-radius:10px;

  background:
    linear-gradient(
      135deg,
      #1454c4 0%,
      #126ed5 50%,
      #08a49f 100%
    );

  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;

  font-size:15px;
  font-weight:800;

  cursor:pointer;

  box-shadow:
    0 12px 28px rgba(17,105,205,.24),
    inset 0 1px 0 rgba(255,255,255,.25);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

.rfq-submit:hover{
  transform:translateY(-2px);
  filter:brightness(1.04);

  box-shadow:
    0 18px 35px rgba(17,105,205,.28),
    inset 0 1px 0 rgba(255,255,255,.3);
}

.rfq-submit:active{
  transform:translateY(0);
}

.rfq-submit:disabled{
  opacity:.65;
  cursor:not-allowed;
  transform:none;
}

/* =========================================================
   TERMS
   ========================================================= */

.rfq-terms{
  text-align:center;
  margin-top:13px;
  color:#788797;
  font-size:11px;
  line-height:1.6;
}

.rfq-terms a{
  color:#536a80;
  text-decoration:underline;
}

.rfq-terms a:hover{
  color:#116fd2;
}

/* =========================================================
   RIGHT SIDE
   ========================================================= */

.rfq-benefits{
  padding:48px 38px;

  background:
    linear-gradient(
      180deg,
      #f7fbff 0%,
      #f2f9fc 100%
    );

  border-left:1px solid #e7edf3;
}

.rfq-benefit-title{
  padding-bottom:17px;
  margin-bottom:8px;

  border-bottom:1px solid #dfe7ee;

  position:relative;
}

.rfq-benefit-title:after{
  content:"";

  position:absolute;

  left:0;
  bottom:-1px;

  width:47px;
  height:3px;

  background:
    linear-gradient(
      90deg,
      #f36a21,
      #ff8a35
    );

  border-radius:3px;
}

.rfq-benefit-title h3{
  margin:0;

  color:#263d54;

  font-size:22px;
  font-weight:750;

  letter-spacing:-.3px;
}

/* =========================================================
   BENEFITS
   ========================================================= */

.rfq-benefit{
  display:flex;
  gap:17px;

  padding:28px 0;

  border-bottom:1px solid #e2e9ef;
}

.rfq-benefit:last-child{
  border-bottom:0;
}

.rfq-benefit-icon{
  width:50px;
  height:50px;
  min-width:50px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:14px;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #edf5fb
    );

  color:#126ed1;

  font-size:28px;
  font-weight:700;

  border:1px solid rgba(20,110,205,.08);

  box-shadow:
    0 10px 25px rgba(30,70,100,.10),
    inset 0 1px 0 #fff;
}

.rfq-icon-clock{
  color:#f05d5d;
}

.rfq-icon-supplier{
  color:#0c9a87;
}

.rfq-icon-choice{
  color:#e24d62;
}

.rfq-benefit h4{
  margin:2px 0 6px;

  color:#263d54;

  font-size:16px;
  font-weight:750;
}

.rfq-benefit p{
  margin:0;

  color:#7b8794;

  font-size:12px;
  line-height:1.55;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:900px){

  .rfq-card{
    grid-template-columns:1fr;
  }

  .rfq-benefits{
    border-left:0;
    border-top:1px solid #e7edf3;
  }

}

@media(max-width:640px){

  .rfq-hero{
    padding:55px 15px 120px;
  }

  .rfq-hero h1{
    font-size:36px;
    letter-spacing:-1px;
  }

  .rfq-hero p{
    font-size:15px;
  }

  .rfq-section{
    padding:0 12px;
    margin-top:-75px;
  }

  .rfq-main{
    padding:30px 20px;
  }

  .rfq-benefits{
    padding:30px 20px;
  }

  .rfq-quantity-row{
    grid-template-columns:1fr;
  }

  .rfq-quantity-row input{
    border-radius:9px 9px 0 0;
  }

  .rfq-quantity-row select{
    border-left:1px solid #dce5ee;
    border-top:0;
    border-radius:0 0 9px 9px;
  }


  /* MOBILE SUPPLIER PREFERENCE */

  .rfq-radio-grid{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }

  .rfq-radio-card{
    width:auto;
  }

}
