/*
Pricing Template Styles
Template: page-pricing.php
*/

/* Base Styles - Applied to body when on pricing page */
body.page-template-page-pricing {
    width: 100%;
    min-height: calc(100vh - 200px);
    position: relative;
}

/* Site Main - Use default padding from style.css */
body.page-template-page-pricing .site-main {
    width: 100%;
    min-height: calc(100vh - 200px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Breadcrumb Container */
body.page-template-page-pricing .breadcrumb-container {
    width: 100%;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Pricing Page Container */
.pricing-page {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.pricing-main-container {
    width: 100%;
    max-width: 1440px;
    padding: 40px 16px 80px;
    overflow-x: hidden;
}

/* ============================================
   CONTENT SECTION
   ============================================ */
.pricing-content-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    box-shadow: var(--shadow-subtle);
}

.pricing-content-section + .pricing-content-section {
    margin-top: 40px;
}

.pricing-section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.pricing-section-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-align: right;
}

.pricing-section-description {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-body);
    text-align: justify;
    margin: 0;
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    margin: 16px 0;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: var(--shadow-subtle);
    -webkit-overflow-scrolling: touch;
}

.pricing-table {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-width: 600px;
    direction: rtl;
    text-align: right;
}

.pricing-table thead {
    display: flex;
    flex-direction: column;
    min-width: 600px;
}

.pricing-table-header-row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    width: 100%;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table-col-1 {
    grid-column: 1;
    font-size: 0.875em;
    font-weight: 500;
    color: var(--text-body);
    padding: 12px;
    text-align: right;
}

.pricing-table-col-2 {
    grid-column: 2;
    font-size: 0.875em;
    font-weight: 500;
    color: var(--text-body);
    padding: 12px;
    text-align: right;
}

.pricing-table-col-3 {
    grid-column: 3;
    padding: 12px;
}

.pricing-table-fee-header {
    display: flex;
    flex-direction: column;
}

.pricing-table-fee-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875em;
    font-weight: 500;
    color: var(--text-body);
}

.pricing-table-fee-types > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-table-fee-labels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    height: 32px;
    align-items: center;
    font-size: 0.875em;
    font-weight: 500;
    color: var(--text-body);
}

.pricing-table-fee-labels > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-table tbody {
    display: flex;
    flex-direction: column;
    min-width: 600px;
}

.pricing-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    height: 48px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody td {
    padding: 12px;
    color: var(--text-body);
    font-size: 0.875em;
    text-align: right;
}

.pricing-tier-badge {
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: rgba(33, 51, 100, 0.1);
    color: var(--text-primary);
    border-radius: 4px;
    font-weight: 500;
    direction: rtl;
}

.pricing-tier-badge.desktop-badge {
    height: 32px;
    font-size: 0.875em;
    display: none;
}

.pricing-tier-badge.mobile-badge {
    height: 24px;
    font-size: 0.75em;
    display: flex;
}

.pricing-table-fee-values {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    width: 100%;
    justify-items: center;
    font-size: 0.875em;
    color: var(--text-body);
}

.pricing-table-fee-values > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   INFO BOX - DESKTOP
   ============================================ */
.pricing-info-desktop {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.pricing-info-intro {
    font-size: 1.125em;
    line-height: 1.8;
    color: var(--text-body);
    text-align: justify;
    margin: 0;
}

.pricing-info-list {
    list-style: disc;
    padding-right: 32px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1.125em;
    line-height: 1.8;
    color: var(--text-body);
}

.pricing-info-list li {
    text-align: justify;
}

.pricing-info-list li p {
    margin: 0;
    text-align: justify;
}

/* ============================================
   INFO BOX - MOBILE
   ============================================ */
.pricing-info-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.pricing-info-mobile-content {
    height: 280px;
    overflow-y: hidden;
    overflow-x: hidden;
    transition: height 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pricing-info-mobile-content::before {
    content: "";
    position: absolute;
    inset: 0;
    top: 0;
    background: linear-gradient(to top, var(--card-bg, #ffffff) 0%, var(--card-bg, #ffffff) 90%, transparent 100%);
    height: 280px;
    pointer-events: none;
    z-index: 1;
}

.pricing-info-mobile-list {
    list-style: disc;
    padding-right: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.pricing-info-mobile-list li {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-body);
    text-align: justify;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.pricing-info-mobile-list li > div {
    color: var(--text-primary);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.pricing-more-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 64px;
    height: 24px;
    padding: 0 8px;
    margin: 12px auto 0;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 500;
    background: transparent;
    color: var(--text-primary);
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.pricing-more-button:hover {
    background: rgba(33, 51, 100, 0.1);
}

.pricing-more-button:focus-visible {
    outline: 2px solid var(--focus-color);
    outline-offset: 2px;
}

.pricing-more-icon {
    font-size: 0.75em;
    transition: transform 0.3s ease;
}

.pricing-more-button.expanded .pricing-more-icon {
    transform: rotate(180deg);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 768px) {
    .pricing-main-container {
        padding: 40px 40px 80px;
    }

    .pricing-content-section {
        padding: 32px;
    }

    .pricing-table-wrapper {
        overflow-x: auto;
    }

    .pricing-tier-badge.desktop-badge {
        display: flex;
    }

    .pricing-tier-badge.mobile-badge {
        display: none;
    }

    .pricing-info-desktop {
        display: flex;
    }

    .pricing-info-mobile {
        display: none;
    }

    .pricing-table-col-1,
    .pricing-table-col-2 {
        font-size: 0.9375em;
    }

    .pricing-table-fee-types,
    .pricing-table-fee-labels {
        font-size: 0.9375em;
    }

    .pricing-table tbody td {
        font-size: 0.9375em;
    }
}

@media (min-width: 1024px) {
    .pricing-main-container {
        padding: 40px 120px 80px;
    }

    .pricing-content-section {
        max-width: 968px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    body.page-template-page-pricing .site-main {
        padding: 50px 20px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .pricing-main-container {
        padding: 30px 20px 60px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-content-section {
        padding: 20px;
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-section-header {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-section-header-top {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-search-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .pricing-section-title {
        font-size: 1.25em;
    }

    .pricing-section-description {
        font-size: 0.95em;
    }

    .pricing-table-wrapper {
        padding: 16px;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .pricing-table {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-table thead {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-table tbody {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-table-header-row {
        grid-template-columns: 0.8fr 1.2fr 1.5fr;
    }

    .pricing-table tbody tr {
        grid-template-columns: 0.8fr 1.2fr 1.5fr;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 10px 8px;
        font-size: 0.85em;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    body.page-template-page-pricing .site-main {
        padding: 40px 16px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .pricing-main-container {
        padding: 20px 16px 40px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-content-section {
        padding: 16px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-section-header {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-section-header-top {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-search-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .pricing-table-wrapper {
        padding: 12px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .pricing-table {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-table thead {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-table tbody {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-table-header-row {
        grid-template-columns: 0.7fr 1fr 1.3fr;
    }

    .pricing-table tbody tr {
        grid-template-columns: 0.7fr 1fr 1.3fr;
    }

    .pricing-table-fee-types,
    .pricing-table-fee-labels {
        font-size: 0.7em;
    }

    .pricing-table-fee-values {
        font-size: 0.7em;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 8px 6px;
        font-size: 0.75em;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* ============================================
   CRYPTO DEPOSIT/WITHDRAWAL SECTION
   ============================================ */
.pricing-section-header-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .pricing-section-header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* Search Wrapper */
.pricing-search-wrapper {
    width: 100%;
    max-width: 200px;
    flex-shrink: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .pricing-search-wrapper {
        flex-shrink: 0;
        max-width: 200px;
    }
}

@media (max-width: 767px) {
    .pricing-search-wrapper {
        width: 100%;
        max-width: 100%;
    }
}

.pricing-search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    height: 32px;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    transition: border-color 0.15s ease;
    direction: rtl;
    box-sizing: border-box;
    overflow-x: hidden;
}

.pricing-search-container:focus-within {
    border-color: var(--border-color-high, var(--border-color));
}

.pricing-search-icon {
    font-size: 0.875em;
    color: var(--text-body);
    margin-left: 8px;
    flex-shrink: 0;
}

.pricing-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.875em;
    color: var(--text-primary);
    direction: rtl;
    text-align: right;
}

.pricing-search-input::placeholder {
    color: var(--text-body);
}

/* Crypto Table Wrapper */
.pricing-crypto-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    margin: 16px 0;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: var(--shadow-subtle);
    -webkit-overflow-scrolling: touch;
}

.pricing-crypto-table {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-width: 918px;
    direction: rtl;
    text-align: right;
}

.pricing-crypto-table thead {
    display: flex;
    flex-direction: column;
    min-width: 918px;
}

.pricing-crypto-table-header-info {
    display: flex;
    padding: 24px;
}

.pricing-crypto-table-header-info th {
    width: 100%;
    padding: 0;
    border: none;
}

.pricing-crypto-table-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.pricing-crypto-table-info-title {
    font-size: 1.125em;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-crypto-table-info-description {
    font-size: 0.875em;
    line-height: 1.6;
    color: var(--text-body);
}

.pricing-crypto-table-header-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
    min-height: 40px;
    align-items: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding-top: 8px;
}

.pricing-crypto-table-col-1,
.pricing-crypto-table-col-2,
.pricing-crypto-table-col-3,
.pricing-crypto-table-col-4,
.pricing-crypto-table-col-5,
.pricing-crypto-table-col-6 {
    font-size: 0.875em;
    font-weight: 500;
    color: var(--text-body);
    padding: 12px;
    text-align: center;
}

.pricing-crypto-table tbody {
    display: flex;
    flex-direction: column;
    min-width: 918px;
    max-height: 396px;
    overflow-y: auto;
    overflow-x: hidden;
}

.pricing-crypto-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
    min-height: 48px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.pricing-crypto-table-row:first-child {
    border-top: none;
}

.pricing-crypto-table-row:last-child {
    border-bottom: none;
}

.pricing-crypto-table-row td {
    padding: 12px;
    color: var(--text-body);
    font-size: 0.875em;
    text-align: center;
    border-left: 1px solid var(--border-color);
}

.pricing-crypto-table-col-1 {
    text-align: right;
    border-left: none;
    padding-right: 12px;
}

/* Crypto Name */
.pricing-crypto-name {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
}

.pricing-crypto-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(33, 51, 100, 0.1);
    font-size: 0.75em;
    flex-shrink: 0;
}

.pricing-crypto-name-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-crypto-name-persian {
    font-size: 0.875em;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: capitalize;
}

.pricing-crypto-name-symbol {
    font-size: 0.75em;
    color: var(--text-body);
    text-transform: uppercase;
}

.pricing-crypto-fee-symbol {
    font-size: 0.75em;
    color: var(--text-body);
    margin-left: 4px;
}

/* Crypto Info */
.pricing-crypto-info {
    margin-top: 24px;
}

.pricing-crypto-info-text {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-body);
    text-align: justify;
    margin: 0;
}

/* Responsive Design for Crypto Section */
@media (min-width: 768px) {
    .pricing-crypto-table-col-1,
    .pricing-crypto-table-col-2,
    .pricing-crypto-table-col-3,
    .pricing-crypto-table-col-4,
    .pricing-crypto-table-col-5,
    .pricing-crypto-table-col-6 {
        font-size: 0.9375em;
    }

    .pricing-crypto-table-row {
        min-height: 58px;
    }

    .pricing-crypto-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875em;
    }

    .pricing-crypto-name-persian {
        font-size: 0.9375em;
    }

    .pricing-crypto-table tbody {
        max-height: 396px;
    }
}

@media (max-width: 767px) {
    .pricing-crypto-table-wrapper {
        padding: 16px;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .pricing-crypto-table {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-crypto-table thead {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-crypto-table tbody {
        min-width: 0;
        max-height: 300px;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-crypto-table-header-row {
        grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr 0.7fr 0.7fr;
    }

    .pricing-crypto-table-row {
        grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr 0.7fr 0.7fr;
        min-height: 48px;
    }

    .pricing-crypto-table th,
    .pricing-crypto-table td {
        padding: 10px 8px;
        font-size: 0.85em;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .pricing-crypto-table-header-info {
        padding: 16px;
        box-sizing: border-box;
    }

    .pricing-crypto-table-info-title {
        font-size: 1em;
    }

    .pricing-crypto-table-info-description {
        font-size: 0.8em;
    }

    .pricing-crypto-info {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-crypto-info-text {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .pricing-crypto-table-wrapper {
        padding: 12px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .pricing-crypto-table {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-crypto-table thead {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-crypto-table tbody {
        min-width: 0;
        max-height: 250px;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-crypto-table-header-row {
        grid-template-columns: 1fr 0.6fr 0.6fr 0.6fr 0.6fr 0.6fr;
    }

    .pricing-crypto-table-row {
        grid-template-columns: 1fr 0.6fr 0.6fr 0.6fr 0.6fr 0.6fr;
    }

    .pricing-crypto-table th,
    .pricing-crypto-table td {
        padding: 8px 6px;
        font-size: 0.75em;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .pricing-crypto-icon {
        width: 24px;
        height: 24px;
    }

    .pricing-crypto-info {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .pricing-crypto-info-text {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
}

/* ============================================
   IRT DEPOSIT/WITHDRAWAL SECTION
   ============================================ */

/* Alert Box */
.pricing-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
    background: rgba(5, 27, 51, 0.05);
    border: 1px solid rgba(5, 27, 51, 0.1);
    border-radius: 8px;
    margin: 16px 0;
    direction: rtl;
}

.pricing-alert-icon {
    font-size: 20px;
    line-height: 20px;
    flex-shrink: 0;
    margin-left: 8px;
}

.pricing-alert-content {
    flex: 1;
}

.pricing-alert-text {
    font-size: 0.875em;
    line-height: 1.6;
    color: var(--text-body);
    margin: 0;
    text-align: justify;
}

/* IRT Table Wrapper */
.pricing-irt-table-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 16px 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    box-sizing: border-box;
}

.pricing-irt-table {
    width: 100%;
    display: flex;
    flex-direction: column;
    direction: rtl;
    text-align: right;
}

.pricing-irt-table thead {
    display: flex;
    flex-direction: column;
}

.pricing-irt-table-title-row {
    display: flex;
    padding: 24px;
}

.pricing-irt-table-title-row th {
    font-size: 1.125em;
    font-weight: 700;
    color: var(--text-primary);
    padding: 0;
    border: none;
    text-align: right;
}

.pricing-irt-table-header-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 32px;
    align-items: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.pricing-irt-table-header-row th {
    font-size: 0.875em;
    font-weight: 500;
    color: var(--text-body);
    padding: 12px;
    text-align: center;
}

.pricing-irt-table tbody {
    display: flex;
    flex-direction: column;
}

.pricing-irt-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 48px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-irt-table-row-last {
    border-bottom: none;
    padding-bottom: 16px;
}

.pricing-irt-table-row td {
    padding: 12px;
    font-size: 0.875em;
    color: var(--text-body);
    text-align: center;
}

/* IRT Table Columns */
.pricing-irt-table-col-1,
.pricing-irt-table-col-2,
.pricing-irt-table-col-3 {
    text-align: center;
}

/* Status Badge */
.pricing-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 500;
    direction: rtl;
    height: 24px;
}

.pricing-status-active {
    background: #e3f2fd;
    color: #1976d2;
}

.pricing-status-inactive {
    background: #ffebee;
    color: #c62828;
}

/* IRT Process Section */
.pricing-irt-process {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-irt-process-title {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-align: right;
}

.pricing-irt-process-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-irt-process-content p {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-body);
    text-align: justify;
    margin: 0;
}

/* Responsive Design for IRT Section */
@media (min-width: 768px) {
    .pricing-alert-box {
        padding: 16px;
    }

    .pricing-irt-table-header-row th {
        font-size: 0.9375em;
    }

    .pricing-irt-table-row {
        min-height: 48px;
    }

    .pricing-irt-table-row td {
        font-size: 0.9375em;
    }

    .pricing-status-badge {
        height: 32px;
        font-size: 0.875em;
        padding: 0 8px;
    }

    .pricing-irt-process-title {
        font-size: 1.5em;
    }

    .pricing-irt-process-content p {
        font-size: 1.125em;
    }
}

@media (max-width: 767px) {
    .pricing-irt-table-wrapper {
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-irt-table-title-row {
        padding: 16px;
    }

    .pricing-irt-table-title-row th {
        font-size: 1em;
    }

    .pricing-irt-table-header-row {
        grid-template-columns: 1fr 1fr 1fr;
        min-height: 32px;
    }

    .pricing-irt-table-header-row th {
        font-size: 0.85em;
        padding: 10px 8px;
    }

    .pricing-irt-table-row {
        grid-template-columns: 1fr 1fr 1fr;
        min-height: 48px;
    }

    .pricing-irt-table-row td {
        font-size: 0.85em;
        padding: 10px 8px;
    }

    .pricing-status-badge {
        height: 24px;
        font-size: 0.75em;
        padding: 0 8px;
    }

    .pricing-irt-process-title {
        font-size: 1.125em;
    }
}

/* Tables with 2 columns */
.pricing-irt-table-2cols .pricing-irt-table-header-row {
    grid-template-columns: 1fr 1fr;
}

.pricing-irt-table-2cols .pricing-irt-table-row {
    grid-template-columns: 1fr 1fr;
}

/* ============================================
   DARK MODE STYLES
   ============================================ */
[data-theme="dark"] .pricing-content-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

[data-theme="dark"] .pricing-table-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

[data-theme="dark"] .pricing-crypto-table-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

[data-theme="dark"] .pricing-irt-table-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

[data-theme="dark"] .pricing-search-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .pricing-alert-box {
    background: rgba(5, 27, 51, 0.3);
    border: 1px solid rgba(61, 114, 254, 0.2);
}

[data-theme="dark"] .pricing-alert-text {
    color: var(--text-primary);
}

[data-theme="dark"] .pricing-tier-badge {
    background: rgba(61, 114, 254, 0.15);
    color: var(--text-primary);
}

[data-theme="dark"] .pricing-crypto-icon {
    background: rgba(61, 114, 254, 0.15);
}

[data-theme="dark"] .pricing-more-button:hover {
    background: rgba(61, 114, 254, 0.15);
}

[data-theme="dark"] .pricing-info-mobile-content::before {
    background: linear-gradient(to top, var(--card-bg) 0%, var(--card-bg) 90%, transparent 100%);
}

[data-theme="dark"] .pricing-status-active {
    background: rgba(25, 118, 210, 0.2);
    color: #64b5f6;
}

[data-theme="dark"] .pricing-status-inactive {
    background: rgba(198, 40, 40, 0.2);
    color: #ef5350;
}

/* ============================================
   AUTO DARK MODE SUPPORT
   ============================================ */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .pricing-content-section {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-card);
    }

    :root:not([data-theme="light"]) .pricing-table-wrapper {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-card);
    }

    :root:not([data-theme="light"]) .pricing-crypto-table-wrapper {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-card);
    }

    :root:not([data-theme="light"]) .pricing-irt-table-wrapper {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-card);
    }

    :root:not([data-theme="light"]) .pricing-search-container {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
    }

    :root:not([data-theme="light"]) .pricing-alert-box {
        background: rgba(5, 27, 51, 0.3);
        border: 1px solid rgba(61, 114, 254, 0.2);
    }

    :root:not([data-theme="light"]) .pricing-alert-text {
        color: var(--text-primary);
    }

    :root:not([data-theme="light"]) .pricing-tier-badge {
        background: rgba(61, 114, 254, 0.15);
        color: var(--text-primary);
    }

    :root:not([data-theme="light"]) .pricing-crypto-icon {
        background: rgba(61, 114, 254, 0.15);
    }

    :root:not([data-theme="light"]) .pricing-more-button:hover {
        background: rgba(61, 114, 254, 0.15);
    }

    :root:not([data-theme="light"]) .pricing-info-mobile-content::before {
        background: linear-gradient(to top, var(--card-bg) 0%, var(--card-bg) 90%, transparent 100%);
    }

    :root:not([data-theme="light"]) .pricing-status-active {
        background: rgba(25, 118, 210, 0.2);
        color: #64b5f6;
    }

    :root:not([data-theme="light"]) .pricing-status-inactive {
        background: rgba(198, 40, 40, 0.2);
        color: #ef5350;
    }
}
