/*
Theme Name: foodbakery Child
Theme URI:  https://www.wpserveur.net
Author:     Shukla Deepak
Author URI: https://www.wpserveur.net
Template:   foodbakery
Version:    1.0
License:    GNU General Public License v2 or later
*/


/* Align the driver radio with other options */
.publisher_profile_type+label {
	margin-left: 8px;
	display: inline-block;
	vertical-align: middle;
}

/* Specific small tweak for frontend layout (adjust as needed) */
.form-elements .col-lg-8 .publisher_profile_type {
	margin-right: 6px;
}

.restaurant-signup-link,
.driver-signup-link {
	display: inline-block;
	font-size: 14px;
	color: #399900;
	text-decoration: none;
	outline: none;
	cursor: pointer;
}

.signin-tab-link.new-driver-signin {
	margin-bottom: 10px;
	color: #2f313a;
}

.signin-tab-link.new-restaurant-signin {
	margin-bottom: 10px;
	color: #2f313a;
}

.login-form .forget-password {
	margin: 0 0 10px;
	color: #2f313a;
}


.foodbakery-register-driver {
	max-width: 600px;
	margin: 40px auto;
	padding: 35px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.foodbakery-register-driver h3 {
	text-align: center;
	margin-bottom: 25px;
	font-weight: 600;
	font-size: 24px;
}

.foodbakery-register-driver form p {
	margin-bottom: 18px;
}

.foodbakery-register-driver label {
	display: block;
	font-size: 15px;
	margin-bottom: 6px;
	color: #333;
}

.foodbakery-register-driver input[type="text"],
.foodbakery-register-driver input[type="email"],
.foodbakery-register-driver input[type="password"] {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #f9f9f9;
}

.foodbakery-btn {
	background: #ff5a5f !important;
	border: none !important;
	color: #fff !important;
	padding: 12px 25px !important;
	width: 100%;
	border-radius: 6px !important;
	cursor: pointer;
	font-size: 17px;
}

.foodbakery-btn:hover {
	background: #e94b50 !important;
}

.driver-signup-box {
	margin-top: 20px;
	text-align: center;
	font-size: 14px;
}

.register-success {
	background: #e8ffe8;
	border-left: 5px solid #39b24a;
	padding: 12px;
	margin: 15px 0;
	color: #256c34;
	border-radius: 6px;
}

.register-error {
	background: #ffeaea;
	border-left: 5px solid #e84343;
	padding: 12px;
	margin: 15px 0;
	color: #a12222;
	border-radius: 6px;
}


.gllpLatitude,
.gllpLongitude,
.field-holder label:contains("Latitude"),
.field-holder label:contains("Longitude") {
    display: none !important;
}


/* Login popup design */

/* Modal Container */
.custom-auth-modal {
    padding: 35px 25px 25px;
    border-radius: 15px;
    position: relative;
}

/* Close Button */
.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 30px;
    color: #666;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 999;
    transition: 0.2s ease-in-out;
}

.modal-close-btn:hover {
    color: var(--color_red);
    transform: scale(1.2) rotate(90deg);
}

/* Title */
.auth-title {
    font-family: var(--font_family_primary);
    color: var(--color_black_one);
    font-size: 22px;
}

/* Input wrapper */
.auth-field {
    position: relative;
}


#user-login .auth-field i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #888;
}

.wp_signup_form .auth-field i {
    position: absolute;
    left: 12px;
    top: 32%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #777;
    pointer-events: none;
}

.auth-field input {
    padding-left: 40px;
    height: 48px;
    border-radius: 10px;
}

/* Main buttons */
.auth-btn {
    background: var(--color_red) !important;
    color: #fff;
    height: 48px;
    border-radius: 10px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-btn:hover {
    opacity: 0.9;
    color: #fff;
}

a.social_login_login_google.gplus {
    width: -webkit-fill-available;
    justify-content: center;
    padding: 10px;
    height: 48px;
    background: #ff6b82;
    color: #fff;
}

/* Active / click */
.social_login_login_google:active {
    transform: scale(0.98);
}

/* Remove FoodBakery default list styles */
.social_login_ui ul {
    padding: 0;
    margin: 0;
}

.social_login_ui ul li {
    list-style: none;
    margin: 0;
}

/* Remove FoodBakery heading if needed */
.social_login_ui h6 {
    display: none;
}


.status-message {
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    text-align: center;
}

.status-message.error {
    color: #ff6b82;
}

.status-message.success {
    color: #4fbf84;
}

/* Switch text */
.switch-text a {
    color: var(--color_green_one);
}

.login-with-title {
    color: #2f313a;
    margin-bottom: 10px;
}

.custom-auth-modal {
   position: relative;
   padding: 20px 25px;
   border-radius: 12px;
   border: none;
}

.modal-close-btn {
   position: absolute;
   top: 10px;
   right: 10px;
   font-size: 26px;
   background: none;
   border: none;
   color: #333;
   cursor: pointer;
   z-index: 99;
}

.auth-title {
   font-size: 22px;
}

.auth-field input {
   width: 100%;
   padding: 10px 12px 10px 38px;
   border: 1px solid #ddd;
   border-radius: 6px;
}

.auth-btn {
   padding: 10px;
   background: #ff6600;
   color: #fff;
   border: none;
   border-radius: 6px;
   cursor: pointer;
}

.signup-alert {
   display: block;
   margin-top: -10px;
   margin-bottom: 10px;
   font-size: 13px;
   color: #777;
}

.checkbox-area label {
   font-size: 13px;
}

.social-media ul {
   list-style: none;
   padding: 0;
}

.social-media ul li a {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   padding: 8px 15px;
   background: #eee;
   border-radius: 6px;
}


.terms-inline label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.terms-inline input[type="checkbox"] {
    margin-top: 3px; 
}

.terms-inline a {
    color: #007bff;
    text-decoration: underline;
}

.terms-inline span {
    line-height: 1.4;
}


/* Target only the Terms & Conditions and Privacy Policy links inside the checkbox */
.checkbox-area.terms-inline a,
.checkbox-area.mt-3.terms-inline a {
    text-decoration: none !important;
    color: #333 !important;
    outline: none !important;
    transition: all 0.3s ease-in-out;
}

.checkbox-area.terms-inline a:hover,
.checkbox-area.terms-inline a:focus,
.checkbox-area.mt-3.terms-inline a:hover,
.checkbox-area.mt-3.terms-inline a:focus {
    color: #000 !important;         
    text-decoration: underline !important;  
}

.custom-auth-modal .input-filed,
.custom-auth-modal .auth-field,
.custom-auth-modal .modal-body,
.custom-auth-modal .modal-content { 
    display: block !important; 
    opacity: 1 !important;
    visibility: visible !important;
}
.custom-auth-modal .modal { z-index: 99999; }


.header_upper_login_area {
    position: relative;
    z-index: 1000;
}
.header_upper_login_area_inner {
    background: #fff;
    padding: 0;
}
.header_upper_login_area_inner .user-dashboard-menu > ul > li.menu-open > ul {
    right: 0;
    width: 100%;
    min-width: max-content;
}

.header_upper_login_area_inner .user-dashboard-menu > ul > li.user-dashboard-menu-children.menu-open > a {
    width: 100%;
    padding: 0 24px;
    border: 0;
    background: #fff;
    display: grid;
    grid-template-columns: max-content max-content max-content;
    align-items: center;
    gap: 14px;
}
.header_upper_login_area_inner .user-dashboard-menu li figure {
    all: unset;
}
.header_upper_login_after_area_inner .header_login_after_box .user-dashboard-menu > ul > li {
    padding: 0 10px;
}

