/**
 * Custom CSS for ebusiness theme overrides
 * This file loads on all pages with high priority to override theme styles
 */

/* Add your custom CSS overrides here */
/**
 * Custom CSS for ebusiness theme overrides
 * This file loads on all pages with high priority to override theme styles
 */

/* Add your custom CSS overrides here */
.custom_service ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.custom_service li {
  text-align: center;
  clear: both;
  float: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 10px;
}

.custom_service li i {
  float: none;
  margin: 10px auto;
}

.custom_service h4 {
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .custom_service ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .custom_service ul {
    grid-template-columns: repeat(1, 1fr);
  }
}
.about-us-link {
  margin-top: 18px;
}

/* =============================================
   Password Strength Feedback Styling (zxcvbn)
   ============================================= */

/* Main container */
.password-strength-feedback {
  margin-top: 10px;
  padding: 12px 15px;
  background-color: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #e9ecef;
}

/* Progress bar container */
.password-strength-feedback .progress-container {
  margin-bottom: 8px;
}

.password-strength-feedback .progress {
  height: 6px;
  background-color: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
}

.password-strength-feedback .progress-bar {
  height: 100%;
  width: 0;
  transition: width 0.3s ease, background-color 0.3s ease;
  border-radius: 3px;
}

/* Strength text */
.password-strength-feedback .password-strength-text {
  font-weight: 600;
  font-size: 13px;
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

/* Policy requirements container */
.password-strength-feedback .password-policy-requirements {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e9ecef;
}

.password-strength-feedback .password-policy-requirements p {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #6c757d;
  padding: 4px 0;
  margin: 0;
  transition: color 0.2s ease;
}

/* Requirement icons */
.password-strength-feedback .req-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #dee2e6;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.password-strength-feedback .req-icon::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #adb5bd;
}

/* Valid state */
.password-strength-feedback .req-icon.valid {
  background-color: #28a745;
}

.password-strength-feedback .req-icon.valid::before {
  content: '✓';
  width: auto;
  height: auto;
  background: none;
  color: white;
  font-size: 10px;
  font-weight: bold;
}

/* Invalid state */
.password-strength-feedback .req-icon.invalid {
  background-color: #dc3545;
}

.password-strength-feedback .req-icon.invalid::before {
  content: '✕';
  width: auto;
  height: auto;
  background: none;
  color: white;
  font-size: 9px;
  font-weight: bold;
}

/* Password input border states */
input.js-password-strength.border-success {
  border-color: #28a745 !important;
}

input.js-password-strength.border-danger {
  border-color: #dc3545 !important;
}

/* Hide template */
template#password-feedback {
  display: none;
}

body.ybc-skin-custom {
  background-color: #F8F6F0;
}

.ets_mm_megamenu {
  background-color: #F8F6F0;
}

.form-control {
  border: 1px solid #333333;
}

#header .header-nav a:hover {
  color: #F8F6F0 !important;
}

/* Override button styles - white background with dark border/text */
body.ybc-skin-custom .button, 
body.ybc-skin-custom button,
body.ybc-skin-custom .btn,
body.ybc-skin-custom .btn-default,
body.ybc-skin-custom .ajax_add_to_cart_button span,
body.ybc-skin-custom .box-info-product .exclusive,
body.ybc-skin-custom .functional-buttons {
  background: #333333;
  color: #F8F6F0;
  border-color: #333333;
}

/* Button hover state */
body.ybc-skin-custom .button:hover,
body.ybc-skin-custom button:hover,
body.ybc-skin-custom .btn:hover,
body.ybc-skin-custom .btn-default:hover {
  background: #F8F6F0;
  color: #333333;
  border: 1px solid #333333;
}

.input-group.focus {
  outline: 0.1875rem solid #333333;
}

#header .header-nav {
  background-color: #333333;
}

#footer {
  background-color: #333333;
}

#footer .block_newsletter form input[type="text"] {
  border: 1px solid #F8F6F0;
}

#footer a:hover {
  color: #F8F6F0;
}

.mls_nav > div {
  background-color: #333333;
}

.ets-ttn-home-reviews .ets-ttn-follow-title {
  color: #333333;
}

.ets-ttn-list-reviews-slide button.slick-arrow {
  background-color: transparent;
  color: #333333;
}

#module-fcgenderselect-gender .page-header {
  display: none;
}

@media (min-width: 768px) {
  .ets_mm_megamenu.sticky_enabled.scroll_heading {
    padding: 5px 0;
  }
  #header .layout_layout5:not(.ets-dir-rtl) .mm_menus_ul .mm_menus_li:nth-child(2){
    background-color: #333333;
    border-radius: 25px;
    color: #F8F6F0;
  }
  #header .layout_layout5:not(.ets-dir-rtl) .mm_menus_ul .mm_menus_li:nth-child(2) > a {
    padding-left: 15px;
    color: #F8F6F0;
  }
}

/* =============================================
   Password Reset Form Design
   ============================================= */
.password-reset-form {
    max-width: 450px;
}

.password-reset-form .form-fields {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.password-reset-form .form-group {
    display: flex;
    flex-direction: column;
}

.password-reset-form .form-control-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.password-reset-form .email-display {
    margin: 0;
    padding: 0.5rem 0;
    color: #666;
    font-weight: 500;
}

.password-reset-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 0;
}

.password-reset-form .form-control:focus {
    border-color: #333;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.password-reset-form .form-footer {
    margin-top: 1.5rem;
}

.password-reset-form .btn-primary {
    background-color: #333;
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0;
    cursor: pointer;
}

.password-reset-form .btn-primary:hover {
    background-color: #555;
}

/* Password Reset Form - Label and Input Fixes */
.password-reset-form .form-control-label {
    text-align: left;
}

.password-reset-form .input-group {
    display: flex;
    align-items: stretch;
}

.password-reset-form .input-group .form-control {
    flex: 1;
    height: auto;
}

.password-reset-form .input-group .input-group-btn {
    display: flex;
}

.password-reset-form .input-group .input-group-btn .btn {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0;
}

#footer .block_newsletter form input[type="text"],
#footer .block_newsletter form input[type="text"]:focus {
  color: #F8F6F0;
}

#footer p.alert.alert-success.block_newsletter_alert {
  color: #333333;
}

/* Newsletter submit icon - base state */
.block_newsletter form .newsletter_submit:after {
  color: #F8F6F0; /* Light color for dark footer */
}

/* Newsletter submit icon - hover state */
.block_newsletter form .newsletter_submit:hover::after,
.block_newsletter form .newsletter_submit input.btn:hover {
  color: #F8F6F0;
  border-color: #F8F6F0;
}

.contact-form {
  background: transparent;
}