/* =========================================================
   FXRedar Market Tools - Crypto + Forex dashboards
========================================================= */

.fxr-tools-crypto-summary,
.fxr-tools-forex{
    padding-top:42px;
    padding-bottom:52px;
}


.fxr-tools-market-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:32px;

    margin-bottom:26px;
}


.fxr-tools-market-head > div:first-child{
    max-width:800px;
}


.fxr-tools-market-head span{
    display:block;

    margin-bottom:13px;

    color:#2bdcf7;

    font-size:10px;
    font-weight:700;

    letter-spacing:.15em;
}


.fxr-tools-market-head h2{
    margin:0 0 13px;

    color:#e9eff3;

    font-size:
        clamp(
            40px,
            4vw,
            64px
        );

    line-height:1.04;

    font-weight:400;

    letter-spacing:-.035em;
}


.fxr-tools-market-head p{
    margin:0;

    max-width:720px;

    color:#8fa8b9;

    font-size:15px;

    line-height:1.7;
}


.fxr-tools-live-status{
    display:flex;
    align-items:center;
    gap:8px;

    flex:0 0 auto;

    padding:9px 12px;

    border:
        1px solid
        rgba(75,123,148,.22);

    border-radius:999px;

    color:#8da6b7;

    font-size:9px;

    letter-spacing:.1em;
}


.fxr-tools-live-status i{
    width:7px;
    height:7px;

    border-radius:50%;

    background:#4edba6;

    box-shadow:
        0 0 9px
        rgba(78,219,166,.50);
}


/* =========================================================
   CRYPTO
========================================================= */

.fxr-tools-crypto-screener{
    width:100%;

    height:310px;

    margin-bottom:18px;

    overflow:hidden;

    border:
        1px solid
        rgba(75,123,148,.18);

    border-radius:22px;

    background:#040e15;
}


.fxr-tools-crypto-screener
.tradingview-widget-container,
.fxr-tools-crypto-screener
.tradingview-widget-container__widget{
    width:100% !important;
    height:100% !important;
}


.fxr-tools-crypto-grid{
    display:grid;

    grid-template-columns:
        minmax(0,2fr)
        minmax(330px,1fr);

    gap:18px;
}


.fxr-tools-market-main-card,
.fxr-tools-side-card,
.fxr-tools-forex-card{
    overflow:hidden;

    border:
        1px solid
        rgba(75,123,148,.18);

    border-radius:22px;

    background:
        linear-gradient(
            145deg,
            rgba(6,19,29,.96),
            rgba(3,12,19,.98)
        );
}


.fxr-tools-widget-label{
    padding:
        18px 20px
        14px;

    border-bottom:
        1px solid
        rgba(255,255,255,.055);
}


.fxr-tools-widget-label span{
    display:block;

    color:#2bdcf7;

    font-size:8px;

    font-weight:700;

    letter-spacing:.12em;
}


.fxr-tools-widget-label strong{
    display:block;

    margin-top:6px;

    color:#e5eef3;

    font-size:17px;

    font-weight:600;
}


.fxr-tools-main-chart{
    height:625px;

    background:#040e15;
}


.fxr-tools-market-side{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
}


.fxr-tools-mini-chart{
    height:292px;

    background:#040e15;
}


.fxr-tools-main-chart
.tradingview-widget-container,
.fxr-tools-main-chart
.tradingview-widget-container__widget,
.fxr-tools-mini-chart
.tradingview-widget-container,
.fxr-tools-mini-chart
.tradingview-widget-container__widget{
    width:100% !important;
    height:100% !important;
}


/* =========================================================
   FOREX
========================================================= */

.fxr-tools-forex{
    border-top:
        1px solid
        rgba(75,123,148,.10);
}


.fxr-tools-forex-top{
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:20px;

    padding:
        18px 20px;

    border-bottom:
        1px solid
        rgba(255,255,255,.055);
}


.fxr-tools-forex-top > div:first-child span{
    display:block;

    color:#64869a;

    font-size:8px;

    font-weight:700;

    letter-spacing:.10em;
}


.fxr-tools-forex-top > div:first-child strong{
    display:block;

    margin-top:5px;

    color:#e8f0f4;

    font-size:17px;

    font-weight:600;
}


.fxr-tools-forex-pairs{
    display:flex;

    align-items:center;

    flex-wrap:wrap;

    justify-content:flex-end;

    gap:7px;
}


.fxr-tools-forex-pairs span{
    padding:
        7px 10px;

    border:
        1px solid
        rgba(75,123,148,.15);

    border-radius:999px;

    color:#7898aa;

    background:
        rgba(7,20,29,.65);

    font-size:9px;
}


.fxr-tools-forex-chart{
    height:650px;

    background:#040e15;
}


.fxr-tools-forex-chart
.tradingview-widget-container,
.fxr-tools-forex-chart
.tradingview-widget-container__widget{
    width:100% !important;
    height:100% !important;
}


.fxr-tools-chart-footer{
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:15px;

    padding:
        13px 20px;

    color:#587789;

    font-size:9px;

    line-height:1.4;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1050px){

    .fxr-tools-crypto-grid{
        grid-template-columns:1fr;
    }


    .fxr-tools-market-side{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }


    .fxr-tools-main-chart{
        height:540px;
    }


    .fxr-tools-forex-chart{
        height:560px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:700px){

    .fxr-tools-crypto-summary,
    .fxr-tools-forex{
        padding-top:28px;
        padding-bottom:34px;
    }


    .fxr-tools-market-head{
        flex-direction:column;

        align-items:flex-start;

        gap:16px;
    }


    .fxr-tools-market-head h2{
        font-size:
            clamp(
                34px,
                9vw,
                48px
            );
    }


    .fxr-tools-market-head p{
        font-size:14px;
    }


    .fxr-tools-crypto-screener{
        height:420px;
    }


    .fxr-tools-main-chart{
        height:450px;
    }


    .fxr-tools-market-side{
        grid-template-columns:1fr;
    }


    .fxr-tools-mini-chart{
        height:280px;
    }


    .fxr-tools-forex-top{
        align-items:flex-start;

        flex-direction:column;
    }


    .fxr-tools-forex-pairs{
        justify-content:flex-start;
    }


    .fxr-tools-forex-chart{
        height:460px;
    }


    .fxr-tools-chart-footer{
        flex-direction:column;

        align-items:flex-start;

        gap:4px;
    }

}


@media(max-width:430px){

    .fxr-tools-main-chart{
        height:410px;
    }


    .fxr-tools-forex-chart{
        height:410px;
    }

}


/* =========================================================
   MARKET INTELLIGENCE TOOLS
========================================================= */

.fxr-intelligence-tools{
    padding-top:42px;
    padding-bottom:48px;
}


.fxr-intelligence-head{
    max-width:900px;

    margin-bottom:28px;
}


.fxr-intelligence-head span,
.fxr-ai-risk-copy > span{
    display:block;

    margin-bottom:14px;

    color:#2bdcf7;

    font-size:10px;

    font-weight:700;

    letter-spacing:.15em;
}


.fxr-intelligence-head h2,
.fxr-ai-risk-copy h2{
    margin:0 0 15px;

    color:#e9eff3;

    font-size:
        clamp(
            40px,
            4vw,
            64px
        );

    line-height:1.04;

    font-weight:400;

    letter-spacing:-.035em;
}


.fxr-intelligence-head p{
    max-width:760px;

    margin:0;

    color:#8fa8b9;

    font-size:15px;

    line-height:1.7;
}


.fxr-intelligence-grid{
    display:grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap:16px;
}


.fxr-intelligence-card{
    min-height:285px;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    box-sizing:border-box;

    padding:22px;

    text-decoration:none;

    border:
        1px solid
        rgba(73,122,147,.18);

    border-radius:18px;

    background:
        linear-gradient(
            145deg,
            rgba(6,18,27,.92),
            rgba(3,11,17,.97)
        );
}


a.fxr-intelligence-card{
    transition:
        border-color .2s ease,
        transform .2s ease;
}


a.fxr-intelligence-card:hover{
    border-color:
        rgba(43,220,247,.34);

    transform:
        translateY(-2px);
}


.fxr-intelligence-number{
    color:#2bdcf7;

    font-size:9px;

    font-weight:700;

    letter-spacing:.08em;
}


.fxr-intelligence-icon{
    width:42px;

    height:42px;

    display:grid;

    place-items:center;

    margin:
        24px 0
        17px;

    border:
        1px solid
        rgba(43,220,247,.16);

    border-radius:12px;

    background:
        rgba(43,220,247,.055);
}


.fxr-intelligence-icon svg{
    width:21px;

    height:21px;

    fill:none;

    stroke:#2bdcf7;

    stroke-width:1.6;

    stroke-linecap:round;

    stroke-linejoin:round;
}


.fxr-intelligence-card h3{
    margin:
        0 0
        10px;

    color:#e8eff3;

    font-size:20px;

    line-height:1.3;

    font-weight:600;
}


.fxr-intelligence-card p{
    margin:
        0 0
        20px;

    color:#8ba4b5;

    font-size:13px;

    line-height:1.65;
}


.fxr-intelligence-card > strong:last-child{
    margin-top:auto;

    color:#2bdcf7;

    font-size:10px;

    line-height:1.4;

    font-weight:600;

    letter-spacing:.02em;
}


/* =========================================================
   AI LOSS CONTROL FRAMEWORK
========================================================= */

.fxr-ai-risk-framework{
    padding-top:48px;
    padding-bottom:58px;

    border-top:
        1px solid
        rgba(73,122,147,.09);
}


.fxr-ai-risk-grid{
    display:grid;

    grid-template-columns:
        minmax(0,.92fr)
        minmax(0,1.08fr);

    gap:
        clamp(
            50px,
            6vw,
            96px
        );

    align-items:start;
}


.fxr-ai-risk-copy{
    max-width:620px;
}


.fxr-ai-risk-copy h2{
    max-width:580px;
}


.fxr-ai-risk-lead{
    margin:
        0 0
        19px;

    color:#9bb2c1;

    font-size:16px;

    line-height:1.75;
}


.fxr-ai-risk-note{
    margin:0;

    padding:17px 18px;

    border:
        1px solid
        rgba(78,218,166,.15);

    border-radius:13px;

    background:
        rgba(36,118,94,.07);

    color:#829f96;

    font-size:12px;

    line-height:1.65;
}


.fxr-ai-risk-process{
    border-top:
        1px solid
        rgba(73,122,147,.17);
}


.fxr-ai-process-row{
    display:grid;

    grid-template-columns:
        42px
        minmax(0,1fr);

    gap:20px;

    padding:
        22px 0;

    border-bottom:
        1px solid
        rgba(73,122,147,.15);
}


.fxr-ai-process-row > strong{
    padding-top:4px;

    color:#2bdcf7;

    font-size:10px;

    font-weight:700;
}


.fxr-ai-process-row h3{
    margin:
        0 0
        8px;

    color:#e7eef2;

    font-size:19px;

    font-weight:600;
}


.fxr-ai-process-row p{
    max-width:650px;

    margin:0;

    color:#8ba4b5;

    font-size:13px;

    line-height:1.65;
}


/* TABLET */

@media(max-width:1000px){

    .fxr-intelligence-grid{
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }


    .fxr-ai-risk-grid{
        grid-template-columns:1fr;

        gap:36px;
    }

}


/* MOBILE */

@media(max-width:650px){

    .fxr-intelligence-tools,
    .fxr-ai-risk-framework{
        padding-top:30px;

        padding-bottom:36px;
    }


    .fxr-intelligence-head h2,
    .fxr-ai-risk-copy h2{
        font-size:
            clamp(
                34px,
                9vw,
                48px
            );
    }


    .fxr-intelligence-grid{
        grid-template-columns:1fr;
    }


    .fxr-intelligence-card{
        min-height:0;

        padding:19px;
    }


    .fxr-ai-risk-lead{
        font-size:14px;
    }


    .fxr-ai-process-row{
        grid-template-columns:
            32px
            minmax(0,1fr);

        gap:14px;
    }

}

