/* TDG My Account Styles */

.tdg-myaccount-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background-image: url(/wp-content/plugins/TDG/assets/images/login-bg.jpg);
  background-size: cover;
  background-position: center;
}

.tdg-myaccount-container {
  width: 100%;
  max-width: 1660px;
  position: relative;
}

.tdg-login-card,
.tdg-register-card {
  max-width: 550px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  transition: all 0.3s ease;
}

.tdg-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.tdg-account-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--blue-gray);
  margin: 0;
}

.tdg-register-toggle,
.tdg-login-toggle {
  background: transparent;
  border: 2px solid var(--blue-gray);
  color: var(--blue-gray);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.tdg-register-toggle:hover,
.tdg-login-toggle:hover {
  background: var(--blue-gray);
  color: #fff;
}

/* Form Styling */
.tdg-login-form-wrapper .woocommerce-form-login,
.tdg-register-form-wrapper .tdg-register-form {
  margin: 0;
}

.tdg-login-form-wrapper .form-row,
.tdg-register-form-wrapper .form-row {
  margin-bottom: 20px;
}

.tdg-login-form-wrapper label,
.tdg-register-form-wrapper label {
  display: none !important;
}

.tdg-login-form-wrapper .input-text,
.tdg-register-form-wrapper .input-text {
  width: 100%;
  padding: 20px 20px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  background: #f8f9fa;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-weight: 600;
  color: var(--blue-gray);
}

.tdg-login-form-wrapper .input-text:focus,
.tdg-register-form-wrapper .input-text:focus {
  outline: none;
  border-color: var(--blue-gray);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(34, 53, 66, 0.1);
}

/* Forgot Password Link */
.tdg-login-form-wrapper .woocommerce-LostPassword {
  text-align: left;
  margin-bottom: 20px;
}

.tdg-login-form-wrapper .woocommerce-LostPassword a {
  color: #666;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.tdg-login-form-wrapper .woocommerce-LostPassword a:hover {
  color: var(--blue-gray);
  text-decoration: underline;
}

body.woocommerce-page.woocommerce-account
  .tdg-login-form-wrapper
  .woocommerce-form-login__submit,
body.woocommerce-page.woocommerce-account
  .tdg-login-form-wrapper
  .tdg-register-button,
body.woocommerce-page.woocommerce-account button.button,
body .fls_login_wrapper #fls_magic_submit,
body .fls_login_wrapper input#wp-submit {
  background: var(--accent-green);
  color: var(--blue-gray);
  border: none;
  padding: 15px 50px !important;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;

  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

body.woocommerce-page.woocommerce-account
  .tdg-login-form-wrapper.woocommerce-form-login__submit:hover,
body.woocommerce-page.woocommerce-account
  .tdg-login-form-wrapper
  .tdg-register-button:hover,
body.woocommerce-page.woocommerce-account button.button:hover,
body .fls_login_wrapper #fls_magic_submit:hover {
  background: var(--blue-gray);
  color: #fff;
  padding: 15px 50px !important;
}

.tdg-login-form-wrapper .woocommerce-form-register {
  display: none;
}

.required {
  color: #e74c3c;
}
div#password_strength {
  margin-top: 10px;
  border-radius: 8px;
  font-size: 14px;
  color: #000 !important;
}
/* Form validation states */
.tdg-login-form-wrapper .input-text.error,
.tdg-register-form-wrapper .input-text.error {
  border-color: #e74c3c;
  background: #fdf2f2;
}

.tdg-login-form-wrapper .input-text.success,
.tdg-register-form-wrapper .input-text.success {
  border-color: #27ae60;
  background: #f8fff8;
}

/* Card Display */
.tdg-register-card,
.tdg-login-card {
  position: relative;
}

/* Error Messages */
body.woocommerce-account.woocommerce-page .woocommerce-error,
body.woocommerce-account.woocommerce-page .woocommerce-message,
body.woocommerce-account.woocommerce-page .woocommerce-info {
  background: #f8d7da;
  color: #721c24 !important;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
}

body.woocommerce-account.woocommerce-page .woocommerce-message {
  background: #d4edda;
  color: #155724 !important;
  border-color: #c3e6cb;
}

body.woocommerce-account.woocommerce-page .woocommerce-info {
  background: #d1ecf1;
  color: #0c5460 !important;
  border-color: #bee5eb;
}

.woocommerce-page form .form-row-first {
  width: 100%;
  float: none;
  padding-bottom: 0;
}

.woocommerce-page form .form-row-last {
  float: none;
  width: 100%;
  padding-bottom: 0%;
}

.woocommerce-page form .form-row label {
  margin-bottom: 0;
}
p.lost_password a {
  color: var(--blue-gray);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}

form.woocommerce-form.woocommerce-form-login.login p.form-row:nth-child(6) {
  margin-bottom: 0 !important;
}

/* Lost Password Form Styling */
.tdg-login-form-wrapper .woocommerce-form-lost-password {
  margin: 0;
}

.tdg-login-form-wrapper .woocommerce-form-lost-password .form-row {
  margin-bottom: 20px;
}

.tdg-login-form-wrapper .woocommerce-form-lost-password .input-text {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  background: #f8f9fa;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.tdg-login-form-wrapper .woocommerce-form-lost-password .input-text:focus {
  outline: none;
  border-color: var(--blue-gray);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(34, 53, 66, 0.1);
}

.tdg-login-form-wrapper
  .woocommerce-form-lost-password
  .woocommerce-form-lost-password__submit {
  width: 100%;
  background: var(--accent-green);
  color: var(--blue-gray);
  border: none;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

.tdg-login-form-wrapper
  .woocommerce-form-lost-password
  .woocommerce-form-lost-password__submit:hover {
  background: var(--blue-gray);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(34, 53, 66, 0.2);
}

/* WooCommerce Reset Password Form Styling */
body.woocommerce-account.woocommerce-page
  .tdg-login-card.password-reset
  .woocommerce
  .form-row
  label {
  display: none !important;
}

body.woocommerce-account.woocommerce-page
  .tdg-login-card.password-reset
  .woocommerce
  .form-row
  .input-text,
input#fls_magic_logon,
.fls_login_wrapper form#loginform .input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  background: #f8f9fa;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin-bottom: 20px;
  font-weight: 600;
}
button.fls_magic_show_regular.magic_btn_secondary {
  background: transparent;
  border: none;
  font-weight: 500;
  color: var(--blue-gray);
}
body.woocommerce-account.woocommerce-page
  .tdg-login-card.password-reset
  .woocommerce
  .form-row
  .input-text:focus,
input#fls_magic_logon:focus,
.fls_login_wrapper form#loginform .input:focus {
  outline: none;
  border-color: var(--blue-gray);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(34, 53, 66, 0.1);
}

body.woocommerce-account.woocommerce-page
  .tdg-login-card.password-reset
  .woocommerce
  .button {
  width: 100%;
  background: var(--accent-green);
  color: var(--blue-gray);
  border: none;
  padding: 15px 20px !important;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

body.woocommerce-account.woocommerce-page
  .tdg-login-card.password-reset
  .woocommerce
  .button:hover {
  background: var(--blue-gray);
  color: #fff;
  padding: 15px 20px !important;
  box-shadow: 0 5px 15px rgba(34, 53, 66, 0.2);
}

body.woocommerce-account.woocommerce-page
  .tdg-login-card.password-reset
  .woocommerce
  .form-row {
  margin-bottom: 20px;
}

body.woocommerce-account.woocommerce-page
  .tdg-login-card.password-reset
  .woocommerce-message {
  background: #d4edda;
  color: #155724 !important;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
}
body.woocommerce-account.woocommerce-page.woocommerce-page form .form-row-first,
body.woocommerce-account.woocommerce-page.woocommerce-page
  form
  .woocommerce-form-row {
  margin-bottom: 0 !important;
}
form.woocommerce-form.woocommerce-form-login.login p.form-row.form-row-first {
  margin-bottom: 20px !important;
}
h1.entry-title.main_title {
  display: none;
}
body.woocommerce-account.woocommerce-page div#main-content .container {
  margin: 0;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

p.login-username {
}
.fls_login_wrapper form#loginform > p {
  padding-bottom: 0;
  margin-bottom: 0;
}

.fls_login_wrapper form#loginform .input {
  margin: 0;
  padding: 20px 20px;
  margin-bottom: 20px !important;
}

#fls_magic_logon {
  padding: 20px !important;
}

										
body.logged-in.woocommerce-account .tdg-myaccount-wrapper {
  background: #f8f9fa;
  background-image: none;
  min-height: 100vh;
  padding: 0;
  align-items: stretch;
}

body.logged-in.woocommerce-account .tdg-myaccount-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* WooCommerce My Account Two-Column Layout */
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 280px;
  background: #fff;
  border-radius: 12px;
  padding: 50px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-right: 40px;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1;
  background: #fff;
  padding: 70px 40px;
}

body.logged-in.woocommerce-account .woocommerce {
  display: flex;
  gap: 0;
  flex: 1;
}

/* User Profile Section - Hide pseudo-elements */
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation::before,
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation::after {
  display: none;
}

/* Greeting Text */
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
  position: relative;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation .greeting {
  text-align: center;
  color: var(--blue-gray);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

/* Navigation Menu */
body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0;
  border-bottom: 1px solid #f5f5f5;
}

body.logged-in.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li:last-child {
  border-bottom: none;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 5px 20px;
  color: #666;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

body.logged-in.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li
  a:hover {
  color: var(--blue-gray);
  /* background: #f8f9fa; */
}

body.logged-in.woocommerce-account
  .woocommerce-MyAccount-navigation
  ul
  li.is-active
  a {
  color: var(--blue-gray);
  /* background: #fff; */
  border-left-color: #0bb0f4;
  font-weight: 600;
  margin-left: 20px;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content h2 {
  color: var(--blue-gray);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Tables and Forms in Content Area */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content table {
  width: 100%;
  background: #fff;
  overflow: hidden;
  border-radius: 0;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content table th {
  background: #f8f9fa;
  color: var(--blue-gray);
  font-weight: 600;
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content table td {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  color: #666;
}

/* Buttons in Content Area */
body.logged-in.woocommerce-account .woocommerce-MyAccount-content .button {
  background: var(--accent-green);
  color: var(--blue-gray);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

body.logged-in.woocommerce-account
  .woocommerce-MyAccount-content
  .button:hover {
  background: var(--blue-gray);
  color: #fff;
  transform: translateY(-1px);
}
body.logged-in.woocommerce-account div#main-content .entry-content {
  max-width: 1660px;
  margin: auto;
}

body.woocommerce-account.woocommerce-page.woocommerce-dashboard.woocommerce-js.logged-in
  article {
  background: #f4f4f4;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
  min-width: 300px;
  margin: 0;
  background: #f4f4f4;
  box-shadow: none;

  float: none;
  border-radius: 0;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
}

/* Add greeting text and user avatar with JavaScript injection */
body.logged-in.woocommerce-account .user-profile-section {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 30px 30px;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 20px;
}

body.logged-in.woocommerce-account .user-avatar {
  width: 50px;
  height: 50px;
  background: var(--blue-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
body.logged-in.woocommerce-account .user-avatar h3 {
  font-size: 30px;
  font-weight: 700;
  color: var(--accent-green);
  padding-bottom: 0%;
}
body.logged-in.woocommerce-account .user-greeting {
  color: var(--blue-gray);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
body.logged-in.woocommerce-account .user-greeting h4 {
  padding: 0;
  font-size: 30px;
  font-weight: 800;
}
body.logged-in.woocommerce-account .woocommerce-MyAccount-content table {
  border: 0;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content table th {
  background: transparent;
  border-bottom: 0;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content table tr {
  border: 0;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content table td {
  border-bottom: 0;
}
body.logged-in.woocommerce-account div#main-content {
  background: #f4f4f4;
}

@media (max-width: 980px) {
  body.logged-in.woocommerce-account .woocommerce {
    flex-direction: column;
  }

  body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
    padding: 20px 0;
  }

  body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
    padding: 30px 20px;
  }

  body.logged-in.woocommerce-account .tdg-myaccount-container {
    padding: 20px 15px;
  }
  .tdg-myaccount-container {
    width: 90%;
    max-width: 1660px;
    position: relative;
  }
}

@media (max-width: 768px) {
  .tdg-myaccount-wrapper {
    padding: 20px 15px;
    min-height: 50vh;
  }

  .tdg-login-card,
  .tdg-register-card {
    padding: 30px 25px;
  }

  .tdg-account-title {
    font-size: 24px;
  }

  .tdg-card-header {
    gap: 15px;
  }

  .tdg-register-toggle,
  .tdg-login-toggle {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .tdg-login-card,
  .tdg-register-card {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .tdg-account-title {
    font-size: 20px;
  }
}

.tdg-dashboard-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 0px 0;
  padding: 0;
}

.tdg-tile {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  cursor: pointer;
}

.tdg-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tdg-tile:hover .tdg-tile-icon {
}

.tdg-tile:hover .tdg-tile-icon i {
  color: var(--blue-gray);
}

.tdg-tile-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue-gray), #4a5568);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  display: none;
  transition: all 0.3s ease;
}

.tdg-tile-icon i {
  font-size: 28px;
  color: var(--accent-green);
  transition: all 0.3s ease;
}

.tdg-tile-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-gray);
  margin: 0;
  line-height: 1.3;
}

.tdg-tile-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 24px 0;
}


.tdg-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--blue-gray);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
										
}

.tdg-tile-link:hover {
  background: var(--accent-green);
  color: var(--blue-gray);
  border-color: var(--blue-gray);
  transform: translateY(-1px);
}

.tdg-tile-link:hover::after {
  transform: translateX(4px);
}

.woocommerce-MyAccount-content > p {
  display: none;
}

.tdg-dashboard-header {
  text-align: center;
  margin-bottom: 40px;
}

.tdg-dashboard-header .tdg-account-title {
  font-size: 32px;
  margin-bottom: 8px;
}

.tdg-account-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* Dashboard Footer */
.tdg-dashboard-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #f0f0f0;
}

.tdg-logout-btn {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: #666;
  text-decoration: none;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tdg-logout-btn:hover {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

@media (max-width: 980px) {
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    float: none;
  }
}

@media (max-width: 1024px) {
  .tdg-dashboard-tiles {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .tdg-tile {
    padding: 28px 20px;
  }
}

@media (max-width: 768px) {
  .tdg-dashboard-tiles {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
  }

  .tdg-tile {
    padding: 24px 20px;
  }

  .tdg-tile-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 16px;
  }

  .tdg-tile-icon i {
    font-size: 24px;
  }

  .tdg-tile-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .tdg-tile-description {
    font-size: 13px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .tdg-tile {
    padding: 20px 16px;
  }

  .tdg-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .tdg-tile-icon i {
    font-size: 20px;
  }

  .tdg-tile-title {
    font-size: 16px;
  }

  .tdg-tile-link {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Ambassador Program Sub-Navigation */
body.logged-in.woocommerce-account .ambassador-subnav {
  list-style: none !important;
  margin: 0;
  padding: 0px !important;
  background: transparent;

  line-height: 1.2em;
}

body.logged-in.woocommerce-account .ambassador-subnav li {
  margin: 0;
  border-bottom: 1px solid #f5f5f5;
}

body.logged-in.woocommerce-account .ambassador-subnav li:last-child {
  border-bottom: none;
}
body.logged-in.woocommerce-account
  .woocommerce-MyAccount-navigation
  .ambassador-subnav
  li
  a {
  display: block;
  padding: 0px 20px 0px 40px;
  color: #666;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-left: 0;
  position: relative;
}

body.logged-in.woocommerce-account .ambassador-subnav li a:before {
  /* content: "→"; */
  position: absolute;
  left: 25px;
  color: #999;
  font-size: 12px;
}
a.tdg-tile-link-text {
  /* display: block; */
  font-size: 14px;
  text-decoration: underline;
  color: var(--blue-gray);
  margin-left: 30px;
}
									   
													   
							  
			
						  
						  

					 
 

														  
			
								   
 

																	 
					  
 
								  
								   
					
	
	 
				 
							 
			  
						
				  
				   
				 
					 
 

																   
					   
					 
			 
			  
				  
 
					  
					   
				  
							 
						  
					
 
