.modal-certificate {
    width: 70rem !important;
}

.table tbody tr .dt-body-right {
	text-align: right !important;
}

.bg-primary {
        background-color: #0f4e86 !important;

    /* PCW */
    /* background-color: #7030a0 !important;  */
    color: #fff !important;
}

.be-color-header-custom .be-top-header {
    background-color: #0f4e86 !important;
  border-bottom-color: #0f4e86 !important;

  /* PCW */
  /* background-color: #7030a0 !important;
  border-bottom-color: #7030a0 !important; */
}


.alert {
    line-height: 5px !important;
    margin-bottom: 10px !important;
}

.alert-dismissible .close {
    top: -7px;
}

.color-red {
    color: rgb(234 67 53) !important;
    margin-top: 0.25rem !important;
    font-size: 0.9rem !important;
}

@media (max-width: 767.98px) {
  .be-color-header-custom .be-top-header .be-right-navbar {
        background-color: #0f4e86 !important;
    border-bottom-color: #0f4e86 !important;

    /* PCW */
    /* background-color: #7030a0 !important;
    border-bottom-color: #7030a0 !important; */
  }
}

.be-user-nav > li.dropdown .dropdown-menu .user-info {
     background-color: #0f4e86 !important;

    /* PCW */
    /* background-color: #7030a0 !important; */
}

.close-modal:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.close-modal:hover, .close-modal:focus {
    color: #000;
    text-decoration: none;
    opacity: .75;
}

button.close-modal {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

.close-modal {
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}
.spinner-border{
    display: inline-block;
    width: 1rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm{
    height: 1rem;
    border-width: .2em;
}

/* In-app notifications — match step-increment mockup */
.hris-notifications-nav {
    margin-right: 8px !important;
}

.be-top-header .hris-notifications-nav > li.dropdown,
.hris-notifications-nav > li.dropdown {
    position: relative !important;
}

.hris-notif-bell {
    color: #fff !important;
    position: relative;
    padding: 0 12px !important;
    line-height: 60px;
    display: inline-block;
}

.hris-notif-bell .icon,
.be-top-header .hris-notifications-nav > li.dropdown > a .icon {
    font-size: 22px !important;
    vertical-align: middle;
    color: #fff !important;
}

.hris-notif-badge {
    position: absolute;
    top: 12px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    display: inline-block;
    box-shadow: 0 0 0 2px #0f4e86;
}

.hris-notifications-panel.dropdown-menu {
    width: 400px;
    min-width: 360px;
    max-width: calc(100vw - 24px);
    padding: 0 !important;
    margin: 8px 0 0 !important;
    top: 100% !important;
    left: auto !important;
    right: -8px !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 16px 48px rgba(15, 35, 52, 0.2), 0 2px 10px rgba(15, 35, 52, 0.08) !important;
    overflow: hidden;
    z-index: 1050;
}

.hris-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
}

.hris-notif-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.hris-notif-heading {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}

.hris-notif-new-badge {
    display: inline-flex;
    align-items: center;
    background: #e53935 !important;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.hris-notif-mark-all {
    font-size: 13px;
    font-weight: 500;
    color: #3b82f6 !important;
    white-space: nowrap;
    text-decoration: none !important;
}

.hris-notif-mark-all:hover {
    color: #2563eb !important;
    text-decoration: underline !important;
}

.hris-notif-tabs {
    display: flex;
    gap: 8px;
    padding: 0 18px 14px;
    flex-wrap: wrap;
}

.hris-notif-tab {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.hris-notif-tab:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.hris-notif-tab.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.hris-notif-list {
    max-height: 360px;
    overflow-y: auto;
    border-top: 1px solid #f1f5f9;
}

.hris-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none !important;
    color: inherit;
    position: relative;
    background: #fff;
    transition: background-color .15s ease;
}

.hris-notif-item:last-child {
    border-bottom: 0;
}

.hris-notif-item.is-unread {
    background: #eef5ff;
}

.hris-notif-item:hover {
    background: #e8f1fe !important;
}

.hris-notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.hris-notif-icon svg {
    display: block;
}

.hris-notif-icon--blue { background: #3b82f6; }
.hris-notif-icon--orange { background: #f59e0b; }
.hris-notif-icon--purple { background: #8b5cf6; }
.hris-notif-icon--gray { background: #6b7280; }
.hris-notif-icon--green { background: #10b981; }

.hris-notif-body {
    flex: 1;
    min-width: 0;
    padding-right: 14px;
}

.hris-notif-item-title {
    font-weight: 700;
    color: #111827;
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 3px;
}

.hris-notif-item-message {
    color: #6b7280;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.45;
}

.hris-notif-item-message strong {
    color: #111827;
    font-weight: 700;
}

.hris-notif-item-date {
    color: #9ca3af;
    font-size: 11px;
    margin-top: 6px;
    line-height: 1.2;
    text-transform: none !important;
    letter-spacing: 0;
}

.hris-notif-dot {
    position: absolute;
    right: 16px;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    flex-shrink: 0;
}

.hris-notif-empty {
    padding: 36px 18px;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
}

.hris-notif-footer {
    border-top: 1px solid #f1f5f9;
    padding: 12px 18px;
    text-align: center;
    background: #fff;
}

.hris-notif-footer a {
    color: #3b82f6 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.hris-notif-footer a:hover {
    color: #2563eb !important;
    text-decoration: underline !important;
}

/* Full notifications page */
.hris-notif-full-item.unread {
    background: #eef5ff;
}

.hris-notif-full-item .hris-notif-icon {
    flex-shrink: 0;
}

