/* WTN Navigation Button Hover Effects */
.wrap_buttons.is-navigation a[href$="javascript:void(0)"]:hover,
.wrap_buttons.is-navigation a[onclick*="openWTNModal"]:hover {
  background-color: #032f50 !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px #032f50;
}

.wrap_buttons.is-navigation a[href$="contact.html"]:hover {
  background-color: #ffffff !important;
  color: #032f50 !important;
  box-shadow: inset 0 0 0 1px #032f50 !important;
}

/* WTN Modal Styles */
.wtn-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 47, 80, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wtn-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.wtn-modal-container {
  background: #fff;
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  color: #032f50;
}

.wtn-modal-overlay.active .wtn-modal-container {
  transform: translateY(0);
}

.wtn-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  color: #032f50;
  font-size: 24px;
  line-height: 1;
}

.wtn-modal-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.wtn-tab-btn {
  background: none;
  border: none;
  padding: 10px 0;
  font-weight: 600;
  color: #032f50;
  opacity: 0.5;
  cursor: pointer;
  position: relative;
}

.wtn-tab-btn.active {
  opacity: 1;
}

.wtn-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #032f50;
}

.wtn-form-content {
  display: none;
}

.wtn-form-content.active {
  display: block;
}

.wtn-auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wtn-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.wtn-input-group label {
  font-size: 14px;
  font-weight: 500;
}

.wtn-input-group input, 
.wtn-input-group select, 
.wtn-input-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
}

.wtn-submit-btn {
  background: #032f50;
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.wtn-submit-btn:hover {
  background: #054575;
}

.wtn-success-msg {
  text-align: center;
  display: none;
}

.wtn-success-msg h3 {
  margin-bottom: 10px;
}

/* Footer Subscribe Button Styling */
.button.is-footer-subscribe {
  background-color: transparent !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.button.is-footer-subscribe:hover {
  background-color: #ffffff !important;
  color: #032f50 !important;
}
/* Fix visibility of buttons in 'How We Can Help' section on market pages */
.section_markets_help .wrap_buttons.is-sign .button {
  border-color: #f6f8fd !important;
  color: #f6f8fd !important;
  transition: all 0.3s ease !important;
}

/* Specific style for the 'Contact us' (filled) button */
.section_markets_help .wrap_buttons.is-sign .button:not(.is--navigation) {
  background-color: #f6f8fd !important;
  color: #032f50 !important;
}

.section_markets_help .wrap_buttons.is-sign .button:not(.is--navigation):hover {
  background-color: transparent !important;
  color: #f6f8fd !important;
}

/* Specific style for the 'Login' (outlined) button, overriding inline styles */
.section_markets_help .wrap_buttons.is-sign .button.is--navigation {
  background-color: transparent !important;
  box-shadow: inset 0 0 0 1px #f6f8fd !important;
}

.section_markets_help .wrap_buttons.is-sign .button.is--navigation:hover {
  background-color: #f6f8fd !important;
  color: #032f50 !important;
}
