.header-logged-user-name {
    font-size: 15px;
    font-weight: 400;
    color: var(--wd-primary-color);
}

.header-logged-user-name:hover {
    color: var(--wd-primary-color);
    text-decoration: none;
    opacity: 0.85;
}

.whb-column .header-logged-user-name {
    margin-left: 25px;
}


.whb-sticked .btn-size-large {
    --btn-padding: 5px 14px !important;
    --btn-height: 36px !important;
    --btn-font-size: 12px !important;
}


.tvmh {
    height: 500px;
}

.tvmh .tradingview-widget-container,
.tvmh iframe {
    height: 100% !important;
}


/*animate page title*/
/* Seamless движещ се бял градиент */
.wd-page-title-bg::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.0) 0%,
        rgba(255,255,255,0.85) 25%,
        rgba(255,255,255,0.85) 50%,
        rgba(255,255,255,0.0) 75%
    );

    background-size: 200% 100%;
    background-position: 0% 50%;

    animation: whiteGradientLoop 6s linear infinite;
    pointer-events: none;
    z-index: 2;
}

/* Seamless loop – НЯМА reset */
@keyframes whiteGradientLoop {
    from {
        background-position: 0% 50%;
    }
    to {
        background-position: -200% 50%;
    }
}

/* Текстът винаги отгоре */
.wd-page-title .container {
    position: relative;
    z-index: 5;
}


/* бутон анимиране */
.wd-button-wrapper .btn {
	position: relative;
	overflow: hidden;
}

/* Анимираната линия */
.wd-button-wrapper .btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -150%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		120deg,
		transparent,
		rgba(255,255,255,0.35),
		transparent
	);
	animation: btn-sweep 2.8s ease-in-out infinite;
	pointer-events: none;
}

/* Текстът и иконата да са над линията */
.wd-button-wrapper .btn span {
	position: relative;
	z-index: 2;
}

@keyframes btn-sweep {
	0% {
		left: -150%;
	}
	60% {
		left: 150%;
	}
	100% {
		left: 150%;
	}
}



.wd-sub-menu li>a img, .wd-nav-img{
margin-inline-end: unset !important;
}
.wd-event-hover:hover>.wd-dropdown, .wd-event-click.wd-opened>.wd-dropdown, .wd-dropdown.wd-opened{
    width: max-content !important;
}

.elementor-element.elementor-element-78bdae8.e-con-full.e-flex.e-con.e-child{
    backdrop-filter: blur(3px);
}

/* ================================
   SECURE CUSTOM VIDEO PLAYER
   ================================ */

/* Force-hide native controls (Elementor safe) */
.e-tabs-content-wrapper video {
  -webkit-user-drag: none;
  user-select: none;
}

.e-tabs-content-wrapper video::-webkit-media-controls,
.e-tabs-content-wrapper video::-webkit-media-controls-enclosure {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Wrapper */
.video-secure-wrap {
  position: relative;
  width: 100%;
  background: #000;
  cursor: pointer;
}

/* Controls bar */
.video-secure-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0));
  opacity: 0;
  transition: opacity .25s ease;
}

/* Show controls on hover */
.video-secure-wrap:hover .video-secure-controls {
  opacity: 1;
}

/* Play / Pause */
.video-secure-play {
  width: 22px;
  height: 22px;
  fill: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

/* Progress bar (BIG click area) */
.video-secure-progress {
  position: relative;
  flex: 1;
  height: 16px; /* click area */
  cursor: pointer;
}

.video-secure-progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 4px;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
}

.video-secure-progress-fill {
  position: absolute;
  top: 6px;
  left: 0;
  height: 4px;
  width: 0%;
  background: #fff;
  border-radius: 2px;
}

/* Volume */
.video-secure-volume {
  width: 70px;
}

.video-secure-volume input {
  width: 100%;
  cursor: pointer;
}

/* Fullscreen */
.video-secure-fullscreen {
  width: 20px;
  height: 20px;
  fill: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

/*Блог*/
.wd-post-author, .wd-post-meta{
	display:none!important;
}




/* User страница редизайн */

body.pmpro-account,
body:is(.page-id-30365, .page-id-30369) {
  --tc-green: #73a32f;
  --tc-green-dark: #4f761f;
  --tc-green-soft: #f1f7e9;
  --tc-red: #92003b;
  --tc-red-soft: #fff2f6;
  --tc-text: #111827;
  --tc-muted: #667085;
  --tc-border: #e8edf2;
  --tc-bg: #f7f8f6;
  --tc-card: #ffffff;
  --tc-shadow: 0 12px 30px rgba(17, 24, 39, .065);
  --tc-shadow-hover: 0 16px 38px rgba(17, 24, 39, .09);
}

body.pmpro-account .wd-page-wrapper,
body:is(.page-id-30365, .page-id-30369) .wd-page-wrapper {
  background: linear-gradient(180deg, #ffffff 0%, var(--tc-bg) 48%, #ffffff 100%);
  color: var(--tc-text);
}

body.pmpro-account #main-content,
body:is(.page-id-30365, .page-id-30369) #main-content {
  padding-top: 34px;
  padding-bottom: 60px;
}

body.pmpro-account .pmpro,
body.pmpro-account .tc-integrations,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.tc-account-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.tc-account-stat {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  padding: 13px 14px;
  border: 1px solid var(--tc-border);
  border-radius: 16px;
  background: var(--tc-card);
  box-shadow: var(--tc-shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.tc-account-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(115, 163, 47, .28);
  box-shadow: var(--tc-shadow-hover);
}

.tc-account-stat__icon,
.tc-icon,
.tc-button-icon,
.tc-affiliate-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.tc-account-stat__icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--tc-green-soft);
  color: var(--tc-green-dark);
}

.tc-account-stat.is-warning .tc-account-stat__icon {
  background: var(--tc-red-soft);
  color: var(--tc-red);
}

.tc-account-stat__label {
  display: block;
  color: var(--tc-muted);
  font-size: 12.5px;
  line-height: 1.2;
}

.tc-account-stat__value {
  display: block;
  margin-top: 3px;
  color: var(--tc-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.tc-account-stat.is-success .tc-account-stat__value {
  color: var(--tc-green-dark);
}

.tc-account-stat.is-warning .tc-account-stat__value {
  color: var(--tc-red);
}

body.pmpro-account .tc-affiliate-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
  padding: 20px 22px;
  border: 1px solid rgba(115, 163, 47, .24);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #f7fbf2 100%);
  box-shadow: inset 0 3px 0 rgba(115, 163, 47, .24), var(--tc-shadow);
}

body.pmpro-account .tc-affiliate-cta__content {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

body.pmpro-account .tc-affiliate-cta__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--tc-green-soft);
  color: var(--tc-green-dark);
}

body.pmpro-account .tc-affiliate-cta__eyebrow {
  display: block;
  margin-bottom: 2px;
  color: var(--tc-muted);
  font-size: 13px;
  line-height: 1.25;
}

body.pmpro-account .tc-affiliate-cta__title {
  display: block;
  color: var(--tc-text);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

body.pmpro-account .pmpro_section {
  margin: 0 0 22px;
}

body.pmpro-account .pmpro_section_title,
body.pmpro-account .tc-integrations-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--tc-text);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0;
}

body.pmpro-account .pmpro_section_title:before,
body.pmpro-account .tc-integrations-title:before {
  content: "";
  width: 7px;
  height: 26px;
  border-radius: 999px;
  background: var(--tc-green);
}

body.pmpro-account .pmpro_card,
body.pmpro-account .tc-integration-card,
body:is(.page-id-30365, .page-id-30369) .affwp-tab-content,
body:is(.page-id-30365, .page-id-30369) .affwp-card {
  border: 1px solid var(--tc-border) !important;
  border-radius: 18px !important;
  background: var(--tc-card) !important;
  box-shadow: inset 0 3px 0 rgba(115, 163, 47, .22), var(--tc-shadow);
}

body.pmpro-account .pmpro_card {
  padding: 22px 24px !important;
}

body.pmpro-account .pmpro_card_title,
body.pmpro-account .tc-integration-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--tc-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

body.pmpro-account .pmpro_card_title .tc-icon,
body.pmpro-account .tc-integration-title .tc-icon,
body.pmpro-account .pmpro_section_title .tc-icon,
body.pmpro-account .tc-integrations-title .tc-icon {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: var(--tc-green-soft);
  color: var(--tc-green-dark);
}

body.pmpro-account .pmpro_heading-with-avatar {
  display: flex;
  align-items: center;
}

body.pmpro-account .pmpro_heading-with-avatar img {
  width: 48px;
  height: 48px;
  margin-right: 13px;
  border: 3px solid var(--tc-green-soft);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(115, 163, 47, .14);
}

body.pmpro-account #pmpro_account-profile .pmpro_card_title {
  margin-bottom: 10px;
  font-size: 21px;
}

body.pmpro-account #pmpro_account-profile .pmpro_card_content {
  margin-top: 12px;
}

body.pmpro-account .pmpro_list {
  display: grid;
  gap: 8px;
  margin: 0;
}

body.pmpro-account .pmpro_list_item,
body.pmpro-account .discord-user-info p,
body.pmpro-account .tc-discord-role-row {
  margin: 0;
  padding: 10px 13px !important;
  border: 1px solid var(--tc-border);
  border-radius: 13px;
  background: #fbfcfb;
  color: var(--tc-text);
  line-height: 1.45;
}

body.pmpro-account .pmpro_list_item strong,
body.pmpro-account .discord-user-info strong,
body.pmpro-account .tc-discord-role-row > span:first-child {
  display: inline-block;
  margin-right: 5px;
  color: var(--tc-green-dark);
  font-weight: 800;
}

body.pmpro-account .pmpro_card_content p {
  color: var(--tc-muted);
  line-height: 1.5;
}

body.pmpro-account .pmpro_card_content a {
  color: var(--tc-green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.pmpro-account .pmpro_card_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 13px;
}

body.pmpro-account #pmpro_account-profile .pmpro_card_actions {
  padding: 13px 0 0;
  border-top: 1px solid var(--tc-border);
}

body.pmpro-account .pmpro_card_action_separator,
body.pmpro-account .tc-affiliate-action {
  display: none !important;
}

body.pmpro-account .pmpro_card_action a,
body.pmpro-account .pmpro-btn-connect,
body.pmpro-account .pmpro_tradingview_username_box button,
body.pmpro-account .pmpro_tradingview_username_box .button,
body.pmpro-account .tc-affiliate-cta__button,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard .button,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard button,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard input[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 13px !important;
  border: 1px solid var(--tc-green) !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--tc-green-dark) !important;
  font-size: 13.5px;
  font-weight: 800 !important;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}

body.pmpro-account .pmpro_card_action a:hover,
body.pmpro-account .pmpro-btn-connect:hover,
body.pmpro-account .pmpro_tradingview_username_box button:hover,
body.pmpro-account .pmpro_tradingview_username_box .button:hover,
body.pmpro-account .tc-affiliate-cta__button:hover,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard .button:hover,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard button:hover,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard input[type="submit"]:hover {
  transform: translateY(-1px);
  background: var(--tc-green-soft) !important;
  box-shadow: 0 8px 18px rgba(115, 163, 47, .13);
}

body.pmpro-account #pmpro_actionlink-profile,
body.pmpro-account .pmpro-btn-connect,
body.pmpro-account .pmpro_tradingview_username_box button,
body.pmpro-account .pmpro_tradingview_username_box .button,
body.pmpro-account .tc-affiliate-cta__button,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard .button,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard button,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard input[type="submit"] {
  background: var(--tc-green) !important;
  border-color: var(--tc-green) !important;
  color: #fff !important;
}

body.pmpro-account #pmpro_actionlink-profile:hover,
body.pmpro-account .pmpro-btn-connect:hover,
body.pmpro-account .pmpro_tradingview_username_box button:hover,
body.pmpro-account .pmpro_tradingview_username_box .button:hover,
body.pmpro-account .tc-affiliate-cta__button:hover,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard .button:hover,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard button:hover,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard input[type="submit"]:hover {
  background: var(--tc-green-dark) !important;
  border-color: var(--tc-green-dark) !important;
  color: #fff !important;
}

body.pmpro-account #pmpro_actionlink-logout,
body.pmpro-account #pmpro_actionlink-cancel,
body.pmpro-account a[aria-label^="Cancel"] {
  border-color: rgba(146, 0, 59, .16) !important;
  background: var(--tc-red-soft) !important;
  color: var(--tc-red) !important;
}

body.pmpro-account #pmpro_actionlink-logout:hover,
body.pmpro-account #pmpro_actionlink-cancel:hover,
body.pmpro-account a[aria-label^="Cancel"]:hover {
  border-color: rgba(146, 0, 59, .35) !important;
  background: #ffe6ef !important;
  color: var(--tc-red) !important;
  box-shadow: 0 8px 18px rgba(146, 0, 59, .08);
}

body.pmpro-account #pmpro_account-membership .pmpro_section_content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 14px;
}

body.pmpro-account #pmpro_account-membership .pmpro_card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px !important;
}

body.pmpro-account #pmpro_account-membership .pmpro_card_title {
  max-width: calc(100% - 92px);
  margin-bottom: 0;
  font-size: 18px;
}

.tc-membership-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--tc-green-soft);
  color: var(--tc-green-dark);
  font-size: 12px;
  font-weight: 800;
}

.tc-membership-status:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tc-green);
}

body.pmpro-account #pmpro_account-membership .tc-membership-status {
  position: absolute;
  top: 18px;
  right: 18px;
}

body.pmpro-account #pmpro_account-membership .pmpro_card_content {
  margin-top: 10px;
}

body.pmpro-account #pmpro_account-membership .pmpro_card_content.tc-empty {
  display: none;
}

body.pmpro-account #pmpro_account-membership .pmpro_card_actions {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--tc-border);
}

body.pmpro-account #pmpro_account-membership #pmpro_actionlink-cancel,
body.pmpro-account #pmpro_account-membership a[aria-label^="Cancel"] {
  min-height: 34px;
  padding: 7px 12px !important;
  font-size: 13px;
}

body.pmpro-account .tc-integrations {
  margin-top: 22px;
}

body.pmpro-account .tc-integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body.pmpro-account .tc-integration-card {
  align-self: stretch;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 224px;
  height: 100%;
  margin: 0 !important;
  padding: 20px !important;
}

body.pmpro-account .discord-user-info {
  gap: 8px;
}

body.pmpro-account .discord-user-info:before,
body.pmpro-account .tc-discord-connect:before {
  content: none !important;
}

body.pmpro-account .discord-role {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tc-green-soft);
  color: var(--tc-green-dark);
  font-weight: 800;
}

body.pmpro-account .discord-role i {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px;
}

body.pmpro-account .tc-discord-connect {
  align-items: flex-start;
  justify-content: flex-start;
}

body.pmpro-account .tc-discord-connect .ets-connection-lbl {
  margin-bottom: 10px;
  color: var(--tc-muted);
  font-size: 15px;
  line-height: 1.45;
}

body.pmpro-account .tc-discord-connect .pmpro-btn-connect {
  margin-bottom: 12px;
}

body.pmpro-account .tc-discord-connect > p,
body.pmpro-account .tc-discord-connect .ets_assigned_role {
  display: none !important;
}

body.pmpro-account .tc-discord-role-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 2px;
}

body.pmpro-account .pmpro_tradingview_username_box form {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

body.pmpro-account .pmpro_tradingview_username_box label {
  display: block;
  margin-bottom: 7px !important;
  color: var(--tc-muted);
}

body.pmpro-account .pmpro_tradingview_username_box input[type="text"] {
  width: 100%;
  max-width: 420px;
  height: 38px;
  margin-bottom: 10px;
  padding: 0 13px;
  border: 1px solid var(--tc-border);
  border-radius: 11px;
  background: #fbfcfb;
}

body.pmpro-account .pmpro_tradingview_username_box button,
body.pmpro-account .pmpro_tradingview_username_box .button {
  width: fit-content;
}

body.pmpro-account .tc-muted-value {
  color: var(--tc-muted);
  font-weight: 600;
}

/* User страница КРАЙ */

/* Affiliate Area дизайн */
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  list-style: none;
}

body:is(.page-id-30365, .page-id-30369) .affwp-affiliate-dashboard-tab {
  margin: 0 !important;
}

body:is(.page-id-30365, .page-id-30369) .affwp-affiliate-dashboard-tab a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--tc-border);
  border-radius: 999px;
  background: #fff;
  color: var(--tc-muted);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(17, 24, 39, .045);
  transition: transform .16s ease, box-shadow .16s ease, color .16s ease, border-color .16s ease, background-color .16s ease;
}

body:is(.page-id-30365, .page-id-30369) .affwp-affiliate-dashboard-tab.active a,
body:is(.page-id-30365, .page-id-30369) .affwp-affiliate-dashboard-tab a:hover {
  transform: translateY(-1px);
  border-color: rgba(115, 163, 47, .32);
  background: var(--tc-green-soft);
  color: var(--tc-green-dark);
  box-shadow: var(--tc-shadow);
}

body:is(.page-id-30365, .page-id-30369) .affwp-tab-content {
  padding: 24px;
}

body:is(.page-id-30365, .page-id-30369) .affwp-card {
  margin: 0 0 18px;
  overflow: hidden;
}

body:is(.page-id-30365, .page-id-30369) .affwp-card__header {
  padding: 20px 22px 12px;
  border-bottom: 1px solid var(--tc-border);
  background: linear-gradient(180deg, #fff 0%, #fbfcfb 100%);
}

body:is(.page-id-30365, .page-id-30369) .affwp-card__header h3,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard h3 {
  margin: 0;
  color: var(--tc-text);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

body:is(.page-id-30365, .page-id-30369) .affwp-card__header p,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard p {
  color: var(--tc-muted);
  line-height: 1.55;
}

body:is(.page-id-30365, .page-id-30369) .affwp-card__content,
body:is(.page-id-30365, .page-id-30369) .affwp-card__content--form,
body:is(.page-id-30365, .page-id-30369) .affwp-card__footer {
  padding: 18px 22px;
}

body:is(.page-id-30365, .page-id-30369) .affwp-affiliate-link__display {
  display: flex;
  gap: 10px;
  align-items: center;
}

body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard input[type="text"],
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard input[type="url"],
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard input[type="email"],
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard input[type="password"],
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard select,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard textarea {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--tc-border);
  border-radius: 11px;
  background: #fbfcfb;
  color: var(--tc-text);
}

body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard input:focus,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard select:focus,
body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard textarea:focus {
  border-color: rgba(115, 163, 47, .45);
  box-shadow: 0 0 0 3px rgba(115, 163, 47, .12);
  outline: none;
}

body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard label {
  color: var(--tc-green-dark);
  font-weight: 800;
}

body:is(.page-id-30365, .page-id-30369) .affwp-table {
  overflow: hidden;
  border: 1px solid var(--tc-border) !important;
  border-radius: 14px;
  background: #fff;
}

body:is(.page-id-30365, .page-id-30369) .affwp-table th {
  background: #f6f7f5;
  color: var(--tc-text);
  font-weight: 800;
}

body:is(.page-id-30365, .page-id-30369) .affwp-table th,
body:is(.page-id-30365, .page-id-30369) .affwp-table td {
  padding: 13px 15px;
  border-color: var(--tc-border) !important;
}

@media (max-width: 900px) {
  .tc-account-summary,
  body.pmpro-account .tc-integrations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.pmpro-account #main-content,
  body:is(.page-id-30365, .page-id-30369) #main-content {
    padding-top: 28px;
  }

  .tc-account-summary,
  body.pmpro-account #pmpro_account-membership .pmpro_section_content,
  body.pmpro-account .tc-integrations-grid {
    grid-template-columns: 1fr;
  }

  body.pmpro-account .tc-integrations-grid {
    gap: 20px;
    align-items: stretch;
  }

  body.pmpro-account .pmpro_card,
  body.pmpro-account .tc-integration-card,
  .tc-account-stat,
  body:is(.page-id-30365, .page-id-30369) .affwp-tab-content {
    padding: 18px !important;
    border-radius: 16px !important;
  }

  body.pmpro-account .tc-integration-card {
    min-height: 0;
    height: auto;
    width: 100%;
    overflow: visible;
  }

  body.pmpro-account .tc-affiliate-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  body.pmpro-account .pmpro_card_actions,
  body.pmpro-account #pmpro_account-profile .pmpro_card_actions {
    display: grid;
  }

  body.pmpro-account .pmpro_card_action a,
  body.pmpro-account .pmpro-btn-connect,
  body.pmpro-account .pmpro_tradingview_username_box button,
  body.pmpro-account .pmpro_tradingview_username_box .button,
  body.pmpro-account .tc-affiliate-cta__button,
  body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard .button,
  body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard button,
  body:is(.page-id-30365, .page-id-30369) #affwp-affiliate-dashboard input[type="submit"] {
    width: 100%;
  }

  body.pmpro-account #pmpro_account-membership .pmpro_card_title {
    max-width: 100%;
    padding-right: 88px;
  }

  body:is(.page-id-30365, .page-id-30369) .affwp-affiliate-link__display {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Affiliate Area дизайн КРАЙ */



/* TradoCademy mobile off-canvas menu polish */
@media (max-width: 1024px) {
  .mobile-nav.wd-side-hidden-nav {
    width: min(340px, calc(100vw - 28px));
    background:
      linear-gradient(180deg, rgba(80, 186, 111, 0.08), rgba(255, 255, 255, 0) 180px),
      #fff;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px 0 0 18px;
    box-shadow: -18px 0 46px rgba(15, 23, 42, 0.22);
    overflow: hidden;
  }

  .mobile-nav.wd-side-hidden-nav::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, #50ba6f 0%, #f15b5b 100%);
    pointer-events: none;
  }

  .mobile-nav.wd-side-hidden-nav .wd-heading {
    min-height: 64px;
    padding: 0 22px 0 26px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
  }

  .mobile-nav.wd-side-hidden-nav .close-side-widget {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
  }

  .mobile-nav.wd-side-hidden-nav .close-side-widget a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    color: inherit;
    background: rgba(15, 23, 42, 0.04);
  }

  .mobile-nav.wd-side-hidden-nav .close-side-widget a:hover,
  .mobile-nav.wd-side-hidden-nav .close-side-widget a:focus {
    color: #12823a;
    background: rgba(80, 186, 111, 0.12);
  }

  .mobile-nav.wd-side-hidden-nav .wd-nav-mobile,
  .mobile-nav.wd-side-hidden-nav .mobile-pages-menu {
    padding: 14px 14px 22px;
  }

  .mobile-nav.wd-side-hidden-nav .wd-nav-mobile > li,
  .mobile-nav.wd-side-hidden-nav .mobile-pages-menu > li {
    margin: 0 0 8px;
    border: 0;
  }

  .mobile-nav.wd-side-hidden-nav .wd-nav-mobile > li > a,
  .mobile-nav.wd-side-hidden-nav .mobile-pages-menu > li > a {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
  }

  .mobile-nav.wd-side-hidden-nav .wd-nav-mobile > li > a::after,
  .mobile-nav.wd-side-hidden-nav .mobile-pages-menu > li > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    opacity: 0.38;
    transform: rotate(45deg);
  }

  .mobile-nav.wd-side-hidden-nav .wd-nav-mobile > li > a:hover,
  .mobile-nav.wd-side-hidden-nav .wd-nav-mobile > li > a:focus,
  .mobile-nav.wd-side-hidden-nav .mobile-pages-menu > li > a:hover,
  .mobile-nav.wd-side-hidden-nav .mobile-pages-menu > li > a:focus {
    color: #12823a;
    border-color: rgba(80, 186, 111, 0.34);
    background: rgba(80, 186, 111, 0.09);
    transform: translateX(-2px);
  }

  .wd-close-side.wd-close-side-opened {
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(3px);
  }
}

/* TC HOME TELEGRAM OVERLAP FIX START */
.page-id-31252 .tc-native-home .tc-telegram-section .tc-telegram-shell {
	display: grid !important;
	grid-template-columns: minmax(420px, 520px) minmax(0, 1fr) !important;
	gap: clamp(56px, 6vw, 96px) !important;
	align-items: start !important;
}

.page-id-31252 .tc-native-home .tc-telegram-section .tc-telegram-copy {
	position: relative !important;
	z-index: 2 !important;
	width: 100% !important;
	max-width: 540px !important;
}

.page-id-31252 .tc-native-home .tc-telegram-section .tc-telegram-visual {
	min-width: 0 !important;
	justify-self: stretch !important;
}

.page-id-31252 .tc-native-home .tc-telegram-section .tc-h2 .elementor-heading-title {
	max-width: 540px !important;
}

@media (max-width: 1280px) {
	.page-id-31252 .tc-native-home .tc-telegram-section .tc-telegram-shell {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 42px !important;
	}

	.page-id-31252 .tc-native-home .tc-telegram-section .tc-telegram-copy,
	.page-id-31252 .tc-native-home .tc-telegram-section .tc-h2 .elementor-heading-title {
		max-width: 700px !important;
	}
}

@media (max-width: 640px) {
	.page-id-31252 .tc-native-home .tc-telegram-section .tc-telegram-shell {
		gap: 30px !important;
	}
}
/* TC HOME TELEGRAM OVERLAP FIX END */

