/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*Style Copied From Salient Theme*/

/* Card Container Styles */
.td_card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.td_card-box {
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.td_card-box-full {
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.td_card-box-full .container-wrap {
  padding-bottom: 0;
}

.td_card-box-full h2 {
  color: #071d3d;
}

.td_card-box-full p {
  color: #071d3d;
}

.td_card-box h1,
.td_card-box h2 {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 1.8rem;
}

.td_card-box p {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Button Styles */
.td_btn,
.td_btn-outline {
  display: inline-block;
  font-family: "nunito", sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border: 2px solid #071d3d;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.td_btn {
  background: #071d3d;
  color: #fff;
}

.td_btn:hover {
  background: transparent;
  color: #071d3d;
}

.td_btn-outline {
  background: transparent;
  color: #071d3d;
}

.td_btn-outline:hover {
  background: #071d3d;
  color: #fff;
}

.td_btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

/* Alert/Error Message Styles */
.td_alert {
  text-align: left;
}

.td_alert-error {
  background: linear-gradient(135deg, #ffeaea 0%, #fff5f5 100%);
  border: 1px solid #f44336;
  border-left: 4px solid #f44336;
  color: #c62828;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(244, 67, 54, 0.15);
  position: relative;
  overflow: hidden;
}

.td_alert-success {
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f9f0 100%);
  border: 1px solid #4caf50;
  border-left: 4px solid #4caf50;
  color: #2e7d32;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15);
  position: relative;
  overflow: hidden;
}

/* Login Page Spacing */
.page-template-template-login .td_card-container {
  padding: 4rem 0;
}

.page-template-template-login .td_card-box h1 {
  font-size: 2.2rem;
  text-align: left;
  color: #071d3d;
}

/* Login Form Specific Styles */
.td_login-form-wrapper {
  text-align: left;
  margin-top: 1rem;
}

.td_login-form-wrapper label {
  display: block;
  margin-bottom: 0.25rem;
  color: #333;
  font-weight: 500;
}

.td_login-form-wrapper input[type="text"],
.td_login-form-wrapper input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e1e5e9;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Checkbox and Remember Me styling */
.td_login-form-wrapper .forgetmenot {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.td_login-form-wrapper .forgetmenot input[type="checkbox"] {
  margin-right: 0.5rem;
  margin-bottom: 0;
  width: auto;
}

.td_login-form-wrapper .forgetmenot label {
  margin-bottom: 0;
  cursor: pointer;
}

.td_login-form-wrapper input[type="submit"] {
  background: #071d3d;
  color: #fff;
  padding: 0.75rem 2rem;
  border: 4px solid #071d3d;
  border-radius: 30px;
  font-family: "nunito", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  margin-top: 0.5rem;
}

.td_login-form-wrapper input[type="submit"]:hover {
  background: transparent;
  color: #071d3d;
  border-width: 4px !important;
}

/* Forgot password link alignment */
.reset-password-link {
  text-align: left;
  margin-top: 1rem;
}

/* Magic Login full-width section inside the card */
.td_magic-login-wrapper {
  /* Ensure it spans the entire card width and not centered by plugin defaults */
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Override Magic Login plugin container fixed width */
.td_magic-login-wrapper #magic-login-shortcode {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: flex-start;
}

/* Ensure inner blocks span full row if plugin uses flex items */
.td_magic-login-wrapper #magic-login-shortcode > * {
  flex: 1 1 100%;
}

.td_magic-login-wrapper #magic-login-shortcode .message {
  text-align: left;
}

/* If the shortcode outputs an inner container, make it full width */
.td_magic-login-wrapper > * {
  max-width: 100% !important;
}

/* Normalize common plugin form styles inside magic login */
.td_magic-login-wrapper form {
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

.td_magic-login-wrapper h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: left;
  color: #071d3d;
}

.td_magic-login-wrapper input[type="email"],
.td_magic-login-wrapper input[type="text"] {
  width: 100%;
}

.td_magic-login-wrapper input[type="submit"],
.td_magic-login-wrapper button,
.td_magic-login-wrapper .button {
  width: auto !important;
  display: inline-block;
  background: #071d3d !important;
  color: #fff !important;
  padding: 0.75rem 2rem !important;
  border: 4px solid #071d3d !important;
  border-radius: 30px !important;
  font-family: "nunito", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.td_magic-login-wrapper input[type="submit"]:hover,
.td_magic-login-wrapper button:hover,
.td_magic-login-wrapper .button:hover {
  background: transparent !important;
  color: #071d3d !important;
  border-width: 4px !important;
}

/* Contact Form 7 Styling */

/* Success Messages (Thank You) */
.wpcf7 form.sent .wpcf7-response-output {
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f9f0 100%);
  border: 1px solid #4caf50;
  border-left: 4px solid #4caf50;
  color: #2e7d32;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.15);
  position: relative;
  overflow: hidden;
}

/* Error Messages */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  background: linear-gradient(135deg, #ffeaea 0%, #fff5f5 100%);
  border: 1px solid #f44336;
  border-left: 4px solid #f44336;
  color: #c62828;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(244, 67, 54, 0.15);
  position: relative;
  overflow: hidden;
}

/* Loading/Submitting State */
.wpcf7 form.submitting .wpcf7-response-output {
  background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
  border: 1px solid #2196f3;
  border-left: 4px solid #2196f3;
  color: #1565c0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
  position: relative;
  overflow: hidden;
}

/* Field Validation Messages */
.wpcf7-not-valid-tip {
  background: #ffeaea;
  border: 1px solid #f44336;
  border-radius: 4px;
  color: #c62828;
  padding: 0.5rem 0.75rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: block;
  position: relative;
  box-shadow: 0 1px 3px rgba(244, 67, 54, 0.1);
}

.wpcf7-not-valid-tip::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 1rem;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #f44336;
}

/* Form Input Validation States */
.wpcf7-form-control.wpcf7-not-valid {
  border-color: #f44336 !important;
  box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1) !important;
}

.wpcf7-form-control.wpcf7-not-valid:focus {
  border-color: #f44336 !important;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2) !important;
}

/* General CF7 Form Improvements */
.wpcf7-form {
  position: relative;
  text-align: left;
}

/* CF7 Label Styling */
.wpcf7-form label {
  display: block;
  text-align: left;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

/* CF7 Form Row Spacing */
.wpcf7-form p {
  /* margin-bottom: 1rem; */
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
  border: 1px solid #e1e5e9;
  border-radius: 4px;
  padding: 0.75rem;
  font-size: 1rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  width: 100%;
  background: #fff;
  margin-bottom: 0.5rem;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
  outline: none;
}

.wpcf7-form input[type="submit"] {
  background-color: #071d3d;
  color: #fff;
  font-family: "nunito", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 35px;
  border: 4px solid #071d3d;
  border-radius: 30px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;
  margin-top: 0.5rem;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: transparent;
  color: #071d3d;
  transform: translateY(-1px);
}

.wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
}

/* Spinner for submitting state */
.wpcf7-form.submitting input[type="submit"] {
  position: relative;
  color: transparent;
}

.wpcf7-form.submitting input[type="submit"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Custom Breadcrumb Styles */
.custom-breadcrumb {
  color: #777;
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.custom-breadcrumb a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-breadcrumb a:hover {
  color: #333;
  text-decoration: underline;
}

.custom-breadcrumb .fa-angle-right {
  margin: 0 8px;
  color: #999;
  font-size: 12px;
}

.custom-breadcrumb .current-page {
  color: #555;
  font-weight: normal;
}

/* Alignment Classes */

.td-align-left {
  text-align: left;
}

.td-align-center {
  text-align: center;
}

.td-align-right {
  text-align: right;
}

.td-state-md {
  font-size: 1.75rem;
}

.td-state-lg {
  font-size: 2.5rem;
}

.td-state-xxl {
  font-size: 4.5rem;
}

@media (max-width: 768px) {
  .td-state-xxl {
    font-size: 3.5rem;
  }
}

.td-state-subhead {
  text-align: center;
  margin: auto;
  display: flex;
  flex-shrink: 1;
  justify-content: center;
  align-items: center;
}

.td-state-subhead > div {
  display: block;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px 60px;
  border-radius: 10px;
  margin: 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.td-state-subhead > div > p {
  color: #b8deff;
}

.wpb_wrapper .inner .hover-wrap .hover-wrap-inner img.ok-heart {
  margin-right: -120px;
}

@media (max-width: 1091px) {
  .wpb_wrapper .inner .hover-wrap .hover-wrap-inner img.ok-heart {
    margin-right: 0;
    max-width: 250px;
  }

  .ok-heart-column .img-with-aniamtion-wrap.right {
    text-align: center;
  }
  .ok-heart-login-column.td-align-right {
    text-align: left;
  }
}
