:root {
    --color-hdi-dark: #444345;
    --color-hdi-dark-grey: #444345;
    --color-hdi-cream: #F7EDE5;
    --color-hdi-cream2: #F9DFC6;
    --color-hdi-red: #FF353F;
    --color-hdi-purple: #9A005D;
    --color-hdi-teal: #1CC4BF;
    --color-dark-yellow: #E89925;
    --color-primary-yellow: #F3B02F;
    --color-light-yellow: #EFB860;
}

.login-form{
    background-color:#F0DFCF;
}
table#dtable tr td{
    font-size:0.8em;
}
.text-hdi-primary{
    color: #FF353F;
    font-family: Basic Sans;
    font-size: 25px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0em;
    text-align: left;
}
.text-hdi-primary i{
    color:black;
}
.text-hdi-teal{
    color: var(--color-hdi-teal);
}
.text-strikediag {
    background: linear-gradient(to left top, transparent 47.75%, currentColor 49.5%, currentColor 50.5%, transparent 52.25%);
    padding: 0 0.15em;
}
.text-hdi-red{
    color: var(--color-hdi-red);
}
.text-dark-yellow {
    color: var(--color-dark-yellow);
}
.text-primary-yellow {
    color: var(--color-primary-yellow);
}
.text-light-yellow {
    color: var(--color-light-yellow);
}
/* BUTTON */
.btn{
    margin: 2px 2px 2px 2px;
}
.btn-hdi-red {
    background-color: var(--color-hdi-red);
    color: #fff;
}
.btn-hdi-red:hover {
    background-color: #e2111b;
    color: #fff;
}
.btn-hdi-cream {
    background-color: var(--color-hdi-cream);
    color: #fff;
}
.btn-hdi-cream:hover {
    background-color: #efd1b5;
}
.btn-hdi-purple {
    background-color: var(--color-hdi-purple);
    color: #fff;
}
.btn-hdi-purple:hover {
    background-color: #850853;
    color: #fff;
}
.btn-hdi-teal {
    background-color: var(--color-hdi-teal);
    color: #fff;
}
.btn-hdi-teal:hover {
    background-color: #099d98;
    color: #fff;
}
.btn-bidding{
    background-color: #F0A92D !important;
    border: solid #F0A92D 1px !important;
}
.btn-hdi-tosca{
    background-color: #1CC4BF;
    color: #FFFFFF;
}
.btn-hdi-tosca:hover{
    background-color: #0CB4aF;
    color: #FFFFFF;
    font-weight: 800;
}
/* BACKGROUND */
.bg-hdi-red{
    background-color: #e2111b !important;
    color: #fff;
}
.bg-hdi-teal {
    background-color: #1CC4BF;
    color: #fff;
}
.bg-hdi-cream {
    background-color: var(--color-hdi-cream2);
}
.navbar-hdi{
    background-color: #FF353F !important;
}
.error_box{
    color:red;
}
.notification_box{
    color:green;
    font-size: 20px;
    font-weight: 800;
}
.error_element{
    border:solid red 1px;
}
td{
    font-family: "Pragmatica Book"!important;
}
div{
    font-family: "Pragmatica Book"!important;
}
table th{
    background-color:white;
}
table tr:nth-child(odd){
    background-color:#F4F4F4;
}
table tr:nth-child(even){
    background-color:white;
}
#tbody_summarytitle, #tbody_prsummary{
    font-family: "Pragmatica Bold"!important;
}
#btnSave, #btnSave2{
    border-radius: 5px;
    border: 1px solid #E2E2E2;
    background: #3F923F;
    color:#E2E2E2;
    width:100% !important;
    height:100% !important;
}
#btnReset{
    border-radius: 5px;
    border: 1px solid #E2E2E2;
    background: #B6B6B6;
    color:#E2E2E2;
    width:100% !important;
    height:100% !important;
}
.btn-success{
    background-color:#1CC4BF!important;
}
#tbody_total, #tbody_total tr td, #tbody_total tr{
    background-color:#4F4F4F !important;
    color:white;
}
.status_box{
    text-align:right;
}
.head_info{
    border-bottom:solid #B5B5B5 2px;
    margin-bottom:2%;
    width:95%;
}
h1,h2,h3,h4,h5,h6{
    font-family: "Pragmatica Bold" !important;
}
.justify-content-right {
    justify-content: right !important;
    margin-top:auto;
    margin-bottom:auto;
    display:flex;
    flex-wrap:wrap;
}
.hide_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
}
.hide_button:not(.selected) {
    color: white;
}
.hide_button.selected {
    font-weight:800!important;
    background-color: grey;
    opacity: 0.6;
}
.hide_button:before {
    content: url("/assets/image/eye-solid.svg");
    padding-right: .5em;
    display: inline-block;
    width: 2em;
}
.hide_button.selected:before {
    content: url("/assets/image/eye-slash-solid.svg");
    padding-right: .5em;
    display: inline-block;
    width: 2em;
}
.btn-download{
    max-width:85px;
    width: 80px;
}

.divLoadingScreen {
    position:absolute;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;

}
@keyframes sp-anime {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(359deg);
    }
}
.list-overflow-auto {
    resize: horizontal;
    overflow: auto;
}
.list-overflow-x {
    overflow-x: scroll;
}

/* project/action name */
table.hdi-table td:first-child {    
    max-width: 20em;
}
/* PIC */
table.hdi-table td:nth-child(2) {
    max-width: 15em;
}
/* bobot */
table.hdi-table td:nth-child(3) {
    max-width: 7em;
}
/* super green - red */
table.hdi-table td:nth-child(4), 
table.hdi-table td:nth-child(5), 
table.hdi-table td:nth-child(6), 
table.hdi-table td:nth-child(7) {
    max-width: 10em;
}
/* progress */
table.hdi-table td:nth-child(8) {
    min-width: 17em;
}
/* hasil - action */
table.hdi-table td:nth-child(9), 
table.hdi-table td:nth-child(10), 
table.hdi-table td:nth-child(11), 
table.hdi-table td:nth-child(12) {
    max-width: 8em;
}


/* project/action name */
table#ipp_table.hdi-table td:first-child {    
    max-width: 5em;
}
/* PIC */
table#ipp_table.hdi-table td:nth-child(2) {
    max-width: 20em;
}
/* bobot */
table#ipp_table.hdi-table td:nth-child(3) {
    max-width: 7em;
}
/* super green - red */
table#ipp_table.hdi-table td:nth-child(4), 
table#ipp_table.hdi-table td:nth-child(5) {
    max-width: 10em;
}
/* progress */ 
table#ipp_table.hdi-table td:nth-child(6), 
table#ipp_table.hdi-table td:nth-child(7),
table#ipp_table.hdi-table td:nth-child(8),
table#ipp_table.hdi-table td:nth-child(9) {
    min-width: 12em;
}
/* hasil - action */
table#ipp_table.hdi-table td:nth-child(10), 
table#ipp_table.hdi-table td:nth-child(11), 
table#ipp_table.hdi-table td:nth-child(12), 
table#ipp_table.hdi-table td:nth-child(14) {
    min-width: 8em;
}

table#ipp_table.hdi-table td:nth-child(13) {
    min-width: 10em;
    max-width: 20em;
}

/* buat rapiin layout */
div.main-content {
    overflow: hidden !important;
}div#dashboard_table {
    width: 100%;    
    height:800px;
    overflow-y: auto !important;
    overflow-x: auto !important;
}


.asterisk-red{
    color:red;
    font-size: 5px;
    vertical-align: text-top;
}
.modal-hdi-lg{
    margin:auto;
    width:65%;
}
.hdi-form-info
{
    position: relative;
}

.hdi-form-info:hover::after 
{
    content: attr(data-title);
    padding: 8px 20px;
    width: 300px;
    border: 1px solid var(--color-hdi-dark);;
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: var(--color-hdi-cream2);
    color: var(--color-hdi-dark-grey);
    z-index: 1;
    text-align: left;
}
.ca-status {
    font-size: 8pt;
    font-weight: bold;
    border-radius: 5px;
    padding: 7px;
    margin-left: 5px;
}
.fa-asterisk:before{
    content: '*';
    font-size:16px;
}

.hdi-td-middle td, th {
    vertical-align: middle;
}

/* Enable dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Optional: remove delay or awkward spacing */
.dropdown-menu {
    margin-top: 0;
}
.menu-icon-grid {
    display: flex !important;
    flex-wrap: wrap;
    width: 450px; /* Adjust size as needed */
}

.menu-icon-grid .menu-icon {
    width: 32.5%;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc; /* Optional: for visualization */
    box-sizing: border-box;
}
.menu-icon .app_name{
    word-wrap: break-word;
    white-space: normal;
    text-align: center;
    min-height: 2.5em; /* Ensure consistent space even if single line */
    line-height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    text-wrap: balance; /* optional: better wrapping for long words */
}

.menu-icon-grid .menu-icon:hover, .menu-icon-grid .menu-icon.active {
    color:white!important;
    background-color:#FF353F!important;
}

/* HR Dashboard Scoring */
.cursor-pointer { 
    cursor: pointer; 
}
.card-header-scoring:hover,
.card-body-scoring:hover {
    background-color:#dfdede;
    opacity: 0.9;
}
.arrow-icon {
    transition: transform 0.25s;
    color: var(--color-hdi-teal);
}
/* Saat COLLAPSE tertutup → arrow right */
span.collapsed .arrow-icon {
    transform: rotate(0deg);
}
/* Saat COLLAPSE terbuka → arrow down */
span:not(.collapsed) .arrow-icon {
    transform: rotate(90deg);
}
.ratiting-cat-name {
    font-size: 10pt;
}
/* Close HR Dashboard Scoring */


/* core value */
/* tabs */
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:active,
.nav-tabs .nav-link.show,
.nav-tabs .nav-link.active {
    outline: none !important;
    box-shadow: none !important;
    border-color: none !important;
}