/* ==========================================
   1. CAPTCHA & GENERAL INPUTS
   ========================================== */
.caret,
.icon {
  opacity: 0.7;
}

.captcha-box {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.captcha-box img {
  border: 1px solid #00000021;
  height: 58px;
  border-radius: 0;
}

.captcha-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.captcha-input-wrapper input {
  padding-right: 30px;
}

.refresh-btn {
  width: 10% !important;
  background: 0 0 !important;
  border: none !important;
  position: absolute !important;
  right: 10px !important;
  cursor: pointer !important;
  color: #333 !important;
}

/* ==========================================
   2. CUSTOM PHONE BOX & COUNTRY SELECTOR
   ========================================== */
.phone-box {
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
  padding: 0 12px;
  background: #fff;
  color: #000;
}

.country-box-1,
.country-dropdown li {
  align-items: center;
  display: flex;
  cursor: pointer;
}

.country-box-1 {
  gap: 8px;
}

.country-box-1 img,
.country-dropdown img {
  width: 22px;
  height: 16px;
  border-radius: 2px;
}

.phone-input {
  flex: 1;
  margin-left: 12px;
  background: 0 0;
  border: none;
  outline: 0;
  color: #fff;
  font-size: 16px;
}

.phone-input::placeholder {
  color: #aaa;
}

.icon {
  font-size: 18px;
}

.country-dropdown input,
.country-name {
  font-size: 14px;
  color: #fff;
}

.country-dropdown ul::-webkit-scrollbar {
  display: none;
  width: 0 !important;
}

.country-dropdown li span {
  color: #fff;
}

.country-dropdown li img {
  width: 22px;
  height: 16px;
}

.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #141414;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 99;
  overflow: hidden;
}

.country-box-1.open .country-dropdown {
  display: block;
}

.country-dropdown input {
  width: 100%;
  padding: 12px;
  background: #0f0f0f;
  border: none;
  outline: 0;
}

.country-dropdown ul {
  max-height: 280px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.country-dropdown li {
  gap: 10px;
  padding: 10px 14px;
  transition: background 0.15s;
}

.country-dropdown li:hover {
  background: #1f1f1f;
}

.country-code {
  margin-left: auto;
  font-size: 13px;
  color: #aaa;
}

/* ==========================================
   3. INT-TEL-INPUT (ITI) PLUGIN STYLES
   ========================================== */
.iti {
  position: relative;
  width: 100%;
  display: inline-block;
}

.iti * {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.iti-mobile .iti--container {
  z-index: 10000000;
}

.iti__hide {
  display: none;
}

.iti__v-hide {
  visibility: hidden;
}

.iti input,
.iti input[type="tel"],
.iti input[type="text"] {
  position: relative;
  z-index: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-right: 36px;
  margin-right: 0;
}

.iti__flag-container {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  padding: 1px;
}

.iti__selected-flag {
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 6px 0 8px;
}

.iti__arrow {
  margin-left: 6px;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid #555;
}

.iti__arrow--up {
  border-top: none;
  border-bottom: 4px solid #555;
}

.iti__country-list {
  position: absolute;
  z-index: 2;
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0 0 0 -1px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #ccc;
  white-space: nowrap;
  max-height: 200px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

.iti__country-list--dropup {
  bottom: 100%;
  margin-bottom: -1px;
}

.iti__flag-box,
.iti__flag {
  display: inline-block;
}

.iti__flag-box {
  width: 20px;
}

.iti__flag {
  background-size: 5652px 15px;
}

/* ==========================================
   4. MEDIA QUERIES
   ========================================== */
@media (max-width: 990px) {
  .country-box-1 {
    width: 100% !important;
  }
}

@media (max-width: 500px) {
  .iti__country-list {
    white-space: normal;
  }
}


//* Enquiry Form Starts */

.iti--separate-dial-code .iti__selected-flag{
    background : transparent !important;
}

.iti--separate-dial-code .iti__selected-dial-code{
    color: #fff !important;
}

.enquire-btn.show-mobile{
    display : none;
}

.sliding-form-container{
    z-index: 100000;
    top: 0;
    width: 100vw;
    height: 100%;
    position: fixed;
    overflow: hidden;
    pointer-events: none;			
}

.sliding-form-container.active{
    pointer-events: auto;
}

.sliding-form-container .under-lay{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #0B1F3A;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.sliding-form{
    position: absolute;
    background: #0B1F3A;
    background-image: url(/assets/images/home/grid.png);
    background-size: cover;
    background-position: center;
    width: 35vw;
    height: 100vh;
    z-index: 100000;
    top: 0;
    bottom: 0;
    right: 0;
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
}

.backdrop-image {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0;
}

.backdrop-image {
    opacity: 1;
}

.sliding-form-container.active .sliding-form{
    transform: translateX(0%);
}

.sliding-form-container.active .under-lay{
    opacity: 0.7;
}

.close-btn-form-slider{
    position: relative;
    height: auto;
    width: auto;
    margin-top: 30px;
    margin-left: 30px;
    object-fit: contain;
    object-position: center;
    background-color: transparent;
    border: none;
    color: #ffffff;
    font-size: xx-large;
    cursor: pointer;
}

.close-btn-form-slider img{
    width: 25px;
    cursor: pointer;
}

.contact-form-csr{
    padding: 2rem;
    padding-top: 1rem;
    margin: auto;
}

.contact-form-csr h3{
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 25px 0;
    color: #1A1A1A;
}

.contact-form-csr .left h3{
    font-size: 4.8rem;
    font-weight: 700;
}

.contact-form-csr .right{
    width: 100%;
    height: 85vh;
    overflow-y: scroll;
    scrollbar-width: none;
    padding: 15px;
    border-radius: 22px;
    background: #fff;
}

.contact-form-csr .right form{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-bottom : 50px;		
}

/* Changed layout to match vertical stack from the image */
.phone-email-container{
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* FIXED: Changed color from #fff to dark blue so typed text is visible */
.contact-form-csr .right form input {
    width: 100%;
    border: none;
    background: transparent;
    color: #0B1F3A; 
    font-size: 16px;
    font-weight: 500;
}

.contact-form-csr .right form .input-content-container {
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    position: relative;
    height: 55px;
    border: 1px solid #A0AEC0; /* Matches the subtle gray borders in image */
    border-radius: 8px;
    transition: all 0.3s ease-in-out; 
}

.submit_text{
    color: #757575;
    width: 100%;
    justify-content: space-between;
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size:10px;
}

/* Styled active state border color to match the orange theme on focus */
.contact-form-csr .right form .input-content-container:focus-within {
    border-color: #B66A3C80;
    color:#B66A3C80;
}

.contact-form-csr .right form .input-content-container:focus-within {
    border-color: #B66A3C80;
}

.contact-form-csr .right form .input-content-container:focus-within img{
        filter: invert(47%) sepia(20%) saturate(1612%) hue-rotate(341deg) brightness(93%) contrast(85%);
}

.contact-form-csr .right form .input-content-container img{
    width: 21px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}



.contact-form-csr .right form input::placeholder{
    color: #718096;
}

/* FIXED: Textarea background updated to white to match input containers */
.contact-form-csr .right form textarea{
    width: 100%;
    height: 110px;
    background: #fff;
    border: 1px solid #A0AEC0;
    border-radius: 8px;
    color: #0B1F3A;
    font-size: 16px;
    font-weight: 500;
    padding: 15px;
    resize: none;
}

.contact-form-csr .right form textarea:focus {
    outline: none;
    border-color: #B66A3C;
}

.contact-form-csr .right form textarea::placeholder{
   color: #718096;
}

.contact-form-csr .right form select{
    width: 100%;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: #0B1F3A;
    height: auto;
    appearance: none;
}

.contact-form-csr .right form select:focus{
    outline: none;
}

.contact-form-csr .right form input:focus{
    outline: none;
}

/* UPDATED: SUBMIT button centered and styled like the image */
.contact-form-csr .right form input.submit-btn{
    width: 55%;
    max-width: 240px;
    background-color: #0B1F3A;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    padding: 14px 0;
    margin: 20px auto 0 auto;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
}

.contact-form-csr .right form input.submit-btn:hover {
    background-color: #061224;
}

.return-shop a{
    width: 25.7rem;
    background-color: #006b3e;
    border: none;
    border-radius: 1.5rem;
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    padding: 1.4rem 0;
    text-decoration: none;
}

.submitbtnheader{
    background-color: #0B1F3A;
    border: 1px solid #0B1F3A66;
    color:#fff;
    width:180px;
    margin:auto;
    padding:14px 56px;
    border-radius:10px;
    font-size:20px;
    font-weight:600;
    cursor: pointer;

}

.are-you-conposting-container{
    background-color: #fff;
    padding: 10px;
}

.are-you-conposting-container h5{
    font-weight: 700;
}

.contact-form-csr .buttons-container{
    display : flex;
    width : 50%;		
}

.contact-form-csr .right form .radio-btn-container {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 10px 0;
    width: 50%;
}

.contact-form-csr .right form .radio-btn-container input {
    margin-bottom: 0;
    cursor: pointer;
    width: auto;
    font-weight: 700;
    height: 20px;
    width: 20px;
}

.contact-form-csr .right form .radio-btn-container label {
    font-size : 20px;
}

.text-danger{
    color : #dc3545;
}

.rows, .are-you-conposting-container{
    display : flex;
    justify-content : space-between;
    flex-direction: column;
    gap: 20px;
}

.are-you-conposting-container{
    align-items : center;
}

.cols{
    width : 100%;
}

#are-you-composting{
    margin-bottom : 0;
}

.dropdown-menu li a {
    width: max-content;
}

.navbar ul.dropdown-menu li a:hover{
    background: linear-gradient(to right, #090909, #0024F2) !important;
    color: #fff !important;
}

.navbar-nav{
    gap: 40px;
    align-items: center;
}



@media (max-width: 990px) {
    .phone-email-container{
        flex-direction: column;
    }
  
    .fa-times{
        font-size:36px;
    }

    .nav-item .dropdown-menu {
        width: 100%;
        position: relative;
    }

    .nav-item .dropdown-menu a{
        color:#FFFFFF !important;
    }

    .nav {
    right: -100%;
    transition: right 0.5s ease;
}

.nav.open {
    right: 0;
    background-image: url(/assets/images/home/grid.png);
    background-size: cover;
    background-position: center;
}

    .contact-form-csr .right {
        width: 100% !important;
        height: 90vh !important;
        overflow-y: scroll !important;
        scrollbar-width: none !important;
    }

    .enquire-btn.show-mobile{
        font-size: 20px;
        display: block;
        position: fixed;
        z-index: 1000;
        display: none;
    }

    .enquire-btn {
        position: fixed;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 95vw;
        padding: 15px 0;
        font-weight: 600;
        font-size: 24px;
        border-radius: 10px;
        color: #fff;
        border: none;
        text-align: center;
        cursor: pointer;
        transition: 0.3s;
        z-index: 9999; 
        text-shadow: 0px 2px 4px rgb(0 0 0);
        box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.25);
        opacity: 0;
        transition: opacity 0.6s ease-in-out;
    }
    
    .enquire-btn.visible {
        opacity: 1;
    }

    .contact-form-csr .right form input{
        font-size : 16px;
    }
    
    .are-you-conposting-container h5{
        font-size : 16px;
    }
    
    .contact-form-csr .right form .radio-btn-container label{
        font-size : 16px;
    }
    
    .contact-form-csr .right form select{
        font-size : 16px;
        padding: 10px 10px;
    }
    
    .contact-form-csr .right form textarea{
        font-size : 16px;
        height : 90px;
    }

    .contact-form-csr .right form input.submit-btn{
        font-size : 16px;
        width: 70%;
        margin: 15px auto 0 auto;
    }
    
    .contact-form-csr{
        padding: 1rem;
    }
    
    .sliding-form{
        width: 100vw;
        transform: translateY(100%);
        transition: transform 0.5s ease-in-out;
    }

    .sliding-form-container.active .sliding-form{
        transform: translateY(3%);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .close-btn-form-slider{
        margin-top: 10px;
    }
    
    .rows.mobile-cols{
        flex-direction: column;
        gap: 10px;
    }
    
    .are-you-conposting-container{
        flex-direction: column;
        align-items: flex-start;
    }
    
    .rows.mobile-cols .cols{
        width : 100%;
    }
    
    .contact-form-csr h3 {
        font-size: 22px;
        margin: 0px 0 10px 0;
    }

    .contact-form-csr .right form .input-content-container{
            padding: 8px 10px;
            height: 40px;
    }    
    .close-btn-form-slider img {
        width: 20px;
    }		
    
    .buttons-container{
        width : 100%;		
    }

    .margin-container{
        padding: 0 20px;
    }
    
    .fa-bars {
        font-size: 27px;
    }
}
/* Enquiry Form Ends */