.elementor-3000 .elementor-element.elementor-element-e51ff0e{--display:flex;}/* Start custom CSS *//* =========================
   PaidToTrade — Global Vars
   Wrap shortcode with .ptt-afwc
   ========================= */
.ptt-afwc {
  --ptt-bg: #071018;
  --ptt-border: #0e2738;
  --ptt-text: #e9f3ff;
  --ptt-link: #79d8ff;
  --ptt-accent: #00d2ff;

  /* Add consistent spacing at top & bottom */
  padding: 30px 0 !important;
}

/* Ensure no extra margin sneaks in above first child */
.ptt-afwc > *:first-child {
  margin-top: 0 !important;
}


/* =========================
   LOGIN BOX
   ========================= */
.ptt-afwc .afwc-login-form,
.ptt-afwc form.login {
  position: relative;
  background: var(--ptt-bg);
  border: 1px solid var(--ptt-border);
  border-radius: 12px;
  padding: 20px 24px;
  padding-top: 115px; /* was 130px, reduced by 15px */
  max-width: 380px;
  margin: 0 auto;
}

/* Logo (inside box, above title) */
.ptt-afwc .afwc-login-form::before,
.ptt-afwc form.login::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 56px;
  background: url("https://paidtotrade.net/wp-content/uploads/2025/08/paidtotrade-scaled.png") no-repeat center;
  background-size: 160px auto;
}

/* “AFFILIATES” under logo */
.ptt-afwc .afwc-login-form::after,
.ptt-afwc form.login::after {
  content: "AFFILIATES";
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font: 800 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: .14em;
}

/* Inputs & labels */
.ptt-afwc .afwc-login-form input,
.ptt-afwc form.login input {
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 6px;
}
.ptt-afwc .afwc-login-form label,
.ptt-afwc form.login label {
  color: #a5c8e8;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 4px;
}

/* Remember me above, button centered below */
.ptt-afwc form.woocommerce-form-login p.form-row {
  text-align: center;
  margin-top: 8px;
}
.ptt-afwc form.woocommerce-form-login p.form-row label.woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme {
  display: block;
  margin: 8px 0 6px;
  line-height: 1.2;
}

/* Submit button */
.ptt-afwc .afwc-login-form input[type="submit"],
.ptt-afwc form.login input[type="submit"] {
  display: inline-block;
  margin: 0 auto;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  background: var(--ptt-accent);
  color: #00131d;
  cursor: pointer;
  white-space: nowrap;
}
.ptt-afwc .afwc-login-form input[type="submit"]:hover,
.ptt-afwc form.login input[type="submit"]:hover {
  filter: brightness(1.1);
}

/* Lost password & link */
.ptt-afwc .afwc-login-form p.lost_password,
.ptt-afwc form.login p.lost_password {
  margin-top: 12px;
  text-align: center;
}
.ptt-afwc .afwc-login-form p.lost_password a,
.ptt-afwc form.login p.lost_password a {
  color: var(--ptt-link);
  font-size: 12px;
  text-decoration: none;
}
.ptt-afwc .afwc-login-form p.lost_password a:hover,
.ptt-afwc form.login p.lost_password a:hover {
  text-decoration: underline;
}

/* =========================
   DASHBOARD (AFWC)
   ========================= */

/* Remove avatar */
.ptt-afwc .afwc-avatar-wrapper {
  display: none !important;
}

/* Header card (name bar) */
.ptt-afwc .afwc-affiliate-details-card {
  background: var(--ptt-accent) !important;
  color: #00131d !important;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
}
.ptt-afwc .afwc-affiliate-details-card .afwc-display-name {
  color: #00131d !important;
  font-weight: 800;
  letter-spacing: .12em;
}
.ptt-afwc .afwc-signup-date-wrapper,
.ptt-afwc .afwc-referral-url-wrapper {
  color: #00131d !important;
  opacity: .9;
}

/* Section headings */
.ptt-afwc #afwc_dashboard_wrapper h2,
.ptt-afwc #afwc_dashboard_wrapper h3 {
  color: #fff !important;
  margin: 18px 0 10px;
}

/* KPIs / metrics */
.ptt-afwc #afwc_kpi_section_wrapper,
.ptt-afwc #afwc_kpi_section_wrapper .afwc-kpi-row,
.ptt-afwc #afwc_kpi_section_wrapper .afwc-kpi-box {
  color: #fff !important;
  opacity: 1 !important;
}
.ptt-afwc #afwc_kpi_section_wrapper .afwc-kpi-number {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}
.ptt-afwc #afwc_kpi_section_wrapper .afwc-kpi-title {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

/* Tables */
.ptt-afwc #afwc_dashboard_wrapper table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ptt-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.ptt-afwc #afwc_dashboard_wrapper thead th {
  background: #0b1721;
  color: #fff !important;
  padding: 12px;
  border: 1px solid var(--ptt-border);
  font-weight: 700;
}
.ptt-afwc #afwc_dashboard_wrapper tbody td {
  color: #fff !important;
  padding: 10px 12px;
  border: 1px solid var(--ptt-border);
}
.ptt-afwc #afwc_dashboard_wrapper tbody tr:hover {
  background: #0a1520;
}

/* Links inside dashboard */
.ptt-afwc #afwc_dashboard_wrapper a {
  color: var(--ptt-accent) !important;
  font-weight: 600;
  text-decoration: none;
}
.ptt-afwc #afwc_dashboard_wrapper a:hover {
  text-decoration: underline;
}

/* White text with better font inside affiliate details card */
.ptt-afwc .afwc-affiliate-details-card,
.ptt-afwc .afwc-affiliate-details-card *,
.ptt-afwc .afwc-affiliate-details-card .afwc-display-name,
.ptt-afwc .afwc-affiliate-details-card .afwc-signup-date-wrapper,
.ptt-afwc .afwc-affiliate-details-card .afwc-referral-url-wrapper {
  color: #FFFFFF !important;
  font-family: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Visits table fix */
.ptt-afwc .afwc-visits-table {
  table-layout: fixed;
  width: 100%;
}
.ptt-afwc .afwc-visits-table td.user_agent_info {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 12px !important;
  text-align: left !important;
}
.ptt-afwc .afwc-visits-table td.user_agent_info > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  min-width: 0;
}
.ptt-afwc .afwc-visits-table td.user_agent_info .afwc-visits-info-label,
.ptt-afwc .afwc-visits-table td.user_agent_info .afwc-visits-info-value {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}
@media (max-width: 480px) {
  .ptt-afwc .afwc-visits-table td.user_agent_info {
    font-size: 11px !important;
  }
}

/* Referrals table fix */
.ptt-afwc .afwc-referrals-table td.commission,
.ptt-afwc .afwc-referrals-table td.campaign {
  font-size: 12px !important;
  text-align: left !important;
  white-space: nowrap !important;
}
.ptt-afwc .afwc-referrals-table th.commission,
.ptt-afwc .afwc-referrals-table th.campaign {
  font-size: 12px !important;
  white-space: nowrap !important;
  text-align: left !important;
}
@media (max-width: 480px) {
  .ptt-afwc .afwc-referrals-table td.commission,
  .ptt-afwc .afwc-referrals-table td.campaign,
  .ptt-afwc .afwc-referrals-table th.commission,
  .ptt-afwc .afwc-referrals-table th.campaign {
    font-size: 11px !important;
  }
}

/* Inner tables formatting */
.ptt-afwc table.afwc-visits-table,
.ptt-afwc table.afwc-referrals-table,
.ptt-afwc table.afwc-products-table,
.ptt-afwc table.afwc-payouts-table,
.ptt-afwc table.shop_table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #0e2738;
  border-radius: 12px;
  overflow: hidden;
}
.ptt-afwc table.afwc-visits-table thead th,
.ptt-afwc table.afwc-referrals-table thead th,
.ptt-afwc table.afwc-products-table thead th,
.ptt-afwc table.afwc-payouts-table thead th,
.ptt-afwc table.shop_table thead th {
  background: #0b1721;
  color: #fff;
  border: 1px solid #0e2738;
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}
.ptt-afwc table.afwc-visits-table tbody td,
.ptt-afwc table.afwc-referrals-table tbody td,
.ptt-afwc table.afwc-products-table tbody td,
.ptt-afwc table.afwc-payouts-table tbody td,
.ptt-afwc table.shop_table tbody td {
  color: #fff;
  border: 1px solid #0e2738;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Allow breaking for specific columns */
.ptt-afwc .afwc-visits-table td.referring_url,
.ptt-afwc .afwc-visits-table td.user_agent_info {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Responsive: keep table layout, shrink fonts */
@media (max-width: 480px) {
  .ptt-afwc table.shop_table_responsive,
  .ptt-afwc table.shop_table_responsive thead,
  .ptt-afwc table.shop_table_responsive tbody,
  .ptt-afwc table.shop_table_responsive tr,
  .ptt-afwc table.shop_table_responsive td,
  .ptt-afwc table.shop_table_responsive th {
    display: table;
  }
  .ptt-afwc table.shop_table_responsive thead { display: table-header-group; }
  .ptt-afwc table.shop_table_responsive tbody { display: table-row-group; }
  .ptt-afwc table.shop_table_responsive tr    { display: table-row; }
  .ptt-afwc table.shop_table_responsive th,
  .ptt-afwc table.shop_table_responsive td    { display: table-cell; }

  .ptt-afwc table thead th { font-size: 12px; padding: 8px 9px; }
  .ptt-afwc table tbody td { font-size: 12px; padding: 7px 8px; }

  .ptt-afwc .afwc-referrals-table th.commission,
  .ptt-afwc .afwc-referrals-table th.campaign,
  .ptt-afwc .afwc-visits-table th.user_agent_info,
  .ptt-afwc .afwc-visits-table th.referring_url {
    font-size: 11px;
    white-space: nowrap;
  }
  .ptt-afwc .afwc-visits-table td.user_agent_info {
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* Outer range container bar */
.ptt-afwc #afwc_date_range_container {
  background: #0b1721 !important;
  border: 1px solid var(--ptt-border) !important;
  border-radius: 10px !important;
  padding: 6px 8px !important;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #fff !important;
}

/* Each date field wrapper */
.ptt-afwc #afwc_datepicker_from,
.ptt-afwc #afwc_datepicker_to {
  background: transparent !important;
  border: 0 !important;
}

/* The actual date inputs */
.ptt-afwc #afwc_datepicker_from input[type="date"],
.ptt-afwc #afwc_datepicker_to   input[type="date"],
.ptt-afwc input[type="date"]#afwc_to,
.ptt-afwc input[type="date"]#afwc_from {
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  font-family: "Poppins","Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size: 13px !important;
  height: 32px !important;
  line-height: 32px !important;
  padding: 0 6px !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Placeholder / empty state color (Safari/WebKit shows yyyy-mm-dd ghost) */
.ptt-afwc #afwc_datepicker_from input[type="date"]::-webkit-datetime-edit,
.ptt-afwc #afwc_datepicker_to   input[type="date"]::-webkit-datetime-edit {
  color: #c6d6e3 !important;
}

/* Calendar icon color (invert to white) */
.ptt-afwc #afwc_datepicker_from input[type="date"]::-webkit-calendar-picker-indicator,
.ptt-afwc #afwc_datepicker_to   input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(.85);
  cursor: pointer;
}

/* Focus glow in brand accent */
.ptt-afwc #afwc_datepicker_from input[type="date"]:focus,
.ptt-afwc #afwc_datepicker_to   input[type="date"]:focus {
  box-shadow: 0 0 0 2px rgba(0,210,255,.25) !important;
  border-radius: 6px;
}

/* “to” separator text inside the container */
.ptt-afwc #afwc_date_range_container .separator,
.ptt-afwc #afwc_date_range_container span {
  color: #9fb6c8 !important;
}

/* Optional: smart-dates dropdown wrapper next to the range */
.ptt-afwc #afwc-smart-dates-dropdown-wrapper,
.ptt-afwc #afwc_smart_dates_dropdown_wrapper,
.ptt-afwc #afwc-smart-dates-dropdown-wrapper select {
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
}/* End custom CSS */