
/***************************************************
    QUALIRM - GLOBAL PAGE HEADERS
****************************************************/

/* ==================================================
   MAIN HEADER
================================================== */

.qualirm-page-header {

    position: relative;

    width: 100%;
    height: 100%;
    min-height: 100%;

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

    padding: 15px 28px;

    background-image: url('../images/headers/header-background.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 18px;

    overflow: hidden;

    margin-bottom: 10px;

    box-sizing: border-box;

}


/* ==================================================
   LEFT CONTENT
================================================== */

.page-header-content {

    position: relative;

    display: flex;
    align-items: center;

    gap: 22px;

    height: 100%;

    min-width: 0;

    z-index: 2;

}


/* ==================================================
   MODULE ICON CONTAINER
================================================== */

.page-header-icon {

    width: 78px;
    height: 78px;

    min-width: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FFFFFF;

    border-radius: 16px;

    

}

.page-header-icon i {

    font-size: 36px;

    color: #0866D8;

}


/* ==================================================
   VERTICAL DIVIDER
================================================== */

.page-header-divider {

    width: 2px;

    height: 70px;

    flex-shrink: 0;

    background: rgba(255, 255, 255, 0.9);

}


/* ==================================================
   TITLE AND DESCRIPTION
================================================== */

.page-header-text {

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 5px;

    min-width: 0;

}

.page-header-text h1 {

    margin: 0;

    color: #FFFFFF;

    font-size: 30px;

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -0.5px;

}

.page-header-text p {

    margin: 0;

    color: #FFFFFF;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.4;

}


/* ==================================================
   RIGHT ILLUSTRATION
================================================== */

.page-header-illustration {

    position: absolute;

    right: 20px;

    bottom: 0;

    height: 115px;

    width: 230px;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    z-index: 1;

    pointer-events: none;

}

.page-header-illustration img {

    max-width: 100%;

    max-height: 115px;

    width: auto;

    height: auto;

    object-fit: contain;

    object-position: right bottom;

    display: block;

}


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

@media (max-width: 992px) {

    .qualirm-page-header {

        height: 110px;
        min-height: 110px;

        padding: 12px 20px;

    }

    .page-header-icon {

        width: 65px;
        height: 65px;

        min-width: 65px;

    }

    .page-header-icon i {

        font-size: 30px;

    }

    .page-header-divider {

        height: 60px;

    }

    .page-header-text h1 {

        font-size: 24px;

    }

    .page-header-text p {

        font-size: 14px;

    }

    .page-header-illustration {

        width: 180px;
        height: 105px;

    }

    .page-header-illustration img {

        max-height: 105px;

    }

}


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

@media (max-width: 576px) {

    .qualirm-page-header {

        height: 95px;
        min-height: 95px;

        padding: 10px 14px;

        border-radius: 12px;

        margin-bottom: 16px;

    }

    .page-header-content {

        gap: 12px;

    }

    .page-header-icon {

        width: 48px;
        height: 48px;

        min-width: 48px;

        border-radius: 10px;

    }

    .page-header-icon i {

        font-size: 23px;

    }

    .page-header-divider {

        height: 48px;

    }

    .page-header-text h1 {

        font-size: 18px;

        letter-spacing: 0;

    }

    .page-header-text p {

        font-size: 11px;

        line-height: 1.3;

    }

    .page-header-illustration {

        width: 90px;

        height: 85px;

        right: 5px;

        opacity: 0.65;

    }

    .page-header-illustration img {

        max-height: 85px;

    }

}


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

@media (max-width: 380px) {

    .page-header-illustration {

        display: none;

    }

    .page-header-text h1 {

        font-size: 16px;

    }

    .page-header-text p {

        font-size: 10px;

    }

}
