/* body{
    background-image: url("../img/background.jpg") !important;
    background-size: cover !important;
} */
.chat-screen {
    position: fixed;
    bottom: 56px;
    right: 20px;
    z-index: 9999;
    width: 420px;
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    border-radius: 15px;
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    font-family: 'Helvetica', sans-serif;
    background: #f1f2f3;
    font-size: 16px;
}
.chat-screen.show-chat {
    -moz-transition: bottom 0.5s linear;
    -webkit-transition: bottom 0.5s linear;
    transition: bottom 0.5s linear;
    visibility: visible;
    bottom: 88px;
}
.chat-screen .chat-header {
    background-image: linear-gradient(to right, #212c5f, #263788);
    border-radius: 15px 15px 0 0;
    padding: 15px;
    display: flex;
}
.chat-screen .chat-header .chat-header-title {
    display: block;
    flex-grow: 1;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}
.chat-screen .chat-header .chat-header-option {
    display: flex;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    text-align: right;
    align-items: center;
}
.chat-screen .chat-header .chat-header-option .dropdown-toggle svg {
    color: #fff;
    vertical-align: middle;
}
.chat-screen .chat-header .chat-header-option .header-button-container {
    display: inline-flex;
    gap: 8px;
}
.chat-screen .chat-header .chat-header-option .header-button {
    vertical-align: middle;
    cursor: pointer;

    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #F4F6FB;
    stroke: #E53935;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); /* <-- gives elevation */
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.chat-screen .chat-header .chat-header-option .header-button.neutral {
    stroke: #000000;
}
.chat-screen .chat-header .chat-header-option .header-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.chat-screen .chat-mail,
.chat-screen .chat-relog {
    padding: 30px;
    display: block;
    background: #fff;
    border-radius: 0 0 15px 15px;
}
.chat-screen .chat-mail input.form-control,
.chat-screen .chat-relog input.form-control {
    border-radius: 30px;
    border: 1px solid #e1e1e1;
    color: #3b3f5c;
    font-size: 12px;
    padding: 1rem 1.25rem;
}
.chat-screen .chat-mail input.form-control:focus,
.chat-screen .chat-relog input.form-control:focus {
    box-shadow: none;
    border: 1px solid #add5fc;
}
.chat-screen .chat-mail .select2 .selection .select2-selection .select2-selection__rendered,
.chat-screen .chat-relog .select2 .selection .select2-selection .select2-selection__rendered {
    border-radius: 30px;
    border: 1px solid #e1e1e1;
    height: 34px;
    padding: 9px 20px;
    font-size: 14px;
    line-height: 1.5;
    white-space: break-spaces;
}
.chat-screen .chat-mail .select2.select2-container--open .selection .select2-selection,
.chat-screen .chat-relog .select2.select2-container--open .selection .select2-selection {
    box-shadow: none;
    border-radius: 30px;
}
.chat-screen .chat-mail button, .chat-screen .chat-relog button {
    border: none;
    padding: 10px 20px;
    transition: transform 0.5s ease;
}
.btn-primary, .btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):active{
    background-image: linear-gradient(to right, #212c5f, #263788);
    color: #fff !important;
}
.btn-secondary, .btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled):active {
    background-image: linear-gradient(to right, #ffc91b, #ffe804);
    color: #000 !important;
}
.chat-screen .chat-mail .form-group, .chat-screen .chat-relog .form-group {
    margin-bottom: 1rem;
}
.chat-screen .chat-body {
    padding: 25px;
    height: 382px;
    width: 100%;
    margin: auto;
    overflow-y: scroll;
    line-height: 1.2;
    position: relative;
}
.chat-screen .chat-body .chat-start {
    width: 120px;
    border-radius: 50px;
    padding: 5px 10px;
    font-size: 10px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 15px;
    background: aliceblue;
}
.chat-screen .chat-body .chat-bubble {
    font-size: 12px;
    padding: 10px 15px;
    box-shadow: none;
    display: inline-block;
    clear: both;
    margin-bottom: 20px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.02);
}
.chat-screen .chat-body .chat-bubble.you {
    background-image: linear-gradient(to right, #FFFFFF, #FFFFFF, #FFFFFF, #FFFFFF, #FFFFFF);
    color: #505460;
    border-radius: 0 15px 15px 15px;
    align-self: flex-start;
    display: inline-grid;
    float: left;
    position: relative;
    white-space: pre-line;
    content: "\a";
}
.chat-screen .chat-body .chat-bubble.me {
    background-image: linear-gradient(to right, #212c5f, #263788);
    color: #fff;
    border-radius: 15px 0px 15px 15px;
    align-self: flex-end;
    display: inline-grid;
    float: right;
    position: relative;
}
.chat-screen .chat-body .chat-bubble span {
    overflow: hidden;
}
.container-you, .container-me{
    padding: 0 30px;
    position: relative;
    display: inline-block;
    width: 100%;
}
.container-you::after {
    content: ' ';
    background-image: url("../img/logo-djp.png");
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: center;
    height: 40px;
    width: 40px;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0px 10px 15px rgb(0 0 0 / 10%);
    text-align: center;
    position: absolute;
    top: 0;
    left: -17px;
}
.container-me::after {
    content: url("../img/user.svg");
    height: 40px;
    width: 40px;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0px 10px 15px rgb(0 0 0 / 10%);
    text-align: center;
    position: absolute;
    top: 0;
    right: -17px;
    padding: 5px 0px;
}
.chat-screen .username-you{
    font-weight: 600;
    font-size: 11px;
    color: #212c5f;
    margin-bottom: 5px;
}
.time-chat {
    position: absolute;
    color: #333;
    font-weight: 600;
    font-size: 10px;
    bottom: -18px;
    right: 15px;
}
.chat-screen .chat-input {
    width: 100%;
    position: relative;
    margin-bottom: -5px;
}
.chat-screen .chat-input input {
    width: 100%;
    background: #ffffff;
    padding: 15px 70px 15px 15px;
    border-radius: 0 0 15px 15px;
    resize: none;
    border-width: 1px 0 0 0;
    border-style: solid;
    border-color: #f8f8f8;
    color: #7a7a7a;
    font-weight: normal;
    font-size: 13px;
    transition: border-color 0.5s ease;
}
.chat-screen .chat-input input:focus {
    border-color: #bdc8fa;
}
.chat-screen .chat-input input:focus + .input-action-icon a svg.feather-send {
    color: #212c5f;
}
.chat-screen .chat-input .input-action-icon {
    width: 61px;
    white-space: nowrap;
    position: absolute;
    z-index: 1;
    top: 15px;
    right: 15px;
    text-align: right;
}
.chat-screen .chat-input .input-action-icon a {
    display: inline-block;
    margin-left: 5px;
    cursor: pointer;
}
.chat-screen .chat-input .input-action-icon a svg {
    height: 17px;
    width: 17px;
    color: #a9a9a9;
}
.chat-screen .chat-session-end {
    display: block;
    width: 100%;
    padding: 25px 50px;
    background: #fff;
    border-radius: 0 0 15px 15px;
}
.chat-screen .chat-session-end h5 {
    font-size: 17px;
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}
.chat-screen .chat-session-end p {
    font-size: 14px;
    text-align: center;
    margin: 20px 0;
}
.chat-screen .chat-session-end .rate-me {
    width: 120px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
}
.chat-screen .chat-session-end .rate-me .rate-bubble {
    display: inline-block;
    text-align: center;
}
.chat-screen .chat-session-end .rate-me .rate-bubble span {
    height: 100px;
    width: 100px;
    text-align: center;
    display: block;
    line-height: 46px;
    cursor: pointer;
    transition: transform 0.5s ease;
    margin-bottom: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.chat-screen .chat-session-end .rate-me .rate-bubble span:hover {
    transform: scale(1.1);
    transition: transform 0.5s ease;
}
.chat-screen .chat-session-end .rate-me .rate-bubble.thanks {
    color: #333;
    font-weight: 600;
}
.chat-screen .chat-session-end .rate-me .rate-bubble.thanks svg path {
    fill: #333;
}
.chat-screen .chat-session-end .rate-me .rate-bubble.thanks span {
    background: #f5e633;
    border-radius: 50px;
}
.chat-screen .chat-session-end .rate-me .rate-bubble.great {
    margin-right: 12px;
    color: #43cc6c;
}
.chat-screen .chat-session-end .rate-me .rate-bubble.great span {
    background: #43cc6c;
    border-radius: 50px 50px 0 50px;
}
.chat-screen .chat-session-end .rate-me .rate-bubble.bad {
    color: #ef4252;
}
.chat-screen .chat-session-end .rate-me .rate-bubble.bad span {
    background: #ef4252;
    border-radius: 50px 50px 50px 0;
}
.chat-screen .chat-session-end .transcript-chat {
    display: block;
    text-align: center;
    margin-top: 80px;
    color: #0768f8;
    text-decoration: underline;
    line-height: 20px;
}
.chat-screen .powered-by {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
}
.chat-bot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 58px;
    width: 58px;
    background-image: linear-gradient(to right, #ffe804, #ffc91b);
    z-index: 9999;
    border-radius: 30px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    transition: all 0.5s ease;
    border: 4px solid white;
}
.chat-bot-icon-off {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    text-align: center;
    line-height: 50px;
    transition: all 0.5s ease;
}
.chat-bot-icon img, .chat-bot-icon-off img {
    width: 115px;
    position: absolute;
    right: -12px;
    bottom: -10px;
}
.chat-bot-icon svg {
    color: #fff;
    -moz-transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    transition: transform 0.5s linear;
    position: absolute;
    left: 13px;
    top: 13px;
    opacity: 0;
    z-index: -1;
}
.chat-bot-icon svg.animate {
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    opacity: 1;
    z-index: 1;
}
.chat-icon-user{
    height: 45px;
    width: 45px;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-right: 10px;
    overflow: hidden;
}
.chat-icon-user img{
    height: 100%;
}

/* Wizard */
.wizard .nav-tabs {
    position: relative;
    margin-bottom: 30px;
    border-bottom-color: transparent;
}

.wizard>div.wizard-inner {
    position: relative;
    text-align: center;
}

.connecting-line {
    height: 2px;
    background: #e0e0e0;
    position: absolute;
    width: 70%;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 15px;
    z-index: 1;
}
.wizard .nav-tabs>li{
    pointer-events: none;
}

.wizard .nav-tabs>li.active>a,
.wizard .nav-tabs>li.active>a:hover,
.wizard .nav-tabs>li.active>a:focus {
    color: #555555;
    cursor: default;
    border: 0;
    border-bottom-color: transparent;
}

span.round-tab {
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    border-radius: 50%;
    background: #fff;
    z-index: 2;
    position: absolute;
    left: 0;
    text-align: center;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 600;
    border: 1px solid #ddd;
}

span.round-tab i {
    color: #555555;
}

.wizard li.active span.round-tab {
    background: #ffc91b;
    color: #333;
    border-color: #ffc91b;
}

.wizard li.active span.round-tab i {
    color: #5bc0de;
}

.wizard .nav-tabs>li.active>a i {
    color: #ffc91b;
}

.wizard .nav-tabs>li {
    width: 45%;
    height: 0;
}

.wizard li:after {
    content: " ";
    position: absolute;
    left: 46%;
    opacity: 0;
    margin: 0 auto;
    bottom: 0px;
    border: 5px solid transparent;
    border-bottom-color: red;
    transition: 0.1s ease-in-out;
}

.wizard .nav-tabs>li a {
    width: 30px;
    height: 30px;
    margin: 20px auto;
    border-radius: 100%;
    padding: 0;
    background-color: transparent;
    position: relative;
    top: 0;
    cursor: default;
    display: inline;
}

.wizard .nav-tabs>li a i {
    position: absolute;
    top: -15px;
    font-style: normal;
    font-weight: 400;
    white-space: nowrap;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 700;
    color: #000;
}

.wizard .nav-tabs>li a:hover {
    background: transparent;
}

.wizard .tab-pane {
    position: relative;
    padding-top: 20px;
}


.wizard h3 {
    margin-top: 0;
}

.card-checkboxes {
    background-color: #F3F2EE;
    box-shadow: none;
    color: rgba(0, 0, 0, 0.3);
    font-weight: 600;
    font-size: 12px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    border-radius: 15px;
    min-width: 110px !important;
}

.card-hover-effect {
    -webkit-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
    -moz-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
    -o-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
    -ms-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
    transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1), box-shadow 200ms ease;
}

.card-hover-effect:hover {
    box-shadow: 0px 12px 17px -7px rgba(0, 0, 0, 0.3);
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -o-transition: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
}
.wizard-card .choice {
    text-align: center;
    cursor: pointer;
    margin-top: 20px;
}

.wizard-card .choice .icon {
    text-align: center;
    vertical-align: middle;
    height: 116px;
    width: 116px;
    border-radius: 50%;
    background-color: #999999;
    color: #FFFFFF;
    margin: 0 auto 20px;
    border: 4px solid #CCCCCC;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.wizard-card .choice svg {
    width: 70px;
    height: 70px;
}

.wizard-card .choice svg path {
    fill:rgba(0, 0, 0, 0.3);
}

.wizard-card .choice:hover .icon,
.wizard-card .choice.active .icon {
    border-color: #212c5f;
}

.wizard-card .choice input[type="radio"],
.wizard-card .choice input[type="checkbox"] {
    position: absolute;
    left: -10000px;
    z-index: -1;
}
.wizard-card .choice.active .card-checkboxes {
    color: #ffc91b;
}

.wizard-card .choice.active svg path {
    fill: #ffc91b;
}
body > .select2-container{
    width: 100px !important;
}
.chat-screen .dropdown-toggle:after {
    display: none;
}
.chat-body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
    border-radius: 10px;
}

.chat-body::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

.chat-body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #bbb;
}
a.dropdown-toggle:hover {
    color: inherit;
    text-decoration: none;
}

.chat-screen.maximize {
    width: calc(100vw - 60px);
    height: calc(100vh - 120px);
}
.chat-screen .chat-body.maximize {
    padding: 25px;
    height: calc(100% - 125px);
}
@media (min-width: 1400px){
    .chat-screen .chat-body.maximize{
        padding: 25px calc(((100% - 1400px) /2) + 50px);
    }
}

.error-data{
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.6s linear;
}

.error-data.show-error{
    opacity: 1;
}

#cobrowse {
    width: 100%;
    height: 800px;
    display: none;
}
.error-input{
    border: 1.5px solid #dc3545 !important;
}

.chat-screen .chat-body .chat-bubble:not(:last-child) .time-chat{
    display: none;
}
.chat-screen .chat-body .chat-bubble:not(:last-child){
    margin-bottom: 5px;
}
.chat-screen .chat-body .container-you[data-user="Sistem"] .chat-bubble.you,
.chat-screen .chat-body .container-you[data-user="System"] .chat-bubble.you {
    background: aliceblue;
}

.chat-nav-djp{
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.link-chat{
    color: #000000;
    font-weight: 500;
}
.p-djp{
    margin-top: 0;
    margin-bottom: 16px;
    font-family: 'Helvetica', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}
.chat-screen form{
    opacity: unset !important;
}
.chat-screen .tab-content{
    border-radius: unset;
    box-shadow: unset;
    background-color: unset;
    border: unset;
    border-top: unset;
    padding: unset;
}
.chat-screen h4{
    font-family: 'Helvetica', sans-serif;
    font-weight: 500!important;
    line-height: 1.2;
    font-size: 18px!important;
    text-transform: unset;
    color: #212529 !important;
}
.chat-screen h5 {
    font-family: 'Helvetica', sans-serif;
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.2;
    font-size: 20px;
    text-transform: unset;
    color: #212529 !important;
}
.text-danger {
    color: #dc3545 !important;
    line-height: 1rem;
}
.chat-screen .card{
    position: relative;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
}
.chat-screen .btn{
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 30px!important;
    outline: none !important;
}
.chat-screen .row > div {
    margin-bottom: unset !important;
}
.file-upload-chat{
    display: grid;
}
.file-upload-chat .card{
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 10px;
    padding: 10px;
    margin: 8px 0;
}
#data-relog{
    margin-top: 10px;
}
.p-relog{
    font-size: 12px;
    font-weight: 600;
}
.chat-screen .chat-body a{
    color: #000000 !important;
}
@media (max-width: 767px){
    .chat-bot-icon img, .chat-bot-icon-off img {
        width: 115px !important;
    }
}

/* Dialog Box */

.ui-dialog {
    z-index: 99999 !important;
    border-radius: 8px !important;
    border: 1px solid #212c5f;
    padding: 0 !important;
}
.ui-dialog .ui-dialog-titlebar {
    padding: 0.5em 1em;
    background: #212c5f;
    color: #fff;
    border-radius: 8px 8px 0 0;
}
.ui-dialog .ui-dialog-titlebar-close {
    display: none;
}
.ui-dialog .ui-dialog-buttonpane {
    padding: 0.5em 1em;
    border-radius: 0 0 8px 8px;
}
.ui-widget-content {
    background-color: white;
    padding: 0.5em 1em;
}
.ui-dialog-buttonset {
    text-align: right;
    background-color: white;
}
.ui-dialog-buttonset > button {
    width: 55px;
    margin-right: 2px;
    margin-left: 2px;
}

/* Language */
.chat-screen .chat-lang {
	padding: 30px;
	display: block;
	background: #fff;
	border-radius: 0 0 15px 15px;
}
.chat-screen .chat-lang button {
	border: none;
	padding: 10px 20px;
	transition: transform 0.5s ease;
}
.chat-screen .chat-lang .title-desc {
    text-align: center;
    color: #555;
    font-weight: 400;
    line-height: 1.5;
}
.chat-screen .chat-lang .title-head {
    text-align: center;
    margin-top: 12px;
}
.chat-screen .chat-lang .choose-lang {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 24px 0;
}
.chat-screen .chat-lang .choose-lang .choice {
    cursor: pointer;
}
.chat-screen .chat-lang .choose-lang .card {
    padding: 8px 24px;
}
.chat-screen .chat-lang .choose-lang .choice input[type="radio"] {
	position: absolute;
	left: -10000px;
	z-index: -1;
}
.chat-screen .chat-lang .choose-lang .choice.active .card-checkboxes {
	color: #ffc91b;
}
.chat-screen .chat-lang .btn-lang-next {
    margin-top: 10px;
}
/* Fix chat bot icon alignment and prevent broken image layout */
.chat-bot-icon img {
    width: 36px !important;
    height: 36px !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    right: auto !important;
    bottom: auto !important;
    object-fit: contain !important;
}

/* Prominent Hubungi CS floating button + Hero/Header quick entry (v20261202_v3) */
@keyframes csBtnPulse {
    0% { box-shadow: 0 12px 28px rgba(22, 34, 82, 0.34), 0 0 0 0 rgba(255, 183, 3, 0.78); }
    70% { box-shadow: 0 12px 28px rgba(22, 34, 82, 0.34), 0 0 0 16px rgba(255, 183, 3, 0); }
    100% { box-shadow: 0 12px 28px rgba(22, 34, 82, 0.34), 0 0 0 0 rgba(255, 183, 3, 0); }
}
@keyframes csOnlineBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(1.18); }
}

.chat-screen {
    z-index: 1042 !important;
    max-height: calc(100vh - 120px - env(safe-area-inset-bottom)) !important;
    max-height: calc(100dvh - 120px - env(safe-area-inset-bottom)) !important;
    overflow: hidden;
}
.chat-screen.maximize {
    height: calc(100vh - 120px - env(safe-area-inset-bottom)) !important;
    height: calc(100dvh - 120px - env(safe-area-inset-bottom)) !important;
}
.chat-screen.show-chat {
    bottom: calc(100px + env(safe-area-inset-bottom)) !important;
}
.chat-screen .chat-body {
    max-height: calc(100vh - 280px - env(safe-area-inset-bottom)) !important;
    max-height: calc(100dvh - 280px - env(safe-area-inset-bottom)) !important;
}

.chat-bot-icon {
    bottom: calc(26px + env(safe-area-inset-bottom)) !important;
    right: 24px !important;
    width: auto !important;
    min-width: 204px !important;
    height: 62px !important;
    padding: 0 20px 0 12px !important;
    border-radius: 999px !important;
    background-image: linear-gradient(135deg, #ffe804 0%, #ffb703 100%) !important;
    border: 2.5px solid #162252 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    line-height: 1 !important;
    animation: csBtnPulse 2.2s infinite !important;
    box-sizing: border-box !important;
    z-index: 1041 !important;
}
.chat-bot-icon.hide {
    display: none !important;
}
.chat-bot-icon:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.03);
}
.chat-bot-icon img.chat-bot-icon-logo {
    width: 40px !important;
    height: 40px !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(22, 34, 82, 0.25) !important;
    padding: 3px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
}
.chat-bot-icon .chat-bot-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
}
.chat-bot-icon .chat-bot-label {
    color: #162252;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.2px;
    white-space: nowrap;
    line-height: 1.05;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.chat-bot-icon .chat-bot-sub {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #162252;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1;
    opacity: 0.92;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.chat-bot-icon .chat-bot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
    flex-shrink: 0;
    animation: csOnlineBlink 1.8s infinite;
}
.chat-bot-icon:not(.chat-open) svg.feather-message-square,
.chat-bot-icon:not(.chat-open) svg.feather-x {
    display: none !important;
}
.chat-bot-icon.chat-open {
    width: 56px !important;
    min-width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
    justify-content: center !important;
    animation: none !important;
    z-index: 1043 !important;
}
.chat-bot-icon.chat-open img.chat-bot-icon-logo,
.chat-bot-icon.chat-open .chat-bot-text-group,
.chat-bot-icon.chat-open .chat-bot-dot,
.chat-bot-icon.chat-open .chat-bot-label,
.chat-bot-icon.chat-open .chat-bot-sub,
.chat-bot-icon.chat-open svg.feather-message-square {
    display: none !important;
}
.chat-bot-icon.chat-open svg.feather-x {
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    opacity: 1 !important;
    transform: none !important;
    color: #162252 !important;
    width: 24px !important;
    height: 24px !important;
}

/* Header Quick CS Button */
.djp-header-cs-btn {
    position: relative;
    float: right;
    margin: 18px 0 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffe804 0%, #ffb703 100%);
    color: #162252 !important;
    border: 2px solid #162252;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(22, 34, 82, 0.22);
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}
.djp-header-cs-btn::after {
    content: "";
    position: absolute;
    inset: -8px -4px;
}
.djp-header-cs-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 34, 82, 0.3);
}
.djp-header-cs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px #ffffff;
    flex-shrink: 0;
    animation: csOnlineBlink 1.8s infinite;
}

/* First-Screen Hero CS Quick-Action Banner */
.djp-cs-hero-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 16px 0 22px 0;
    padding: 16px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #162252 0%, #213478 100%);
    border: 2px solid #ffc91b;
    box-shadow: 0 10px 26px rgba(22, 34, 82, 0.18);
    color: #ffffff;
    box-sizing: border-box;
}
.djp-cs-hero-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.djp-cs-hero-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #ffc91b;
    padding: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.djp-cs-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.djp-cs-hero-avatar-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #162252;
}
.djp-cs-hero-info {
    min-width: 0;
}
.djp-cs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.55);
    color: #6ee7b7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 2px 9px;
    border-radius: 999px;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.djp-cs-hero-title {
    margin: 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}
.djp-cs-hero-desc {
    margin: 3px 0 0 0;
    color: #dbeafe;
    font-size: 13px;
    line-height: 1.35;
}
.djp-cs-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffe804 0%, #ffb703 100%);
    color: #162252 !important;
    border: 2px solid #ffffff;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(255, 183, 3, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.djp-cs-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 183, 3, 0.45);
}

@media (min-width: 992px) {
    .djp-header-cs-btn {
        margin: 8px 0 6px 12px;
    }
}

@media (max-width: 991px) {
    #header .header-logo img {
        max-height: 38px !important;
        width: auto !important;
    }
    #header .header-btn-collapse-nav {
        margin: 14px 0 8px 8px !important;
    }
    .djp-header-cs-btn {
        margin: 15px 0 8px 0 !important;
        padding: 6px 10px !important;
        font-size: 11.5px !important;
        gap: 5px !important;
    }
}

@media (max-width: 767px) {
    .chat-screen {
        max-height: calc(100vh - 102px - env(safe-area-inset-bottom)) !important;
        max-height: calc(100dvh - 102px - env(safe-area-inset-bottom)) !important;
    }
    .chat-screen.show-chat {
        bottom: calc(86px + env(safe-area-inset-bottom)) !important;
    }
    .chat-screen .chat-body {
        max-height: calc(100vh - 250px - env(safe-area-inset-bottom)) !important;
        max-height: calc(100dvh - 250px - env(safe-area-inset-bottom)) !important;
    }
    .chat-bot-icon {
        bottom: calc(22px + env(safe-area-inset-bottom)) !important;
        right: 14px !important;
        height: 54px !important;
        min-width: 184px !important;
        padding: 0 16px 0 10px !important;
        gap: 9px !important;
    }
    .chat-bot-icon img.chat-bot-icon-logo {
        width: 34px !important;
        height: 34px !important;
    }
    .chat-bot-icon .chat-bot-label {
        font-size: 14px !important;
    }
    .chat-bot-icon .chat-bot-sub {
        font-size: 10.5px !important;
    }
    .chat-bot-icon.chat-open {
        width: 48px !important;
        min-width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
    }
    .djp-cs-hero-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 15px;
        margin: 10px 0 16px 0;
        gap: 12px;
    }
    .djp-cs-hero-title {
        font-size: 15px;
    }
    .djp-cs-hero-desc {
        font-size: 12px;
    }
    .djp-cs-hero-btn {
        width: 100%;
        padding: 11px 16px;
        font-size: 14.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-screen,
    .chat-screen *,
    .chat-bot-icon,
    .chat-bot-icon *,
    .chat-bot-icon .chat-bot-dot,
    .djp-header-cs-btn,
    .djp-header-cs-dot,
    .djp-cs-hero-btn {
        animation: none !important;
        transition: none !important;
    }
}

.chat-bot-icon-off.hide, .chat-screen .hide { display: none !important; }
