/*
 * ------------------------------------------------------------------------
 * File: /home/fhdxtrading/public_html/public/assets/css/subscriptions.css
 * Project: FHD-X
 *
 * Developed by Noor United Est.
 *
 * Website: www.noor-united.com
 *
 * Kuwait
 * Tel: +965-22280990
 * Mobile: +965-60005677
 *
 * Bahrain
 * Tel: +973-16612020 / +973-16613030
 * Mobile: +973-37616010
 *
 * Copyright (c) Noor United Est.
 * All rights reserved.
 * ------------------------------------------------------------------------
 */

.fhdx-layout:has(.fhdx-subscriptions-page){
    grid-template-columns:280px minmax(0,1fr) !important;
}

.fhdx-layout:has(.fhdx-subscriptions-page) .fhdx-sidebar{
    grid-column:1 !important;
}

.fhdx-layout:has(.fhdx-subscriptions-page) .fhdx-content{
    grid-column:2 !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    overflow:visible !important;
}

.fhdx-subscriptions-page,
.fhdx-subscriptions-page *{
    box-sizing:border-box;
}

.fhdx-subscriptions-page{
    width:100%;
    max-width:1180px;
    margin-inline:auto;
    overflow:visible;
}

.fhdx-sub-hero{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));
    gap:22px;
    margin-bottom:28px;
}

.fhdx-sub-card{
    width:100%;
    min-width:0;
    background:#fff;
    border:1px solid #e5eaf3;
    border-radius:24px;
    padding:28px;
    box-shadow:0 18px 45px rgba(15,23,42,.06);
}

.fhdx-sub-current{
    background:linear-gradient(135deg,#07111f,#101827);
    color:#fff;
}

.fhdx-sub-current h2,
.fhdx-sub-current p{
    color:#fff;
}

.fhdx-sub-badge{
    display:inline-flex;
    padding:7px 14px;
    border-radius:999px;
    font-size:13px;
    font-weight:800;
    background:#e8f0ff;
    color:#0b5cf0;
    margin-bottom:14px;
}

.fhdx-sub-current .fhdx-sub-badge{
    background:rgba(255,255,255,.12);
    color:#fff;
}

.fhdx-sub-title{
    font-size:28px;
    font-weight:900;
    margin:0 0 10px;
}

.fhdx-sub-meta{
    color:#64748b;
    line-height:1.8;
}

.fhdx-sub-progress{
    height:12px;
    background:rgba(148,163,184,.25);
    border-radius:999px;
    overflow:hidden;
    margin:18px 0 12px;
}

.fhdx-sub-progress span{
    display:block;
    height:100%;
    width:var(--fhdx-sub-percent, 0%);
    background:#0b5cf0;
    border-radius:999px;
}

.fhdx-sub-stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
    gap:14px;
    margin-top:18px;
}

.fhdx-sub-stat{
    background:#f8fafc;
    border-radius:18px;
    padding:16px;
}

.fhdx-sub-stat strong{
    display:block;
    font-size:24px;
    margin-bottom:4px;
}

.fhdx-pricing-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));
    gap:22px;
    margin-bottom:28px;
}

.fhdx-plan-card{
    width:100%;
    min-width:0;
    background:#fff;
    border:1px solid #e5eaf3;
    border-radius:26px;
    padding:30px;
    box-shadow:0 18px 45px rgba(15,23,42,.06);
    display:flex;
    flex-direction:column;
}

.fhdx-plan-card.is-current{
    border:2px solid #16a34a;
}

.fhdx-plan-card.is-elite{
    border-color:#d6a84f;
    box-shadow:0 22px 60px rgba(214,168,79,.18);
}

.fhdx-plan-name{
    font-size:24px;
    font-weight:900;
    margin-bottom:16px;
}

.fhdx-plan-price{
    font-size:42px;
    font-weight:950;
    margin-bottom:14px;
}

.fhdx-plan-desc{
    color:#475569;
    line-height:1.7;
}

.fhdx-feature-list{
    list-style:none;
    padding:0;
    margin:18px 0 26px;
    display:grid;
    gap:12px;
}

.fhdx-feature-list li{
    color:#1f2937;
    display:flex;
    gap:10px;
    align-items:flex-start;
}

.fhdx-feature-list li::before{
    content:"✓";
    width:22px;
    height:22px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#e8f8ee;
    color:#16a34a;
    font-weight:900;
    flex:none;
}

.fhdx-plan-action{
    margin-top:auto;
}

.fhdx-plan-btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:fit-content;
    min-height:48px;
    padding:0 22px;
    border-radius:13px;
    background:#0b5cf0;
    color:#fff;
    font-weight:900;
    text-decoration:none;
    box-shadow:0 14px 28px rgba(11,92,240,.22);
}

.fhdx-plan-btn.is-current{
    background:#16a34a;
}

.fhdx-comparison{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.fhdx-comparison table{
    width:100%;
    min-width:680px;
    border-collapse:collapse;
}

.fhdx-comparison th,
.fhdx-comparison td{
    padding:16px;
    border-bottom:1px solid #e5eaf3;
    text-align:center;
}

.fhdx-comparison th:first-child,
.fhdx-comparison td:first-child{
    text-align:start;
    font-weight:800;
}

html[dir="rtl"] .fhdx-subscriptions-page{
    direction:rtl;
    text-align:right;
}

html[dir="ltr"] .fhdx-subscriptions-page{
    direction:ltr;
    text-align:left;
}

@media(max-width:900px){
    .fhdx-layout:has(.fhdx-subscriptions-page){
        grid-template-columns:1fr !important;
    }

    .fhdx-layout:has(.fhdx-subscriptions-page) .fhdx-sidebar,
    .fhdx-layout:has(.fhdx-subscriptions-page) .fhdx-content{
        grid-column:1 !important;
    }
}

@media(max-width:768px){
    .fhdx-subscriptions-page{
        max-width:100%;
        padding-inline:14px;
    }

    .fhdx-sub-hero,
    .fhdx-pricing-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .fhdx-sub-card,
    .fhdx-plan-card{
        border-radius:18px;
        padding:20px;
    }

    .fhdx-sub-title{
        font-size:22px;
    }

    .fhdx-plan-name{
        font-size:22px;
    }

    .fhdx-plan-price{
        font-size:34px;
    }

    .fhdx-plan-btn{
        width:100%;
    }

    .fhdx-comparison{
        padding:18px;
    }

    .fhdx-comparison table{
        min-width:560px;
    }
}

@media(max-width:520px){
    .fhdx-subscriptions-page{
        padding-inline:10px;
    }

    .fhdx-sub-card,
    .fhdx-plan-card{
        padding:18px;
    }

    .fhdx-sub-title{
        font-size:20px;
    }

    .fhdx-plan-price{
        font-size:30px;
    }

    .fhdx-feature-list li{
        font-size:14px;
    }
}