/*
 * Gaya khusus Modul Kuarters.
 * Semua selector dikunci pada form/akar Kuarters supaya tidak mengubah
 * html, body, #content atau modul HRPortal yang lain.
 */

#DashKuarters,
#divDashKuarters,
#MaklDiri,
#divMaklDiri {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    box-sizing: border-box !important;
}

#divDashKuarters,
#divMaklDiri {
    overflow-x: hidden;
}

.kuarters-corporate,
.kuarters-corporate * {
    box-sizing: border-box;
}

.kuarters-corporate {
    --kuarters-maroon: #a6192e;
    --kuarters-maroon-dark: #7f1425;
    --kuarters-maroon-soft: #f8eef0;
    --kuarters-charcoal: #252a2e;
    --kuarters-grey: #6c737a;
    --kuarters-border: #dfe3e7;
    width: 100%;
    min-height: calc(100vh - 150px);
    margin-top: -3px;
    padding: 0 5px 20px;
    overflow-x: hidden;
    color: var(--kuarters-charcoal);
    font-family: Arial, "Helvetica Neue", sans-serif;
    background: #fff;
}

.kuarters-corporate,
.kuarters-corporate > .kuarters-heading,
.kuarters-corporate > .kuarters-application-panel {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.kuarters-corporate::before,
.kuarters-corporate::after {
    display: table;
    content: "";
}

.kuarters-corporate::after {
    clear: both;
}

.kuarters-heading {
    width: 100%;
    max-width: 100%;
    margin: 4px 0 14px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--kuarters-border);
    border-left: 5px solid var(--kuarters-maroon);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(37, 42, 46, .06);
}

.kuarters-heading__content {
    min-width: 0;
}

.kuarters-heading__label {
    display: block;
    margin-bottom: 2px;
    color: var(--kuarters-maroon);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.05px;
    text-transform: uppercase;
}

.kuarters-heading__title {
    margin: 0;
    color: var(--kuarters-charcoal);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.kuarters-heading__subtitle {
    margin: 3px 0 0;
    color: var(--kuarters-grey);
    font-size: 11.5px;
    line-height: 1.3;
}

.kuarters-heading__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
}

.kuarters-heading__actions > .navbar-nav {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    float: none;
}

.kuarters-heading__actions > .navbar-nav > li {
    float: none;
}

.kuarters-header-link {
    min-height: 32px;
    padding: 5px 9px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    border: 1px solid #d9aab4 !important;
    border-radius: 7px;
    background: #fff !important;
    color: var(--kuarters-maroon) !important;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
}

.kuarters-header-link:hover,
.kuarters-header-link:focus {
    background: var(--kuarters-maroon) !important;
    color: #fff !important;
}

.kuarters-header-link .user-image {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.kuarters-header-link .user-image img {
    max-width: 20px;
    max-height: 20px;
}

.kuarters-heading__actions .dropdown-menu {
    min-width: 230px;
    padding: 7px 0;
    border: 1px solid var(--kuarters-border);
    border-radius: 7px;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(37, 42, 46, .12);
}

.kuarters-heading__actions .dropdown-menu li,
.kuarters-heading__actions .dropdown-menu li a {
    font-size: 11px !important;
}

.kuarters-heading__actions .dropdown-menu li a {
    color: #4f5660;
}

.kuarters-heading__actions .dropdown-menu li a:hover {
    background: var(--kuarters-maroon-soft);
    color: var(--kuarters-maroon);
}

.kuarters-corporate > .col-md-12 {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.kuarters-corporate > .kuarters-application-form-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.kuarters-corporate > .kuarters-application-form-wrap > .panel-body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0 16px !important;
}

.kuarters-home-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.kuarters-home-grid > [class*="col-"] {
    width: auto;
    padding: 0;
    float: none;
}

.kuarters-action-card {
    position: relative;
    min-height: 166px;
    height: 100%;
    overflow: hidden;
    padding: 22px 22px 20px;
    border: 1px solid var(--kuarters-border);
    border-radius: 10px;
    background: linear-gradient(135deg, #fff7f8 0%, #f7dfe5 100%);
    box-shadow: 0 4px 14px rgba(37, 42, 46, .06);
}

.kuarters-action-card::after {
    position: absolute;
    right: -26px;
    bottom: -42px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--kuarters-maroon-soft);
    content: "";
}

.kuarters-action-card .card-block {
    padding: 0;
    color: var(--kuarters-charcoal) !important;
}

.kuarters-corporate .kuarters-action-card.card-inverse,
.kuarters-corporate .kuarters-action-card.card-inverse .card-title,
.kuarters-corporate .kuarters-action-card.card-inverse .card-text {
    color: var(--kuarters-charcoal) !important;
}

.kuarters-action-card--secondary {
    border: 2px solid #b7d7cb !important;
    background: linear-gradient(135deg, #f5fbf8 0%, #dceee7 100%);
    box-shadow: 0 5px 16px rgba(85, 124, 110, .13);
}

.kuarters-action-card--primary {
    border: 2px solid #a9c9e6 !important;
    background: linear-gradient(135deg, #f0f8ff 0%, #cfe5f7 100%);
    box-shadow: 0 5px 16px rgba(47, 111, 158, .13);
}

.kuarters-action-card--primary::after {
    background: rgba(255, 255, 255, .48);
}

.kuarters-action-card--primary .kuarters-action-card__icon {
    background: rgba(255, 255, 255, .62);
    color: #2f6f9e;
}

.kuarters-action-card--secondary::after {
    background: #edf5f1;
}

.kuarters-action-card__icon {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--kuarters-maroon-soft);
    color: var(--kuarters-maroon);
    font-size: 17px;
}

.kuarters-action-card--secondary .kuarters-action-card__icon {
    background: #edf5f1;
    color: #557c6e;
}

.kuarters-action-card .card-title {
    position: relative;
    z-index: 1;
    margin: 0 0 7px;
    color: var(--kuarters-charcoal);
    font-size: 15px;
    font-weight: 700;
}

.kuarters-action-card .card-text {
    position: relative;
    z-index: 1;
    min-height: 32px;
    margin: 0 0 15px;
    color: var(--kuarters-grey);
    font-size: 11px;
    line-height: 1.45;
}

.kuarters-action-card .btn {
    position: relative;
    z-index: 1;
    margin-right: 4px;
}

.kuarters-corporate .kuarters-application-start {
    margin-top: 10px;
}

.kuarters-corporate .panel {
    width: 100%;
    max-width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--kuarters-border);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(37, 42, 46, .05);
}

.kuarters-corporate .kuarters-application-panel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0;
    margin-left: 0;
}

.kuarters-corporate .kuarters-application-panel {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: auto !important;
    margin: 0 0 16px !important;
}

.kuarters-corporate .kuarters-application-panel > .panel-heading,
.kuarters-corporate .kuarters-application-panel > .panel-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.kuarters-corporate .panel > .panel-heading,
.kuarters-corporate .panel-inverse > .panel-heading {
    min-height: 44px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid #e6c3cb;
    border-left: 4px solid var(--kuarters-maroon);
    background: linear-gradient(135deg, #fff7f8 0%, #f4f6f8 100%) !important;
    color: var(--kuarters-charcoal) !important;
}

.kuarters-corporate .kuarters-status-aduan-panel > .panel-heading {
    border-left-color: var(--kuarters-maroon);
    background: linear-gradient(135deg, #fff1f4 0%, #f7f8fa 100%) !important;
}

.kuarters-corporate .kuarters-aduan-panel > .panel-heading {
    border-left-color: var(--kuarters-maroon);
    background: linear-gradient(135deg, #fffafc 0%, #f7f8fa 100%) !important;
}

.kuarters-corporate .kuarters-status-aduan-panel > .panel-body {
    background: linear-gradient(180deg, #fff 0%, #fffafb 100%);
}

.kuarters-corporate .panel-title {
    flex: 1 1 auto;
    margin: 0;
    color: var(--kuarters-charcoal) !important;
    font-size: 12px;
    font-weight: 700;
}

.kuarters-corporate .panel-heading-btn {
    order: 2;
    margin-left: auto;
    position: static;
    float: none;
}

.kuarters-corporate .panel-heading-btn .btn {
    width: 24px;
    min-height: 24px;
    padding: 4px;
    border: 1px solid #d3d8dd !important;
    background: #fff !important;
    color: #69717a !important;
}

.kuarters-corporate .panel-heading-btn .btn:hover {
    border-color: var(--kuarters-maroon) !important;
    color: var(--kuarters-maroon) !important;
}

.kuarters-corporate .panel-heading-btn .kuarters-panel-home,
.kuarters-corporate .kuarters-approver-box__home .kuarters-panel-home {
    width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #ed91a8 0%, #d85c7a 100%) !important;
    color: #fff !important;
    box-shadow: 0 3px 8px rgba(216, 92, 122, .3) !important;
    transition: transform .18s ease, box-shadow .18s ease;
}

.kuarters-corporate .panel-heading-btn .kuarters-panel-home:hover,
.kuarters-corporate .panel-heading-btn .kuarters-panel-home:focus,
.kuarters-corporate .kuarters-approver-box__home .kuarters-panel-home:hover,
.kuarters-corporate .kuarters-approver-box__home .kuarters-panel-home:focus {
    border: 0 !important;
    background: linear-gradient(135deg, #d85c7a 0%, #b83d5d 100%) !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(184, 61, 93, .38) !important;
    transform: translateY(-1px);
}

.kuarters-panel-home i {
    margin: 0 !important;
    font-size: 13px;
    line-height: 1;
}

.kuarters-corporate .panel > .panel-body {
    padding: 16px;
    background: #fff;
}

.kuarters-corporate .panel-body > .form-control,
.kuarters-corporate .kuarters-form-shell {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 14px;
    border: 1px solid var(--kuarters-border);
    border-radius: 7px;
    background: #fafbfc;
    color: var(--kuarters-charcoal);
    box-shadow: none;
    font-size: 11px;
}

.kuarters-corporate .kuarters-form-shell,
.kuarters-corporate .kuarters-form-shell .checkbox-css,
.kuarters-corporate .kuarters-form-shell .checkbox-css label {
    color: var(--kuarters-charcoal) !important;
}

.kuarters-corporate .kuarters-approver-box {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    padding-top: 18px;
    padding-right: 50px;
    margin-bottom: 14px;
    line-height: 1.8;
}

.kuarters-approver-box__home {
    position: absolute;
    top: 8px;
    right: 8px;
}

.kuarters-corporate .kuarters-approver-box > label {
    display: block;
    margin-bottom: 4px;
}

.kuarters-corporate .kuarters-approver-box .kuarters-acknowledgement {
    position: relative;
    margin-top: 12px;
    padding: 10px 12px 10px 38px;
    border: 1px solid #efd27a;
    border-radius: 7px;
    background: #fff8dc;
    color: #806116;
    font-size: 11px;
    line-height: 1.55;
}

.kuarters-corporate .kuarters-approver-box .kuarters-acknowledgement label {
    position: relative;
    display: block;
    min-height: 20px;
    padding-left: 0 !important;
    margin: 0;
    color: #806116;
    font-weight: 600;
}

.kuarters-corporate .kuarters-approver-box .kuarters-acknowledgement label::before {
    top: 1px;
    left: -26px;
    width: 18px;
    height: 18px;
    border-color: #d4b65b;
}

.kuarters-corporate .kuarters-approver-box .kuarters-acknowledgement input:checked + label::before {
    background: #1677e8;
    border-color: #1677e8;
}

.kuarters-corporate .kuarters-approver-box .kuarters-acknowledgement input:checked + label::after {
    top: 1px;
    left: -26px;
    width: 18px;
    line-height: 18px;
    font-size: 12px;
}

.kuarters-corporate .form-group {
    margin-bottom: 12px;
}

.kuarters-corporate .control-label,
.kuarters-corporate label {
    color: #3f464d;
    font-size: 11px;
    font-weight: 600;
}

.kuarters-corporate .form-control {
    min-height: 34px;
    border: 1px solid #cfd5da;
    border-radius: 6px;
    background: #fff;
    color: var(--kuarters-charcoal);
    box-shadow: none;
    font-size: 11px;
}

.kuarters-corporate .form-control:focus {
    border-color: #bd7585;
    box-shadow: 0 0 0 3px rgba(166, 25, 46, .09);
    outline: none;
}

.kuarters-corporate .checkbox-css {
    line-height: 1.5;
}

.kuarters-corporate .checkbox-css label {
    color: var(--kuarters-grey);
    font-weight: 500;
}

.kuarters-corporate .alert,
.kuarters-corporate .note {
    border-radius: 7px;
    font-size: 11px;
    line-height: 1.5;
}

.kuarters-corporate .kuarters-alert-soft-warning {
    border: 1px solid #efd27a !important;
    background: #fff8dc !important;
    color: #806116 !important;
}

.kuarters-corporate .kuarters-alert-soft-warning strong,
.kuarters-corporate .kuarters-alert-soft-warning .close {
    color: #806116 !important;
}

.kuarters-corporate .kuarters-note-soft-warning {
    border-left-color: #efd27a !important;
    background: #fff8dc !important;
    color: #806116 !important;
}

.kuarters-corporate .kuarters-note-soft-warning h4,
.kuarters-corporate .kuarters-note-soft-warning strong {
    color: #806116 !important;
}

.kuarters-corporate .note {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-left-width: 4px;
}

.kuarters-corporate .note h4 {
    margin: 0 0 4px;
    font-size: 12px;
}

.kuarters-corporate .note p {
    margin: 0;
}

.kuarters-corporate .table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 0;
}

.kuarters-corporate .table {
    width: 100%;
    min-width: 100%;
    margin: 0;
    border: 0 !important;
    background: #fff !important;
    font-size: 11px;
}

.kuarters-corporate .table > thead > tr > th {
    padding: 10px 8px;
    border: 0 !important;
    border-bottom: 2px solid var(--kuarters-maroon) !important;
    background: #eef1f4 !important;
    color: #3f454d !important;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    vertical-align: middle;
}

.kuarters-corporate .table > tbody > tr > td {
    padding: 9px 8px;
    border: 0 !important;
    border-bottom: 1px solid #e5e8eb !important;
    background: #fff;
    color: #3f454d;
    vertical-align: middle;
}

.kuarters-corporate .table > tbody > tr:nth-child(even) > td {
    background: #fafbfc;
}

.kuarters-corporate .table > tbody > tr:hover > td {
    background: var(--kuarters-maroon-soft) !important;
}

.kuarters-corporate .kuarters-status-aduan-panel .table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

.kuarters-corporate .kuarters-status-aduan-panel,
.kuarters-corporate .kuarters-status-aduan-panel > .panel-body,
.kuarters-corporate .kuarters-status-aduan-panel .table {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.kuarters-corporate .kuarters-status-aduan-panel .table {
    table-layout: fixed;
}

.kuarters-corporate .kuarters-status-aduan-panel .modal-header.m-b-10 {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    white-space: normal;
}

.kuarters-corporate .kuarters-status-aduan-panel .modal-header.m-b-10 > [class*="col-"] {
    min-width: 0;
    max-width: 100%;
}

.kuarters-corporate .kuarters-status-aduan-panel .table th,
.kuarters-corporate .kuarters-status-aduan-panel .table td {
    max-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.kuarters-corporate .kuarters-status-aduan-panel .table td a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.kuarters-corporate .table td a:not(.btn) {
    color: var(--kuarters-maroon);
    font-weight: 600;
}

.kuarters-corporate .btn {
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
}

.kuarters-corporate .btn-xs {
    min-height: 25px;
    padding: 4px 8px;
    font-size: 9.5px;
}

.kuarters-corporate .kuarters-table-action {
    width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1 !important;
}

.kuarters-corporate .kuarters-table-action i {
    margin: 0 !important;
    line-height: 1;
}

.kuarters-corporate .kuarters-table-action.btn-info {
    border-color: #a9c9e6 !important;
    background: #e8f3fc !important;
    color: #245b87 !important;
}

.kuarters-corporate .kuarters-table-action.btn-info:hover,
.kuarters-corporate .kuarters-table-action.btn-info:focus {
    border-color: #78a9d2 !important;
    background: #d5e9f8 !important;
    color: #1e4d73 !important;
}

.kuarters-corporate .btn-primary {
    border-color: #a9c9e6 !important;
    background: #e8f3fc !important;
    color: #245b87 !important;
}

.kuarters-corporate .btn-primary:hover,
.kuarters-corporate .btn-primary:focus {
    border-color: #78a9d2 !important;
    background: #d5e9f8 !important;
    color: #1e4d73 !important;
}

.kuarters-corporate .btn-danger {
    border-color: var(--kuarters-maroon-dark) !important;
    background: var(--kuarters-maroon) !important;
    color: #fff !important;
}

.kuarters-corporate .btn-danger:hover {
    background: var(--kuarters-maroon-dark) !important;
}

.kuarters-corporate .btn-warning {
    border-color: #e8c96c !important;
    background: #fff5d6 !important;
    color: #806116 !important;
}

.kuarters-corporate .btn-warning:hover,
.kuarters-corporate .btn-warning:focus {
    border-color: #d8b24e !important;
    background: #ffedb5 !important;
    color: #6d5010 !important;
}

.kuarters-corporate .btn-info {
    border-color: #2f6f9e !important;
    background: #2f6f9e !important;
    color: #fff !important;
}

.kuarters-corporate .btn-success {
    border-color: #557c6e !important;
    background: #557c6e !important;
    color: #fff !important;
}

.kuarters-corporate .attached-document {
    margin-top: 8px;
    padding: 0;
}

.kuarters-process-panel {
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 420px);
    margin-bottom: 16px;
}

.kuarters-process-grid {
    min-height: calc(100vh - 550px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.kuarters-process-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--kuarters-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(37, 42, 46, .04);
}

.kuarters-process-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.kuarters-process-card a:hover,
.kuarters-process-card a:focus {
    color: inherit;
    text-decoration: none;
}

.kuarters-process-card__image {
    height: 245px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7f9;
}

.kuarters-process-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kuarters-process-card__caption {
    min-height: 56px;
    padding: 9px 10px;
    border-top: 1px solid var(--kuarters-border);
    color: var(--kuarters-charcoal);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.kuarters-guide-preview-trigger {
    cursor: zoom-in;
}

.kuarters-guide-preview-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.kuarters-guide-preview-modal.is-open {
    display: flex;
}

.kuarters-guide-preview-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(37, 42, 46, .72);
}

.kuarters-guide-preview-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 96vw);
    height: min(820px, 94vh);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe3e7;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .3);
}

.kuarters-guide-preview-modal__header,
.kuarters-guide-preview-modal__controls {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafb;
}

.kuarters-guide-preview-modal__header {
    justify-content: space-between;
    border-bottom: 1px solid #e2e6e9;
}

.kuarters-guide-preview-modal__title {
    margin: 0;
    color: #252a2e;
    font-size: 13px;
    font-weight: 700;
}

.kuarters-guide-preview-modal__close,
.kuarters-guide-preview-modal__controls button,
.kuarters-guide-preview-modal__controls a {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfd5da;
    border-radius: 6px;
    background: #fff;
    color: #4f5660;
    cursor: pointer;
    text-decoration: none;
}

.kuarters-guide-preview-modal__close:hover,
.kuarters-guide-preview-modal__controls button:hover,
.kuarters-guide-preview-modal__controls a:hover {
    border-color: #a6192e;
    color: #a6192e;
}

.kuarters-guide-preview-modal__viewport {
    min-height: 0;
    flex: 1 1 auto;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #eef1f4;
}

.kuarters-guide-preview-modal__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(1);
    transform-origin: center center;
    transition: transform .15s ease;
}

.kuarters-guide-preview-modal__controls {
    justify-content: center;
    border-top: 1px solid #e2e6e9;
}

.kuarters-guide-preview-modal__zoom-label {
    min-width: 52px;
    color: #6c737a;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.kuarters-corporate #fade_loading {
    border-radius: 8px;
}

@media (max-width: 767px) {
    .kuarters-corporate {
        min-height: 0;
        padding: 0 8px 12px;
    }

    .kuarters-heading {
        align-items: flex-start;
        padding: 9px 10px;
    }

    .kuarters-heading__title {
        font-size: 16px;
    }

    .kuarters-heading__subtitle,
    .kuarters-header-link .hidden-xs {
        display: none;
    }

    .kuarters-heading__actions {
        gap: 4px;
    }

    .kuarters-header-link {
        width: 32px;
        padding: 5px !important;
        justify-content: center;
    }

    .kuarters-header-link .caret {
        display: none;
    }

    .kuarters-home-grid {
        width: 100%;
        grid-template-columns: 1fr;
        margin-right: 0;
        margin-left: 0;
    }

    .kuarters-home-grid > [class*="col-"] {
        padding: 0;
    }

    .kuarters-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kuarters-process-card__image {
        height: 180px;
    }

    .kuarters-corporate .panel > .panel-body {
        padding: 12px;
    }

    .kuarters-corporate .panel-heading-btn .btn:nth-child(1) {
        display: none;
    }
}

@media (max-width: 480px) {
    .kuarters-process-grid {
        grid-template-columns: 1fr;
    }

    .kuarters-corporate .kuarters-application-panel {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .kuarters-process-card__image {
        height: 170px;
    }
}

/* Maklumat Diri Kuarters */
.kuarters-corporate .kuarters-panel-home {
    width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #ed91a8 0%, #d85c7a 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(216, 92, 122, .3);
}

.kuarters-corporate .kuarters-panel-home:hover,
.kuarters-corporate .kuarters-panel-home:focus {
    background: linear-gradient(135deg, #d85c7a 0%, #b83d5d 100%);
    color: #fff;
}

.kuarters-corporate .kuarters-panel-home i {
    margin: 0;
}

.kuarters-corporate > .kuarters-diri-panel-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.kuarters-corporate .kuarters-save-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.kuarters-corporate .kuarters-save-action i {
    margin: 0;
    line-height: 1;
}

.kuarters-corporate .kuarters-alert-soft-warning {
    border: 1px solid #efd27a !important;
    background: #fff8dc !important;
    color: #806116 !important;
}

.kuarters-corporate .kuarters-alert-soft-warning strong,
.kuarters-corporate .kuarters-alert-soft-warning .close {
    color: #806116 !important;
}
