body {
    font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
}

body.login-background {
    background-image: url("../../../../img/login-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
}

.card-login-style{
  height: 60px;
  margin-bottom: 20px;
}

.brand-link {
    display: block;
    font-size: 1.25rem;
    line-height: 1.5;
    /* padding: .5rem .5rem; */
    transition: width .3s ease-in-out;
    white-space: nowrap;
}

.brand-link .brand-image {
    float: left;
    line-height: .8;
    margin-left: 2.25rem;
    /* margin-right: .5rem; */
    margin-top: -3px;
    max-height: 60px;
    width: auto;
}

.content-wrapper > .content {
    padding: 0 4rem;
}

.content-header {
    padding: 15px 4rem;
}

.layout-fixed .main-sidebar {
    bottom: 0;
    float: none;
    height: 100vh;
    left: 0;
    position: fixed;
    /* top: 0; */
    /* background-color: #fff; */
}

.layout-fixed .main-sidebar-seconday-color {
    bottom: 0;
    float: none;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    background-color: #404042;
}
.bg-bluegradient{
	color: #ffffff;
	
background: rgba(73,155,234,1);
background: -moz-linear-gradient(-45deg, rgba(73,155,234,1) 0%, rgba(2,66,135,1) 100%);
background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(73,155,234,1)), color-stop(100%, rgba(2,66,135,1)));
background: -webkit-linear-gradient(-45deg, rgba(73,155,234,1) 0%, rgba(2,66,135,1) 100%);
background: -o-linear-gradient(-45deg, rgba(73,155,234,1) 0%, rgba(2,66,135,1) 100%);
background: -ms-linear-gradient(-45deg, rgba(73,155,234,1) 0%, rgba(2,66,135,1) 100%);
background: linear-gradient(135deg, rgba(73,155,234,1) 0%, rgba(2,66,135,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#499bea', endColorstr='#024287', GradientType=1 );

}

.main-header-panel{
    color:#ffffff; 
    background: #404042; /* Old browsers */
background: -moz-linear-gradient(-45deg,  #404042 0%, #070102 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg,  #404042 0%,#070102 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  #404042 0%,#070102 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#404042', endColorstr='#070102',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
 
}

.bg-dark-gradient{
    color:#ffffff;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#404042+0,070102+100 */
background: #404042; /* Old browsers */
background: -moz-linear-gradient(-45deg,  #404042 0%, #070102 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg,  #404042 0%,#070102 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  #404042 0%,#070102 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#404042', endColorstr='#070102',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

}

.btn-primary {
    color: #fff;
    background-color: #499cea;
    border-color: #499cea;
    box-shadow: none;
}
.btn-sijitu-red {
    color: #fff;
   /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#bb0a1e+0,721326+100 */
background: #bb0a1e; /* Old browsers */
background: -moz-linear-gradient(-45deg,  #bb0a1e 0%, #721326 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg,  #bb0a1e 0%,#721326 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  #bb0a1e 0%,#721326 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bb0a1e', endColorstr='#721326',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    /* padding-left: 5%;
    padding-right: 5%; */
    box-shadow: none;
}

.border-transparent {
    background-color: #024287;
    color:#ffffff;
}

.max-height{
	max-height: 30%;
}

.buttonWidth30{
	width: 30%;
}

.bg_red_widget_1{
color: #ffffff;

background: rgba(199,228,255,1);
background: -moz-linear-gradient(45deg, rgba(199,228,255,1) 0%, rgba(10,67,127,1) 95%, rgba(0,58,120,1) 100%);
background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(199,228,255,1)), color-stop(95%, rgba(10,67,127,1)), color-stop(100%, rgba(0,58,120,1)));
background: -webkit-linear-gradient(45deg, rgba(199,228,255,1) 0%, rgba(10,67,127,1) 95%, rgba(0,58,120,1) 100%);
background: -o-linear-gradient(45deg, rgba(199,228,255,1) 0%, rgba(10,67,127,1) 95%, rgba(0,58,120,1) 100%);
background: -ms-linear-gradient(45deg, rgba(199,228,255,1) 0%, rgba(10,67,127,1) 95%, rgba(0,58,120,1) 100%);
background: linear-gradient(45deg, rgba(199,228,255,1) 0%, rgba(10,67,127,1) 95%, rgba(0,58,120,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c7e4ff', endColorstr='#003a78', GradientType=1 );

}

.bg_red_widget_1_2{
	color: #ffffff;

/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#bb0a1e+0,670e20+100 */
background: #bb0a1e; /* Old browsers */
background: -moz-linear-gradient(top,  #bb0a1e 0%, #670e20 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #bb0a1e 0%,#670e20 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #bb0a1e 0%,#670e20 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bb0a1e', endColorstr='#670e20',GradientType=0 ); /* IE6-9 */

}

.bg-dark-gradient > .card-header > h3 {
    color:#fff;
    font-weight: bold;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link, .dark-mode .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active {
    color: #fff;
    background-color: #bb0a1e;
}

.page-link {
    color: #bb0a1e;
    background-color: #fff;
}

a {
    color: #bb0a1e;
    text-decoration: none;
    background-color: transparent;
}

.page-item.active .page-link {
    color: #fff;
    background-color: #bb0a1e;
    border-color: #bb0a1e;
}

.bg-sijitu {
    color: #fff;
    background-color: #bb0a1e;
    border-color: #bb0a1e;
}

/************ MEDIA QUERY ***************/
/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
.content-wrapper > .content {
    padding: 0 1rem;
}

.content-header {
    padding: 15px 1rem;
}
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
/* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
/* Styles */
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
/* Styles */
}
/**********
iPad 3
**********/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}
/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1224px) {
/* Styles */
}

/* Large screens ----------- */
@media only screen  and (min-width : 1824px) {
/* Styles */
}

/* iPhone 4 ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

/* iPhone 5 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* iPhone 6, 7, 8 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* iPhone 6+, 7+, 8+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* iPhone X ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

/* iPhone XS Max, XR ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

/* Samsung Galaxy S3 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 2){
/* Styles */
}

/* Samsung Galaxy S4 ----------- */
@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

/* Samsung Galaxy S5 ----------- */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation : portrait) and (-webkit-device-pixel-ratio: 3){
/* Styles */
}

.list_user{
    margin-top: 8px;
}

.btn_export{
    padding-top: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 18px;
}

.daterangepicker{
    color: black;
}

.content-wrapper.kanban .card.card-row .card-body.card-height{
    height: 370px;
}

.nav-sidebar .menu-open > .nav-link i.right {
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}

.cust-image{
    width: 855px;
    margin-top: -20px;
}

.cust-image-cdd{
    width: 854px;
}

.bg-color-cdd-tittle-pdf{
    background-color: #F6F6F6;
}

.bg-color-rescreening-disabled{
    background-color: #DCDCDC;
}

.title-center{
    text-align: center;
}

.content-wrapper-padding{
    padding-right: 12.5em;
    padding-left: 12.5em;
}

#eddForm{
    display: none;
}

.tnc-biometric{
    margin-left: -5%;
    text-align: justify;
}

#loadMore {
    padding: 10px;
    text-align: center;
    background-color: #8B0000;
    color: #fff;
    border-width: 0 1px 1px 0;
    border-style: solid;
    border-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 1px #ccc;
    transition: all 600ms ease-in-out;
    -webkit-transition: all 600ms ease-in-out;
    -moz-transition: all 600ms ease-in-out;
    -o-transition: all 600ms ease-in-out;
}
#loadMore:hover {
    background-color: #fff;
    color: #8B0000;
    border-color: #8B0000;
}

.navbar-nav>.user-menu>.dropdown-menu>li.user-header{
    height: 225px;
}

.bg-score{
    background-color: #D3D3D3;
}

.bg-title-pdf{
    color: #ffffff;
    background-color: black;
    padding: 15px;
    margin-bottom: 0px;
}

.password-group {
    position: relative;
}

.password-visibility {
    position: absolute;
    right: 20px;
    top: 6px;
    cursor: pointer;
}

.password-visibility-login {
    right: 13px;
    top: 7px;
}

.custom-box-eye-login{
    padding-right: 1.83rem;
}

.select2 {
    width:100%!important;
}

.padding-zero{
    padding: 0;
}

.card-section{
    background: #fff;
}

/* Accordion */
.accordion, .accordion * {
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
}

.accordion {
    overflow:hidden;
/*    box-shadow:0px 1px 3px rgba(0,0,0,0.25);*/
    border-radius:3px;
    background:#f6f6f6;
}

/* Section Title */
.section-title {
/*    background:#2f2f2f;*/
    background: #bb0a1e; /* Old browsers */
    background: -moz-linear-gradient(-45deg,  #bb0a1e 0%, #721326 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg,  #bb0a1e 0%,#721326 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg,  #bb0a1e 0%,#721326 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    display:inline-block;
    border-bottom:1px solid #1a1a1a;
    width:100%;
    padding:15px;
    transition:all linear 0.15s;
    color:#fff;
    font-size:18px;
    text-shadow:0px 1px 0px #1b1b1b;
    margin-bottom: 20px;
}

.section-title.active,
.section-title:hover {
    color: #fff;
}

.section:last-child .section-title {
    border-bottom:none;
}

.section-title:after {
    content: '+';
    font-weight: bold;
    color: #FFF !important;
    float: right;
    margin-left: 5px;
}

.section-title.active:after {
    content: "\2212";
    color: white;
}

/* Section Content */
.section-content {
    display:none;
    padding:20px;
    background: #fff;
    color: black;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    color: black;
}

.download-button {
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 5px;
}

.blue{
    background-color: #007bff;
}

.green{
    background-color: #228B22;
}

.lightskyblue{
    color: #87CEFA;
}

.gold{
    color: #FFD700;
}

.orange{
    color: orange;
}

.burlywood{
    color: #DEB887;
}

.black{
    color: black;
}

.tomato{
    color: tomato;
}

.grey{
    color: grey;
}

.red {
  color: red;
}

.yellow {
  color: yellow;
}

.green-color {
  color: green;
}

.font-13 {
  font-size: 13px;
}

.font-14 {
  font-size: 14px;
}

.font-24 {
  font-size: 24px;
}

.margin-bottom-text{
    margin-bottom: 0rem;
}

.category {
  border-radius: 25px;
  margin-bottom: 5px;
  width: 100px;
  margin-right: 10px;
}

.category-green{
    background-color: #d2e4e1;
    border: 2px solid #207868;
}

.category-purple{
    background-color: #e0defd;
    border: 2px solid #6558f5;
}

.category-maroon{
    background-color: #f6dade;
    border: 2px solid #d3455b;
}

.category-chocolate{
    background-color: #F5DEB3;
    border: 2px solid chocolate;
}

.category-yellow{
    background-color: #FFEFD5;
    border: 2px solid gold;
}

.category-blue{
    background-color: #F0FFFF;
    border: 2px solid #6495ED;
}

.icon-next{
    margin: auto;
/*    left: -10px;*/
    color: grey;
}

.gap-detail-text{
    margin-top: 5px;
}

.gap-name-entity{
    margin-top: -10px;
}

.box-result{
    padding: 9px;
    border: 2px solid #f2f5f7;
    margin-bottom: 10px;
    background-color: #f2f5f7;
    border-radius: 6px;
}

.pointer{
    cursor: pointer;
}

.dark-mode .card .card-result{
    color: black;
}

.color-red{
    color: red;
}

.margin-auto{
    margin: auto;
}

.color-sijitu-red{
    color: #BF3131;
}

.color-active{
    color: #4B70F5;
}

.line-height-7{
    line-height: 7;
}

.size-radio{
    height: 19px;
    width: 25px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
  }
  
.switch input {display:none;}

.slider2 {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ca2222;
-webkit-transition: .4s;
transition: .4s;
    border-radius: 34px;
}

.slider2:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
border-radius: 50%;
}

input:checked + .slider2 {
background-color: #2ab934;
}

input:focus + .slider2 {
box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider2:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.slider2:after
{
content:'OFF';
color: white;
display: block;
position: absolute;
transform: translate(-50%,-50%);
top: 50%;
left: 50%;
font-size: 10px;
font-family: Verdana, sans-serif;
}

input:checked + .slider2:after
{  
content:'ON';
}

.width-0{
    vertical-align: middle;
    width: 0;
}

.margin-left-0 {
  margin-left: 0;
}

.margin-left-10 {
  margin-left: 10px;
}

.margin-label-value-long-text{
    margin-left: 180px;
}

.margin-right-looping{
    margin-right: 5px;
}

.text-warning-update-db{
    background-color: red;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.iw-custom-delete-btn {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 10px;
}

dialog {
  padding: 1rem 3rem;
  background: white;
  /* max-width: 400px; */
  width: 100%;
  padding-top: 2rem;
  border-radius: 20px;
  border: 0;
  box-shadow: 0 5px 30px 0 rgb(0 0 0 / 10%);
  animation: fadeIn 1s ease both;

  &::backdrop {
    animation: fadeIn 1s ease both;
    background: rgb(255 255 255 / 40%);
    z-index: 2;
    backdrop-filter: blur(20px);
  }

  .x {
    filter: grayscale(1);
    border: none;
    background: none;
    position: absolute;
    top: 15px;
    right: 10px;
    transition: ease filter, transform 0.3s;
    cursor: pointer;
    transform-origin: center;

    &:hover {
      filter: grayscale(0);
      transform: scale(1.1);
    }
  }

  h2 {
    font-weight: 600;
    font-size: 2rem;
    padding-bottom: 1rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.3rem;
    padding: 0.5rem 0;

    a {
      &:visited {
        color: rgb(var(--vs-primary));
      }
    }
  }
}

.separator-border {
  border-left: 3px solid black;
}

.threat {
  background-color: #d9d9d9;
}

.consequence {
  background-color: #b7b7b7;
}

.vulnerability {
  background-color: #e7f8d7;
}

.sticky {
  position: sticky;
  top: 0;
  z-index: 2;
}

.btn-custom-template {
  float: right;
  margin-top: -41px;
  margin-right: 11px;
}

.ira-bg-secondary {
  background-color: #404042;
  border-radius: .25rem;
}

.btn-sijitu-red-dark {
  background-color: #4d0a18;
}

.vertical-center-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-content: center;
}

.ira-table-field {
  background-color: #E6E7EB;
}

.ira-table-bordered-dashboard tr,
.ira-table-bordered-dashboard td {
  border: 1px solid #000 !important;
}

.ira-risk-level-1 {
  background-color: #008001;
}

.ira-risk-level-2 {
  background-color: #8EBC8E;
}

.ira-risk-level-3 {
  background-color: #FFFF00;
}

.ira-risk-level-4 {
  background-color: #FEA500;
}

.ira-risk-level-5 {
  background-color: #FE0000;
}

.center-text {
  line-height: 36px;
}

.is-invalid + .select2-container .select2-selection {
    border-color: #dc3545 !important;
    padding-right: 2.25rem !important;
}

.is-invalid + .select2-container .select2-selection::after {
    content: "!";
    color: #dc3545;
    font-weight: bold;
    position: absolute;
    right: 10px;
}

.is-invalid{
    content: "!";
    color: #dc3545;
    font-weight: bold;
    /* position: absolute; */
    right: 10px;
}

/* highlight untuk field yang menjadi mandatory dinamis */
.mandatory-active label {
  font-weight: 600;
}
.mandatory-active label::after {
  content: " *";
  color: #dc3545;
  font-style: italic;
}

/* Select2 invalid border */
.select2-container.is-invalid .select2-selection {
  border: 1px solid #dc3545 !important;
}

/* optional mandatory star wrapper */
.mandatory-active label::after {
  content: " *";
  color: #dc3545;
}

.mandatory-ubo::before { content: ""; }

.kv-value { color: #212529; }
body.dark-mode .kv-value { color: #e9ecef; }

.line-height-tm {
  height: 2px;
  background-color: black;
}

/* === Typography: lebih ramah usia 30–45+ === */
.entity-table-wrap{
  --fs-title: 18px;
  --fs-sub: 13px;
  --fs-meta: 13px;
  --fs-badge: 13px;
  --pad: 16px;
}

.entity-table{
  border-collapse: separate;
  border-spacing: 0 12px;
}
.entity-table > :not(caption) > * > *{ border: none; }

/* .entity-row{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  box-shadow:0 1px 2px rgba(0,0,0,.05);
  overflow:hidden;
} */

/* light default */
.entity-row{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
}

/* AdminLTE dark mode */
body.dark-mode .entity-row{
  background: #1f2a37;              /* contoh dark surface */
  border-color: rgba(255,255,255,.08);
}
body.dark-mode .entity-row .text-muted{
  color: rgba(255,255,255,.7) !important;
}
body.dark-mode .entity-radio-cell{
  background: rgba(255,255,255,.04);
}

.entity-row:hover{
  box-shadow:0 10px 24px rgba(0,0,0,.10);
  transform:translateY(-1px);
  transition:all .18s ease;
}

.entity-radio-cell{
  width:64px;
  vertical-align:middle;
  background:rgba(0,0,0,.025);
}
.entity-radio-wrap{
  display:grid;
  place-items:center;
  min-height:140px; /* bikin tinggi konsisten dan enak dilihat */
}

/* === Layout internal row: LEFT | CENTER | RIGHT === */
.entity-grid{
  display:grid;
  grid-template-columns: 1fr 170px 56px; /* tengah utk ratio, kanan utk icon */
  gap: 14px;
  align-items:center;
}

body:not(.dark-mode) .entity-grid{
  background: rgba(255, 214, 159, 0.25);
}

body.dark-mode .entity-grid{
  background: transparent !important;
}

@media (max-width: 992px){
  .entity-grid{ grid-template-columns: 1fr; }
  .entity-center{ justify-self:start; }
  .entity-actions{ justify-self:start; }
}

/* LEFT */
.entity-name{ font-size: var(--fs-title); font-weight:700; line-height:1.15; }
.entity-id{ font-size: var(--fs-sub); color:#6c757d; margin-top:2px; }
body.dark-mode .entity-id{
  color: rgba(255,255,255,.70);
}

.entity-badges{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top:10px;
}
.entity-badges .badge{
  padding:.5rem .65rem;
  border-radius:999px;
  font-weight:700;
  font-size: var(--fs-badge);
}

/* meta info */
.entity-meta{
  display:flex; flex-wrap:wrap;
  gap: 10px 18px;
  margin-top:10px;
  font-size: var(--fs-meta);
  color:#6c757d;
}
.entity-meta b{ color:#495057; font-weight:700; }

body.dark-mode .entity-meta{
  color: rgba(255,255,255,.70);
}

body.dark-mode .entity-meta b{
  color: rgba(255,255,255,.90);
}

/* CENTER */
.entity-center{ justify-self:center; }
.entity-ratio{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:78px;
  padding:.55rem .8rem;
  border-radius:999px;
  font-size: 14px;
  font-weight:800;
  white-space:nowrap;
}

/* RIGHT: icon only */
.entity-actions{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
}
.entity-icon-btn{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.06);
}
.entity-icon-btn:hover{
  box-shadow:0 8px 18px rgba(0,0,0,.12);
  transform:translateY(-1px);
  transition:all .15s ease;
}

/* Row 0 (entity not found) */
.entity-row--zero{
  background: rgba(0,0,0,.018);
  /* border-style:dashed; */
}

/* =========================
   SIJITU - Risk Profiling UI
   AdminLTE 3.1 / Bootstrap 4
   ========================= */

/* .sijitu-cat-card .card-header {
  background: #f8fafc;
  border-bottom: 1px solid rgba(15,23,42,.06);
} */
/* .sijitu-cat-card {
  border-top: 3px solid #bb0a1e;
} */

.sijitu-cat-sub {
  font-size: .85rem;
  color: #64748b;
}

.sijitu-question-head {
  padding: .6rem .75rem;
  border-left: 4px solid #bb0a1e;
  background: #fff5f6;
  border-radius: .6rem;
  margin: .25rem 0 .6rem;
  border: 1px solid rgba(187, 10, 30, .15);
}

.sijitu-pill {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .8rem;
  color: #fff;
  background: linear-gradient(135deg, #bb0a1e 0%, #721326 100%);
  border: none;
  white-space: nowrap;
  font-weight: 500;
}

.sijitu-answer-box {
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: .6rem;
  padding: .55rem .75rem;
  background: #fff;
  margin-bottom: .5rem;
  transition: all .15s ease;
}

.sijitu-answer-box.is-checked {
  border-color: rgba(187, 10, 30, .35);
  background: rgba(187, 10, 30, .05);
}

.sijitu-answer-box .custom-control-label {
  font-weight: normal;
  margin-bottom: 0;
  color: #334155;
  line-height: 1.25rem;
  word-break: break-word;
}

.sijitu-current-score {
  margin-top: .75rem;
  padding: .6rem .75rem;
  border-radius: .6rem;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
}

.sijitu-toggle-btn {
  padding: .2rem .55rem;
  font-size: .8rem;
  border-radius: .5rem;
  color: #bb0a1e;
  border: 1px solid rgba(187, 10, 30, .4);
  background: #fff;
  transition: all .2s ease;
}

.sijitu-toggle-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, #bb0a1e 0%, #721326 100%);
  border-color: transparent;
}

/* ===== Current Score Panel ===== */
.sijitu-current-score {
  margin-top: .75rem;
  padding: .6rem .75rem;
  border-radius: .6rem;
  background: linear-gradient(135deg, #bb0a1e 0%, #721326 100%);
  color: #fff;
  font-weight: 600;
}

/* ===== Category Header Text ===== */
.sijitu-cat-title {
  font-weight: 700;
  color: #000;
}

/* Optional subtle hover lift */
.sijitu-answer-box:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

/* helper: hide elements */
.sijitu-d-none { display: none !important; }

/* =========================
  SIJITU Custom Checkbox
   ========================= */

.sijitu-checkbox-wrapper{
  display:flex;
  align-items:center;
  gap:.55rem;
}

/* radio native sering "naik", jadi kita lock ukurannya + reset margin */
.sijitu-choice{
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  transform: translateY(1px); /* coba 1px, kalau masih naik -> 2px */
}

/* label jangan punya margin/line-height aneh */
.sijitu-checkbox-label{
  margin: 0;
  line-height: 1.2;
  display:flex;
  align-items:center;
}
/* .sijitu-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.sijitu-checkbox-wrapper input[type="radio"] {
  margin: 0;                 
  vertical-align: middle;    
  position: relative;
  top: 1px;                  
} */

.sijitu-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  position: relative;
  cursor: not-allowed;
  margin-top: 3px;
  transition: all .15s ease;
  background: #fff;
}

/* Checked state */
.sijitu-checkbox:checked {
  border-color: #bb0a1e;
  background: linear-gradient(135deg, #bb0a1e 0%, #721326 100%);
}

/* Check icon */
.sijitu-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Disabled look */
.sijitu-checkbox:disabled {
  opacity: 0.95;
}

.sijitu-checkbox-label {
  margin: 0;
  font-weight: normal;
  color: #334155;
  line-height: 1.4;
}

/* ===== SIJITU Risk Profiling (AJAX render) ===== */
.sijitu-pill{
  display:inline-block;
  padding:.2rem .55rem;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  font-size:.78rem;
  background:#fff;
}

.sijitu-cat-title{
  font-weight:700;
  font-size:1.02rem;
  line-height:1.2;
}

.sijitu-cat-sub{
  font-size:.82rem;
  color:#6c757d;
}

.sijitu-question-head{
  padding:.65rem .75rem;
  border:1px solid rgba(0,0,0,.08);
  border-radius:.5rem;
  background:#f8f9fa;
  margin-bottom:.6rem;
}

.sijitu-answer-box{
  border:1px solid rgba(0,0,0,.08);
  border-radius:.5rem;
  padding:.55rem .65rem;
  margin-bottom:.55rem;
  background:#fff;
}

.sijitu-answer-box.is-checked{
  border-color: rgba(220,53,69,.35); /* danger-ish */
  box-shadow: 0 0 0 .15rem rgba(220,53,69,.08);
}

.sijitu-checkbox-wrapper{
  display:flex;
  align-items:flex-start;
  gap:.55rem;
}

.sijitu-checkbox-label{
  margin:0;
  font-weight:400;
  line-height:1.3;
}

/* Light mode */
.sijitu-current-score{
  margin-top:.75rem;
  padding:.5rem .65rem;
  border-radius:.5rem;
  background: rgba(220,53,69,.06);
  border:1px dashed rgba(220,53,69,.25);
  font-weight:600;
  color:#000; /* bootstrap danger dark text */
}

/* Dark mode */
body.dark-mode .sijitu-current-score{
  background: rgba(220,53,69,.15);
  border:1px dashed rgba(220,53,69,.45);
  color:#ff6b6b; /* lebih terang supaya kontras */
}

/* default hidden unchecked */
.sijitu-d-none{ display:none !important; }

/* dark mode adminlte */
body.dark-mode .sijitu-question-head{
  background:#1f2a37;
  border-color: rgba(255,255,255,.10);
}
body.dark-mode .sijitu-pill{
  background:#111827;
  border-color: rgba(255,255,255,.12);
  color:#e5e7eb;
}
body.dark-mode .sijitu-cat-sub{ color:#cbd5e1; }
body.dark-mode .sijitu-answer-box{
  background:#111827;
  border-color: rgba(255,255,255,.12);
}
body.dark-mode .sijitu-checkbox-label{ color:#e5e7eb; }
body.dark-mode .sijitu-current-score{
  background: rgba(220,53,69,.12);
  border-color: rgba(220,53,69,.35);
  color:#e5e7eb;
}
body.dark-mode .sijitu-cat-title {
  color: #f8f9fa; /* hampir putih tapi tidak terlalu silau */
}
/* Default (light mode) */
.sijitu-question-title {
  color: #212529; /* Bootstrap dark text */
}

/* AdminLTE Dark Mode */
body.dark-mode .sijitu-question-title {
  color: #f8f9fa;
}

.daterangepicker .btn-primary {
  background-color: #dc3545 !important; /* merah */
  border-color: #dc3545 !important;
}

.daterangepicker .btn-primary:hover {
  background-color: #bb2d3b !important;
  border-color: #bb2d3b !important;
}

/* stabilkan ukuran textarea EDD */
.edd-answer {
    resize: vertical;
    min-height: 90px;
}

/* hilangkan icon bootstrap invalid */
.edd-answer.is-invalid {
    background-image: none !important;
    padding-right: .75rem !important;
}

/* stabilkan ukuran saat invalid */
.edd-answer.is-invalid,
.edd-answer:invalid {
    box-shadow: none;
}

#cardEddQuestions textarea.is-invalid {
    background-image: none !important;
    background-position: initial !important;
    padding-right: .75rem !important;
}

#cardEddQuestions textarea.is-invalid::after {
    display: none !important;
}

/* ===== SIJITU Risk Profiling - Reusable Modules ===== */
.rm-wrap-v3{
    /* Expand beyond parent container-fluid (15px) + .content (0.5rem) padding */
    margin-left: calc(-15px - 0.5rem);
    margin-right: calc(-15px - 0.5rem);
    width: calc(100% + 30px + 1rem);
    padding: 0 1rem;
    box-sizing: border-box;
}

.rm-pills-center{
    display:flex;
    justify-content:center;
    margin-top:.25rem;
}
.rm-pills{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    justify-content:center;
}
.rm-pills .nav-link{
    border:1px solid rgba(0,0,0,.10);
    border-radius:999px;
    padding:8px 14px;
    background:#fff;
    font-weight:900;
    display:inline-flex;
    align-items:center;
    gap:10px;
    box-shadow:0 10px 24px rgba(0,0,0,.04);
}
.rm-pills .nav-link.active{
    background:#dc3545 !important;
    border-color:#dc3545 !important;
    color:#fff !important;
    box-shadow:0 10px 22px rgba(220,53,69,.22);
}
.rm-pill{
    font-size:11px;
    padding:2px 9px;
    border-radius:999px;
    border:1px solid rgba(0,0,0,.14);
    background:rgba(0,0,0,.04);
    font-weight:900;
}
.rm-pills .nav-link.active .rm-pill{
    border-color:rgba(255,255,255,.35);
    background:rgba(255,255,255,.18);
    color:#fff;
}

.rm-search-center{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    margin-top:10px;
    margin-bottom:6px;
    flex-wrap:wrap;
}
.rm-search-group{
    width:360px;
    max-width:78vw;
}

.rm-kpis{
    margin-top:10px;
}
.rm-kpi{
    border:1px solid rgba(0,0,0,.06);
    border-radius:16px;
    background:#fff;
    padding:12px 12px;
    box-shadow:0 10px 26px rgba(0,0,0,.04);
    height:100%;
}
.rm-kpi .k-label{
    font-size:12px;
    color:#6b7280;
    font-weight:800;
}
.rm-kpi .k-value{
    font-size:22px;
    font-weight:950;
    line-height:1.1;
    margin-top:4px;
}
.rm-kpi .k-hint{
    font-size:11px;
    color:#6b7280;
    margin-top:4px;
}

.rm-card{
    margin-top:10px;
    border:1px solid rgba(0,0,0,.06);
    border-radius:16px;
    overflow:auto;
    background:#fff;
    box-shadow:0 10px 26px rgba(0,0,0,.04);
}
.rm-card .card-header{
    background:rgba(0,0,0,.02);
    border-bottom:1px solid rgba(0,0,0,.06);
}
.rm-card-actions .btn{
    white-space:nowrap;
}

.rm-table-wrap{
    max-height:none;
    overflow-x:auto;
    overflow-y:visible;
    -webkit-overflow-scrolling:touch;
}
.rm-table{
    margin:0;
}
.rm-table thead th{
    position:sticky;
    top:0;
    z-index:3;
    background:#fff;
    font-size:12px;
    padding:10px 10px;
    border-bottom:1px solid rgba(0,0,0,.10);
    white-space:nowrap;
}
.rm-table tbody td{
    padding:9px 10px;
    font-size:13px;
    border-top:1px solid rgba(0,0,0,.04);
    white-space:nowrap;
    vertical-align:middle;
}

body.dark-mode .rm-pills .nav-link{
    background:#0b1220;
    border-color:rgba(255,255,255,.10);
    color:#e5e7eb;
    box-shadow:none;
}
body.dark-mode .rm-pill{
    border-color:rgba(255,255,255,.18);
    background:rgba(255,255,255,.08);
    color:#e5e7eb;
}
body.dark-mode .rm-kpi,
body.dark-mode .rm-card{
    background:#0b1220;
    border-color:rgba(255,255,255,.08);
    box-shadow:none;
}
body.dark-mode .rm-card .card-header{
    background:rgba(255,255,255,.03);
    border-bottom-color:rgba(255,255,255,.08);
}
body.dark-mode .rm-table thead th{
    background:#0f172a;
    border-bottom-color:rgba(255,255,255,.10);
}
body.dark-mode .rm-table tbody td{
    border-top-color:rgba(255,255,255,.06);
}
body.dark-mode .text-muted{
    color:#cbd5e1 !important;
}

.daterangepicker .btn-primary{
    background-color:#dc3545 !important;
    border-color:#dc3545 !important;
}
.daterangepicker .btn-primary:hover{
    background-color:#bb2d3b !important;
    border-color:#bb2d3b !important;
}

@media (max-width: 767.98px){
    .rm-card .card-header{
        align-items:flex-start !important;
    }
    .rm-card-actions{
        width:100%;
    }
}

/* Dialog Loading Overlay - trx_setting */
.dialog-loading-overlay {
    display: none;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 4px;
}
.dialog-loading-overlay.active {
    display: flex;
}
dialog { position: relative; }
@keyframes dialog-loading-pulse {
    0%   { transform: scale(1);    opacity: 1;   }
    50%  { transform: scale(1.15); opacity: 0.6; }
    100% { transform: scale(1);    opacity: 1;   }
}
.dialog-loading-img {
    width: 72px;
    height: 72px;
    animation: dialog-loading-pulse 1.8s ease-in-out infinite;
}

/* Age Range Toggle */
.age-range-wrapper-disabled {
    opacity: 0.4;
    pointer-events: none;
    user-select: none;
}

/* Numeric / amount columns — right-aligned with monospace for readability */
.td-amount {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ============================================================
   Name Search – Modern Redesign  (ns-* prefix)
   ============================================================ */

/* Filter card */
.ns-filter-card {
    border: none;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
    border-radius: 10px;
    overflow: hidden;
}
.ns-filter-header {
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    padding: 14px 20px;
}
.ns-filter-header .card-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #666;
    margin: 0;
}
.ns-form-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #888;
    margin-bottom: 6px;
    display: block;
}
.ns-optional {
    font-size: 11px;
    font-weight: 400;
    text-transform: none;
    color: #bbb;
    margin-left: 4px;
}
.ns-slider-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ns-slider-row .slider {
    flex: 1;
}
.ns-slider-value {
    font-size: 16px;
    font-weight: 700;
    color: #bb0a1e;
    min-width: 48px;
    text-align: right;
}
.ns-filter-footer {
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    padding: 14px 20px;
}

/* Result list */
.ns-results-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ns-result-card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0,0,0,.07);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.ns-result-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.13);
    transform: translateY(-1px);
}

/* Left match-score bar */
.ns-result-match-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 12px 8px;
    text-align: center;
    flex-shrink: 0;
}
.ns-match-no {
    font-size: 9px;
    font-weight: 600;
    opacity: .45;
    margin-bottom: 6px;
    letter-spacing: .3px;
}
.ns-match-pct {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.ns-match-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 3px;
    opacity: .7;
}
.ns-match-src-badge {
    margin-top: 6px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    background: rgba(0,0,0,.08);
    border-radius: 20px;
    padding: 2px 7px;
    opacity: .75;
}
.ns-match-low       { background: #f2f2f2; color: #555; }
.ns-match-medium    { background: #e8f3f1; color: #207868; }
.ns-match-high      { background: #fff3e0; color: #e65100; }
.ns-match-very-high { background: #fff8e1; color: #c17900; }
.ns-match-exact     { background: #e3f2fd; color: #1565c0; }

/* Result body */
.ns-result-body {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    gap: 16px;
    flex-wrap: wrap;
}

/* Avatar */
.ns-result-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    color: #c0c4cc;
    font-size: 20px;
}
.ns-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-result-main {
    flex: 2;
    min-width: 180px;
}
.ns-result-name {
    font-size: 17px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}
.ns-result-name-parts {
    font-size: 11px;
    color: #999;
    font-style: italic;
    margin-top: 1px;
    margin-bottom: 3px;
}
.ns-result-id {
    font-size: 11px;
    color: #bbb;
    margin-top: 2px;
    margin-bottom: 8px;
}
.ns-result-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.ns-cat-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Meta columns */
.ns-result-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 130px;
}
.ns-meta-item {
    display: flex;
    flex-direction: column;
}
.ns-meta-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #bbb;
    line-height: 1;
}
.ns-meta-value {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-top: 2px;
}

/* Action button */
.ns-result-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 14px 0 4px;
    flex-shrink: 0;
}
.ns-result-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f4f4f4;
    color: #888;
    font-size: 14px;
    transition: background .2s, color .2s;
    text-decoration: none;
}
.ns-result-btn:hover {
    background: #bb0a1e;
    color: #fff;
    text-decoration: none;
}
.ns-result-btn-pdf {
    color: #c62828;
}
.ns-result-btn-pdf:hover {
    background: #c62828;
    color: #fff;
}

/* Empty state */
.ns-no-result {
    text-align: center;
    padding: 52px 16px;
    color: #ccc;
}
.ns-no-result i {
    font-size: 44px;
    margin-bottom: 12px;
    display: block;
}
.ns-no-result p {
    font-size: 15px;
    margin: 0;
    color: #999;
}

/* Password requirement card */
.password-card {
    display: block;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.password-card h6.spacing {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.password-rules {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-rules li {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #e74c3c;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.password-rules li .circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    margin-right: 7px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.password-rules li .circle::before {
    content: "\2715";
}

.password-rules li.valid {
    color: #27ae60;
}

.password-rules li.valid .circle {
    background-color: #27ae60;
}

.password-rules li.valid .circle::before {
    content: "\2713";
}

/* ekyb_history_detail.blade.php ------------------------------------------ */

/* Color-coded card headers so the sections on this long page are easy to
   tell apart at a glance, matching the app's existing soft-pastel palette
   (see .category-* above) rather than introducing new colors. */
.ekyb-card-header {
    border-bottom: 0;
}
.ekyb-card-header .card-title i {
    margin-right: 8px;
}
.ekyb-card-header.accent-red    { border-left: 4px solid #bb0a1e; background-color: rgba(187, 10, 30, .06); }
.ekyb-card-header.accent-red .card-title i { color: #bb0a1e; }

.ekyb-card-header.accent-blue   { border-left: 4px solid #6495ed; background-color: rgba(100, 149, 237, .08); }
.ekyb-card-header.accent-blue .card-title i { color: #6495ed; }

.ekyb-card-header.accent-teal   { border-left: 4px solid #207868; background-color: rgba(32, 120, 104, .07); }
.ekyb-card-header.accent-teal .card-title i { color: #207868; }

.ekyb-card-header.accent-purple { border-left: 4px solid #6558f5; background-color: rgba(101, 88, 245, .07); }
.ekyb-card-header.accent-purple .card-title i { color: #6558f5; }

.ekyb-card-header.accent-amber  { border-left: 4px solid #b8860b; background-color: rgba(184, 134, 11, .08); }
.ekyb-card-header.accent-amber .card-title i { color: #b8860b; }

body.dark-mode .ekyb-card-header {
    background-color: rgba(255, 255, 255, .04);
}

/* Sub-section headings (Address Information, Base Stock, ...) inside a card
   were plain <h6> text with no visual weight of their own — give them the
   same small accent bar so they read as sub-sections, not body copy. */
.ekyb-subheading {
    border-left: 3px solid #d9dde1;
    padding-left: 10px;
    margin-bottom: .75rem;
    font-weight: 600;
    color: #495057;
}
body.dark-mode .ekyb-subheading {
    border-left-color: #495057;
    color: #ced4da;
}

/* Nested result cards (screening hits, business goals, shareholders) tie
   back to their parent section via a thin top accent instead of plain
   shadow-only cards that all look identical regardless of section. */
.ekyb-subcard {
    border-top: 3px solid #d9dde1;
}
.ekyb-subcard.accent-teal   { border-top-color: #207868; }
.ekyb-subcard.accent-amber { border-top-color: #b8860b; }
.ekyb-subcard.accent-purple { border-top-color: #6558f5; }
.ekyb-subcard.accent-blue  { border-top-color: #6495ed; }

/* Notarial and Capital Information: a flat, one-column stack of ~12
   label/value pairs separated by <hr>s was hard to scan. Group into
   Notary / Base Stock / Issued Stock panels instead. */
.ekyb-field-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8a94a6;
    margin-bottom: .2rem;
}
.ekyb-field-value-lg {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0;
}
.ekyb-subcard-title {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #6558f5;
    margin-bottom: .85rem;
}
body.dark-mode .ekyb-field-label { color: #9aa5b1; }

.ekyb-card-header .card-title .badge-count {
    font-size: .7rem;
    font-weight: 600;
    vertical-align: middle;
    margin-left: 4px;
    color: #6c757d;
}

.ekyb-goal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: .6rem;
}
.ekyb-goal-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: 50%;
    background-color: #207868;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}
.ekyb-goal-code {
    display: inline-block;
    padding: .15rem .5rem;
    border-radius: 4px;
    background-color: rgba(32, 120, 104, .1);
    color: #207868;
    font-size: .72rem;
    font-weight: 600;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.ekyb-goal-name {
    font-weight: 700;
    margin-bottom: .35rem;
}
body.dark-mode .ekyb-goal-code {
    background-color: rgba(32, 120, 104, .25);
    color: #7fd9c7;
}

/* Company Detail: General / Address Information shown as tabs instead of two
   stacked panels, so only one field group is on screen at a time. */
.ekyb-tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e3e6ec;
}
.ekyb-tab-btn {
    appearance: none;
    border: none;
    background: none;
    font-size: .8125rem;
    font-weight: 600;
    color: #6c757d;
    padding: .55rem .25rem;
    margin-right: 1.25rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.ekyb-tab-btn:hover {
    color: #212529;
}
.ekyb-tab-btn.active {
    color: #6495ed;
    border-bottom-color: #6495ed;
}
.ekyb-tab-panel {
    display: none;
}
.ekyb-tab-panel.active {
    display: block;
}
body.dark-mode .ekyb-tabs {
    border-bottom-color: #495057;
}
body.dark-mode .ekyb-tab-btn {
    color: #ced4da;
}
body.dark-mode .ekyb-tab-btn:hover {
    color: #fff;
}

/* Empty screening result (e.g. "No Watchlist Match Found") — a bare line of
   text sitting right under the company name read like it belonged to the
   name itself. This gives it its own visually separated result state. */
.ekyb-empty-result {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 12px 16px;
    border: 1px dashed #d3d8e2;
    border-radius: 6px;
    background-color: #e02424;
    color: #fff;
}
.ekyb-empty-result i {
    font-size: 1.05rem;
    color: #fff;
}
body.dark-mode .ekyb-empty-result {
    border-color: #3a4051;
    background-color: #e02424;
    color: #fff;
}
body.dark-mode .ekyb-empty-result i {
    color: #fff;
}

/* Watchlist match result — refined version of the original layout: name,
   ID and category on the left, source/DOB and country in the middle, match %
   (now colour-coded by severity instead of a mismatched set of named CSS
   colours) and a chevron on the right. A left accent bar signals risk level
   at a glance. The category pill keeps its own PEP/SIP/RCA colour, since
   that's a different piece of information (listing type, not confidence). */
.ekyb-refined-card {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr auto;
    gap: 18px;
    align-items: center;
    width: 100%;
    padding: 1rem 1.125rem;
    margin-bottom: .75rem;
    border-radius: 8px;
    background-color: #f7f8fa;
    border: 1px solid #e3e6ec;
    border-left: 4px solid #d9dde1;
}
.ekyb-refined-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #212529;
}
.ekyb-refined-id {
    font-size: .78rem;
    color: #8a94a6;
    margin-top: 2px;
}
.ekyb-refined-cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.ekyb-result-cat {
    display: inline-flex;
    align-items: center;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding: .15rem .55rem;
    border-radius: 100px;
    white-space: nowrap;
}
.ekyb-refined-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ekyb-refined-match {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: .9rem;
    white-space: nowrap;
}
.ekyb-refined-match .dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: currentColor;
}
.ekyb-refined-chevron {
    flex-shrink: 0;
    color: #8a94a6;
    font-size: 1.15rem;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}
.ekyb-refined-chevron:hover {
    color: #212529;
    transform: translateX(2px);
}

.ekyb-sev-min   { color: #6b7280; }
.ekyb-sev-mid   { color: #a3860b; }
.ekyb-sev-high  { color: #c3691a; }
.ekyb-sev-crit  { color: #c0293d; }
.ekyb-sev-exact { color: #6d3fc0; }

.ekyb-refined-card.ekyb-sev-min   { border-left-color: #6b7280; }
.ekyb-refined-card.ekyb-sev-mid   { border-left-color: #a3860b; }
.ekyb-refined-card.ekyb-sev-high  { border-left-color: #c3691a; }
.ekyb-refined-card.ekyb-sev-crit  { border-left-color: #c0293d; }
.ekyb-refined-card.ekyb-sev-exact { border-left-color: #6d3fc0; }

.ekyb-result-cat.ekyb-cat-purple    { background-color: #e0defd; color: #6558f5; }
.ekyb-result-cat.ekyb-cat-maroon    { background-color: #f6dade; color: #d3455b; }
.ekyb-result-cat.ekyb-cat-green     { background-color: #d2e4e1; color: #207868; }
.ekyb-result-cat.ekyb-cat-chocolate { background-color: #f5deb3; color: #8b4513; }
.ekyb-result-cat.ekyb-cat-yellow    { background-color: #ffefd5; color: #a67c00; }
.ekyb-result-cat.ekyb-cat-blue      { background-color: #f0ffff; color: #4a7bc4; }

body.dark-mode .ekyb-refined-card {
    background-color: #1b1f28;
    border-color: #2b303c;
}
body.dark-mode .ekyb-refined-name {
    color: #e7e9ee;
}
body.dark-mode .ekyb-refined-id {
    color: #8790a1;
}
body.dark-mode .ekyb-refined-chevron {
    color: #8790a1;
}
body.dark-mode .ekyb-refined-chevron:hover {
    color: #e7e9ee;
}
body.dark-mode .ekyb-sev-min   { color: #9aa1ac; }
body.dark-mode .ekyb-sev-mid   { color: #cbab52; }
body.dark-mode .ekyb-sev-high  { color: #dd9552; }
body.dark-mode .ekyb-sev-crit  { color: #e0596a; }
body.dark-mode .ekyb-sev-exact { color: #a884e0; }

@media (max-width: 760px) {
    .ekyb-refined-card {
        grid-template-columns: 1fr;
    }
}