@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');

/* ---------- RESET THEME / BOOTSTRAP / ELEMENTOR ---------- */
.polliglot-pricing-table,
.polliglot-pricing-table * {
  box-sizing: border-box;
  border: none;
}

/* ---------- TABLE BASE ---------- */
.polliglot-pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.polliglot-pricing-table {
  width: 100%;
  border-spacing: 0;          /* IMPORTANT */
  border-collapse: separate; /* IMPORTANT */
}

/* ---------- CELLS ---------- */
.polliglot-pricing-table th,
.polliglot-pricing-table td {
  padding: 14px 10px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
  line-height: 1.3;
}

/* TOP BORDER */
.polliglot-pricing-table thead th {
  border-top: 1px solid #ddd;
}

/* LEFT BORDER */
.polliglot-pricing-table th:first-child,
.polliglot-pricing-table td:first-child {
  border-left: 1px solid #ddd;
}

/* ---------- HEADER ---------- */
.polliglot-pricing-table thead th {
  background: #dadada;
  font-size: 24px;
  font-weight: 400;
  color: #1D4A83;
}

.polliglot-pricing-table thead th span {
  display: block;
  font-size: 13px;
  color: #000;
  font-weight: 400;
}

/* ---------- BODY ---------- */
.polliglot-pricing-table tbody td {
  font-size: 15px;
  color: #000;
}

/* ---------- FIRST COLUMN (ICON + TEXT) ---------- */
.polliglot-pricing-table tbody td:first-child {
  text-align: left;
  color: #1D4A83;

  display: flex;
  align-items: center;
  gap: 10px;
  height:75px;
}

/* ICON */
.polliglot-pricing-table tbody td:first-child .material-symbols-outlined {
  font-size: 20px;
  color: #f48024;
  line-height: 1;
}

/* ---------- ROW HEIGHT CONSISTENCY ---------- */
.polliglot-pricing-table tbody tr {
  height: auto; /* let browser calculate once */
}

.polliglot-pricing-table tbody td {
  height: 100%;
}

/* ---------- RISK FREE ---------- */
.polliglot-pricing-table tr.risk-free td {
  background: #fff7ec !important;
}

/* ---------- SUBSCRIBE ROW ---------- */
.polliglot-pricing-table tr.subscribe-row td:first-child {
  background: #fff;
}


table thead:first-child tr:first-child th {
    border-block-start: 1px solid #ddd !important;
}

.polliglot-pricing-table th {
    border-right:1px solid #fff;
}

.polliglot-pricing-table tr th:first-child {
    background: #fff !important;
}

/* Remove highlight from Get Started row */
/* FORCE all rows to white */
.polliglot-pricing-table tbody tr td {
    background: #fff !important;
}

/* ONLY highlight Risk-Free row */
.polliglot-pricing-table tbody tr.risk-free td {
    background: #fff7ec !important;
    height:80px;
}

.polliglot-pricing-table tbody tr.subscribe-row td {
    height:80px;
}

.polliglot-pricing-table tbody tr td {
    height:75px;
}

.polliglot-pricing-table tbody tr.price-row td {
    height:105px;
}


.polliglot-btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #f48024;        /* Login button orange */
    color: #ffffff !important;

    padding: 10px 22px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 500;
    text-decoration: none;

    border: none;
    cursor: pointer;

    transition: background 0.25s ease, transform 0.15s ease;
}

/* Hover */
.polliglot-btn-small:hover {
    background: #e06f1a;        /* Slightly darker orange */
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Focus / Active */
.polliglot-btn-small:focus,
.polliglot-btn-small:active {
    outline: none;
    box-shadow: 0 0 0 2px rgba(244, 128, 36, 0.3);
}

/* Check icon for all data cells EXCEPT first column, price row, and subscribe row */
.polliglot-pricing-table tbody
tr:not(.price-row):not(.subscribe-row)
td:not(:first-child)::before {
    content: "check";
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    color: #000;
    margin-right: 8px;
    vertical-align: middle;
}


/* ---------- PRICE ROW SPECIAL STYLE ---------- */


/* ---------- PRICE UI ---------- */
.price-wrap {
    display: inline-block;
    text-align: center;
    color: #1D4A83;
}

/* Currency */
.price-wrap .currency {
    font-size: 20px;
    vertical-align: top;
    position: relative;
    top: 6px;
    margin-right: 2px;
    color:#000;
}

/* Main number */
.price-wrap .amount {
    font-size: 55px;
    font-weight: 500;
    line-height: 1;
    color:#000;
}

/* Monthly */
.price-wrap .period {
    display: block;
    margin-top: 0px;
    font-size: 14px;
    font-weight: 400;
    color: #1D4A83;
}


/* ---------- POPULAR (PRO) HEADER ---------- */
.polliglot-pricing-table thead th.is-popular {
    background: #1D4A83; /* Blue header */
    color: #ffffff;
    position: relative;
    overflow: hidden; /* THIS IS THE KEY FIX */
}

.polliglot-pricing-table thead th.is-popular span {
    color: #ffffff;
}

/* ---------- DIAGONAL POPULAR RIBBON ---------- */
.polliglot-pricing-table thead th.is-popular::after {
    content: "POPULAR";
    position: absolute;

    top: 12px;
    right: -34px;

    background: #f48024;
    color: #ffffff;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;

    padding: 6px 40px;
    transform: rotate(45deg);

    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    pointer-events: none;
}





/* ============================= */
/* MOBILE RESPONSIVE PRICING */
/* ============================= */
@media (max-width: 768px) {
  .polliglot-pricing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .polliglot-pricing-table {
    min-width: 900px; /* forces horizontal scroll */
  }
}
