/*
 Theme Name:   Tara Rose Salon
 Theme URI:    https://generatepress.com
 Description:  Child theme built for Tara Rose Salon
 Author:       Leaders in Digital Media
 Author URI:   https://leadersindigitalmedia.com
 Template:     generatepress
 Version:      0.1
*/


.whatsapp-container {
  position: fixed;
  left: 20px;
  bottom: 40px;
  z-index: 9999999;
}
.whatsapp-button {
  height: 60px;
  width: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 0 25px -10px #0000007a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}
.whatsapp-button::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}
  .whatsapp-button svg {
    width: 35px;
    height: 35px;
}
@media screen and (min-width: 480px) { 
.whatsapp-button svg {
    width: 40px;
    height: 40px;
}
.whatsapp-button {
  height: 70px;
  width: 70px;
}
}
.whatsapp-options {
  display: none;
  position: absolute;
  bottom: 80px;
  left: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  width: 275px;
  overflow: hidden;
  margin-bottom: -10px;
  padding-bottom: 10px;
}
.whatsapp-option {
    display: flex;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
    align-content: center;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}
.whatsapp-option:hover {
  background: #f5f5f5;
}
.whatsapp-container:hover .whatsapp-options,
.whatsapp-options:hover {
  display: block;
}
span.whatsapp-icon {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Grvaity Forms Bahrain Landing page styles */
#landingForm {
    font-family: 'Poppins';
}

#landingForm .gform_page_footer{
  position: relative;
}

#landingForm .gform_page_footer input[type="submit"],
#landingForm .gform_page_footer input[type="button"]{
  position: relative;
}

/* place spinner near the active button */
#landingForm .gform_page_footer .gform_ajax_spinner,
#landingForm .gform_page_footer .gform-loader{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px; /* tweak */
  margin: 0;
}

.gform_required_legend {
	display: none;
}

.gform-theme--framework .gf_progressbar {
	background-color: rgba(255, 255, 255, 1);
}

@media (min-width: 767px){
.gform-theme--framework .gf_progressbar .gf_progressbar_percentage {
	block-size: 25px;
}
}

#landingForm  .gform-theme--foundation .gform_fields {
	row-gap: 20px;
}

@media (min-width: 767px){
#landingForm  .gform-theme--foundation .gform_fields {
	row-gap: 30px;
}
}

#landingForm .gform-theme--framework .Landing-Form  .gf_progressbar_title, #landingForm .gform-theme--framework .Landing-Form  .gf_step_label, #landingForm .gform-theme--framework .Landing-Form  .gf_step_number {
    color: #ffffff;
}

#landingForm .gform-page-footer.gform_page_footer.top_label {
    margin-top: 40px;
    justify-content: space-between;
}

#landingForm .gform-page-footer.gform_page_footer.top_label input, #landingForm #gform_next_button_1_5 {
	font-family: "Poppins", Sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	border-style: solid;
	border-width: 1px 1px 1px 1px;
	border-radius: 28px 28px 28px 28px;
	padding: 15px 10px 15px 10px;
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    transition: all 1s ease;
}

#landingForm #gform_page_1_4 #gform_previous_button_1 {
    display: none;
}

@media (min-width: 767px){
#landingForm .gform-page-footer.gform_page_footer.top_label input.gform_previous_button, #landingForm .gform-page-footer.gform_page_footer.top_label input.gform_next_button {
    width: 45%;
}

}

#landingForm .gform-page-footer.gform_page_footer.top_label input:hover {
 background-color: #ffffff;
 color: #000000;
}

#landingForm label, #landingForm .gfield_label {
   color: #ffffff;
   	font-family: "Poppins", Sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1em;
}

@media (min-width: 767px){
    #landingForm label, #landingForm .gfield_label {
      font-size: 18px;  
    }
}

#landingForm input {
	background-color: #798699;
	border-color: #FFFFFF;
	border-radius: 28px 28px 28px 28px;
    font-family: "Poppins", Sans-serif;
	font-size: 14px;
	font-weight: 400;
    color: #FFFFFF;
    min-height: 35px;
    padding: 7px 20px;
}

@media (min-width: 767px){
    #landingForm input {
        min-height: 50px;
        padding: 7px 20px;
    }
}

@media (min-width: 1024px){
    #landingForm .gform-theme--framework .gfield--type-choice .gfield_checkbox, #landingForm .gform-theme--framework .gfield--type-choice .gfield_radio {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.Landing-Form input::placeholder{
    opacity:1!important;
    font-size: 12px;
}


.Landing-Form .elementor-field-group .elementor-select-wrapper select {

    background-image: none;
}

/* Wrapper for radio buttons and checkboxes */
#landingForm .ginput_container_radio .gchoice, 
#landingForm .ginput_container_checkbox .gchoice {
    display: inline-block;
    margin: 0;
    position: relative;
    font-size: 14px;
}

/* Hide native radio + checkbox, keep them accessible */
#landingForm .gchoice input[type="radio"],
#landingForm .gchoice input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    inset: 0;
    pointer-events: none;
}

/* Pill-style button for both radio and checkbox labels */
#landingForm .gchoice label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    min-height: 38px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #d0d5dd;
    background: #798699;
    color: #ffffff;
    cursor: pointer;
    line-height: 1.3;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        color 0.15s ease;
}

@media (min-width: 767px){
    #landingForm .gchoice label {
        min-height: 58px;
    }   
}

/* Fake circle (icon area) for both types */
#landingForm .gchoice label::before {
    content: "";
    flex: 0 0 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d0d5dd;
    box-sizing: border-box;
    display: inline-block;
}

/* Hover state */
#landingForm .gchoice label:hover {
    border-color: #111827;
}

/* Checked state for BOTH radios and checkboxes */
#landingForm .gchoice input[type="radio"]:checked + label,
#landingForm .gchoice input[type="checkbox"]:checked + label {
    background: #f4f6ff;
    border-color: #111827;
    box-shadow: 0 0 0 1px #111827;
    color: #000000;
}

/* Filled circle with tick for BOTH */
#landingForm .gchoice input[type="radio"]:checked + label::before,
#landingForm .gchoice input[type="checkbox"]:checked + label::before {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
    content: "✓";
    font-size: 12px;
    text-align: center;
    line-height: 14px;
}

/* Keyboard focus ring */
#landingForm .gchoice input[type="radio"]:focus-visible + label,
#landingForm .gchoice input[type="checkbox"]:focus-visible + label {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Required field styling */
#landingForm .gfield_required {
    color: red;
    font-size: 12px;
    margin-left: 10px;
    padding-inline-start: .2em;
}