@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --rf-dark: #06385f;
    --rf-blue: #0b82c6;
    --rf-blue-light: #38afe8;
    --rf-orange: #ff8118;
    --rf-green: #17b985;
    --rf-purple: #6b49e6;
    --rf-red: #ec4d58;

    --rf-text: #516c87;
    --rf-border: #e1ebf2;

    --rf-white: #ffffff;
}


/* ======================================================
   GLOBAL
====================================================== */

.rf-hero,
.rf-hero * {
    box-sizing: border-box;
}


.rf-hero {
    position: relative;

    width: 100%;
    min-height: 680px;

    overflow: hidden;

    padding: 38px 5% 46px;

    font-family: "Inter", Arial, sans-serif;

    background:
        radial-gradient(
            circle at 68% 20%,
            rgba(199,231,249,.5),
            transparent 28%
        ),
        linear-gradient(
            115deg,
            #ffffff 0%,
            #f8fcff 52%,
            #edf7fd 100%
        );
}


/* ======================================================
   CONTAINER
====================================================== */

.rf-container {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 1400px;

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(500px, .85fr)
        minmax(700px, 1.15fr);

    gap: 55px;

    align-items: center;
}


/* ======================================================
   LEFT
====================================================== */

.rf-left {
    position: relative;
    z-index: 8;
}


/* breadcrumb */

.rf-breadcrumb {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 22px;

    color: #627c96;

    font-size: 14px;
}


.rf-breadcrumb i {
    color: #a4b8c9;

    font-style: normal;
}


.rf-breadcrumb strong {
    color: var(--rf-dark);
}


/* badge */

.rf-badge {
    display: inline-flex;

    align-items: center;

    min-height: 34px;

    padding: 0 14px;

    margin-bottom: 20px;

    border-radius: 40px;

    background: #ffffff;

    color: var(--rf-dark);

    font-size: 12.5px;

    font-weight: 700;

    box-shadow:
        0 8px 22px
        rgba(24, 89, 130, .09);
}


/* title */

.rf-left h1 {
    max-width: 620px;

    margin:
        0
        0
        20px;

    color: var(--rf-dark);

    font-size:
        clamp(
            26px,
            2.6vw,
            38px
        );

    line-height: 1.12;

    letter-spacing: -1px;

    font-weight: 800;
}


.rf-left h1 span {
    color: var(--rf-blue);
}


/* paragraph */

.rf-text {
    max-width: 620px;

    margin:
        0
        0
        8px;

    color: var(--rf-text);

    font-size: 15px;

    line-height: 1.65;
}


.rf-text-strong {
    color: var(--rf-dark);

    font-weight: 650;
}


/* ======================================================
   BUTTONS
====================================================== */

.rf-actions {
    display: flex;

    align-items: center;

    flex-wrap: nowrap;

    gap: 10px;

    margin-top: 20px;
}


.rf-btn {
    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 0 18px;

    border-radius: 40px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition: .25s ease;
}


.rf-btn-primary {
    color: white;

    background:
        linear-gradient(
            135deg,
            #0a7ec4,
            #139ada
        );

    box-shadow:
        0 12px 25px
        rgba(8, 126, 194, .2);
}


.rf-btn-secondary {
    color: var(--rf-dark);

    background: #ffffff;

    border:
        1px solid
        #dce7ef;
}


.rf-btn:hover {
    transform: translateY(-3px);
}


/* ======================================================
   BENEFITS
====================================================== */

.rf-benefits {
    display: flex;

    flex-wrap: wrap;

    gap: 27px;

    margin-top: 28px;
}


.rf-benefit {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--rf-dark);

    font-size: 13px;

    font-weight: 600;
}


.rf-benefit-icon {
    width: 26px;
    height: 26px;

    flex: 0 0 26px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 7px;

    font-size: 14px;
}


.rf-benefit-icon.green {
    color: #fff;
    background: #24c28d;
}


.rf-benefit-icon.purple {
    color: #774ed7;
    background: #ece6fb;
}


.rf-benefit-icon.orange {
    color: #ff8519;
    background: #fff0df;
}


/* ======================================================
   RIGHT
====================================================== */

.rf-right {
    position: relative;

    min-height: 545px;
}


/* circle */

.rf-bg-circle {
    position: absolute;

    z-index: 1;

    width: 540px;
    height: 540px;

    right: 8%;
    top: 60px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #137db7,
            #064f78
        );
}


/* ======================================================
   DASHBOARD
====================================================== */

.rf-dashboard {
    position: absolute;

    z-index: 5;

    top: 55px;
    left: 10px;

    width: 640px;

    padding: 16px;

    border:
        8px solid
        #17191d;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 30px 45px
        rgba(10, 52, 80, .18);
}


.rf-dashboard-title {
    margin-bottom: 12px;

    color: var(--rf-dark);

    font-size: 18px;

    font-weight: 800;
}


/* ======================================================
   KPI
====================================================== */

.rf-kpis {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 8px;

    margin-bottom: 10px;
}


.rf-kpi {
    min-height: 54px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 8px;

    border-radius: 10px;

    background: #f6f9fc;
}


.rf-kpi-icon {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;
}


.rf-kpi-icon.blue {
    background: #e6f4fd;
    color: #168bcf;
}


.rf-kpi-icon.green {
    background: #def6eb;
    color: #12ac77;
}


.rf-kpi-icon.orange {
    background: #fff0df;
    color: #f38815;
}


.rf-kpi-icon.purple {
    background: #ece8fa;
    color: #7150dc;
}


.rf-kpi strong {
    display: block;

    color: var(--rf-dark);

    font-size: 17px;
}


.rf-kpi span {
    color: #71869a;

    font-size: 9px;
}


/* ======================================================
   MAIN GRID
====================================================== */

.rf-main-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 8px;
}


.rf-panel {
    min-height: 108px;

    padding: 11px;

    border-radius: 10px;

    background: #f6f9fc;
}


.rf-panel-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 7px;
}


.rf-panel-header h3 {
    margin: 0;

    color: var(--rf-dark);

    font-size: 11px;

    font-weight: 800;
}


.rf-panel-header a {
    color: var(--rf-blue);

    text-decoration: none;

    font-size: 8px;

    font-weight: 600;
}


/* ======================================================
   SUPPLIERS
====================================================== */

.rf-supplier-row {
    min-height: 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    border-bottom:
        1px solid
        #e7edf2;
}


.rf-company {
    display: flex;

    align-items: center;

    gap: 8px;
}


.rf-company strong {
    display: block;

    color: var(--rf-dark);

    font-size: 9px;
}


.rf-company small {
    display: block;

    margin-top: 2px;

    color: #8599aa;

    font-size: 7px;
}


.rf-avatar {
    width: 26px;
    height: 26px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: 8px;

    font-weight: 700;
}


.rf-avatar.blue {
    color: #1685c8;
    background: #dff1fb;
}


.rf-avatar.green {
    color: #13946c;
    background: #dcf5ea;
}


.rf-avatar.purple {
    color: #734dd6;
    background: #e9e4fa;
}


.rf-avatar.orange {
    color: #dc7910;
    background: #fff0dc;
}


/* statuses */

.rf-status {
    padding:
        5px
        9px;

    border-radius: 15px;

    font-size: 7px;
}


.rf-status.valid {
    background: #dcf5e9;
    color: #138762;
}


.rf-status.progress {
    background: #e3f2fc;
    color: #1680c3;
}


.rf-status.warning {
    background: #fff0dc;
    color: #d9760f;
}


/* ======================================================
   COMPLIANCE
====================================================== */

.rf-compliance-content {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    margin-top: 10px;
}


.rf-donut {
    width: 90px;
    height: 90px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        conic-gradient(
            #17b984 0 78%,
            #f4971e 78% 90%,
            #1789ca 90% 97%,
            #e64752 97% 100%
        );
}


.rf-donut::after {
    content: "";

    position: absolute;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: #f6f9fc;
}


.rf-donut span {
    position: relative;

    z-index: 2;

    color: var(--rf-dark);

    font-size: 18px;

    font-weight: 800;
}


.rf-legend {
    min-width: 130px;
}


.rf-legend div {
    display: grid;

    grid-template-columns:
        8px
        1fr
        auto;

    align-items: center;

    gap: 7px;

    margin-bottom: 7px;

    color: #61798f;

    font-size: 7px;
}


.legend-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;
}


.legend-dot.green { background: #17b984; }
.legend-dot.orange { background: #f4971e; }
.legend-dot.blue { background: #1789ca; }
.legend-dot.red { background: #e64752; }


/* ======================================================
   PROCESS
====================================================== */

.rf-process-item {
    display: flex;

    align-items: center;

    gap: 9px;

    min-height: 24px;

    color: #5e768c;

    font-size: 8px;
}


.rf-process-item i {
    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #dbe5eb;
}


.rf-process-item.done i {
    background: #1bb982;

    color: #ffffff;
}


.rf-process-item.active i {
    background: var(--rf-blue);

    color: #ffffff;
}


/* ======================================================
   AUDIT
====================================================== */

.rf-audit-row {
    display: grid;

    grid-template-columns:
        8px
        1fr
        auto;

    gap: 7px;

    align-items: center;

    min-height: 23px;

    color: #46647d;

    font-size: 8px;
}


.rf-audit-row i {
    width: 7px;
    height: 7px;

    border-radius: 50%;
}


.rf-audit-row i.green {
    background: #17b984;
}


.rf-audit-row i.blue {
    background: #1686c9;
}


.rf-audit-row i.orange {
    background: #f5931c;
}


.rf-audit-row small {
    color: #8697a6;

    font-size: 7px;
}


/* ======================================================
   FLOATING LABELS
====================================================== */

.rf-floating-label {
    position: absolute;

    z-index: 8;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 38px;

    padding:
        0
        15px;

    border-radius: 30px;

    background: #ffffff;

    color: var(--rf-dark);

    font-size: 11px;

    font-weight: 700;

    box-shadow:
        0 10px 28px
        rgba(22, 84, 124, .12);
}


.rf-label-top {
    top: 15px;
    left: 190px;
}


.rf-label-side {
    top: 55px;
    right: 5px;
}


/* ======================================================
   NOTIFICATIONS
====================================================== */

.rf-notification {
    position: absolute;

    z-index: 10;

    min-width: 190px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        12px
        16px;

    border-radius: 13px;

    background: #ffffff;

    box-shadow:
        0 16px 32px
        rgba(27, 82, 118, .14);
}


.rf-notification strong {
    display: block;

    color: var(--rf-dark);

    font-size: 10px;
}


.rf-notification small {
    display: block;

    margin-top: 3px;

    color: #7c90a2;

    font-size: 8px;
}


.rf-notif-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;
}


.rf-notif-icon.orange {
    color: var(--rf-orange);

    background: #fff0df;
}


.rf-notif-icon.blue {
    color: var(--rf-blue);

    background: #e5f3fc;
}


/* positions */

.rf-notif-top {
    top: 77px;
    right: 55px;
}


.rf-notif-bottom-left {
    bottom: 35px;
    left: -10px;
}


.rf-notif-bottom-right {
    bottom: 15px;
    right: 20px;
}


/* ======================================================
   DOTS
====================================================== */

.rf-dots {
    position: absolute;

    width: 150px;
    height: 150px;

    background-image:
        radial-gradient(
            rgba(52, 153, 213, .25) 2px,
            transparent 2px
        );

    background-size:
        18px
        18px;
}


.rf-dots-right {
    right: 30px;
    top: 170px;
}


/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1300px) {

    .rf-container {
        grid-template-columns:
            minmax(450px, .85fr)
            1.15fr;

        gap: 30px;
    }


    .rf-dashboard {
        transform: scale(.87);

        transform-origin: center left;
    }

}


@media (max-width: 1050px) {

    .rf-container {
        grid-template-columns: 1fr;
    }


    .rf-left {
        max-width: 800px;

        margin: auto;
    }


    .rf-right {
        width: 800px;

        max-width: 100%;

        margin: 40px auto 0;
    }


    .rf-dashboard {
        left: 50%;

        transform:
            translateX(-50%)
            scale(.9);

        transform-origin:
            top center;
    }


    .rf-bg-circle {
        top: auto;

        bottom: 50px;

        right: 15%;
    }

}


@media (max-width: 700px) {

    .rf-hero {
        padding:
            40px
            20px
            60px;
    }


    .rf-left h1 {
        font-size: 36px;

        letter-spacing: -1px;
    }


    .rf-text {
        font-size: 14px;
    }


    .rf-actions {
        flex-direction: column;
    }


    .rf-btn {
        width: 100%;
    }


    .rf-benefits {
        flex-direction: column;

        align-items: flex-start;
    }


    .rf-right {
        height: 480px;

        min-height: 480px;
    }


    .rf-dashboard {
        width: 710px;

        left: 0;

        transform: scale(.48);

        transform-origin: top left;
    }


    .rf-notification,
    .rf-floating-label {
        display: none;
    }


    .rf-bg-circle {
        width: 390px;
        height: 390px;

        right: -100px;
    }

}