.table-min-default {
  min-height: 850px;   /* DEFAULT minimum height */
}
.dropdown-menu.active {
    display: block;
}
.page-loader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999 !important;
    display: none; /* JS will switch to flex */
}
.no-scroll {
    overflow: hidden !important;
}
.card {
    border-radius: 8px;
}

.nav-tabs .nav-link.active {
    border-bottom: 2px solid #007bff;
    font-weight: 600;
}

.accordion .card-header a {
    color: #333;
    font-weight: 500;
}

/* Right Slide Drawer */
.modal.right .modal-dialog-slideout {
    position: fixed;
    margin: 0;
    width: 600px; /* adjust width */
    max-width: 100%;
    height: 100%;
    right: 0;
}

.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
    border-radius: 0;
}

.modal.right.fade .modal-dialog-slideout {
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.modal.right.show .modal-dialog-slideout {
    transform: translateX(0);
}
.modal.right .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.modal.right .modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.avatar-circle {
    width: 40px;
    height: 40px;
    background-color: #6c757d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.comment-item {
    background: #ffffff;
}
.form-group.show-custom-error span.custom-error span {
    color: red;
}
.popover {
    max-width: 300px;
    font-size: 14px;
}

.popover ul {
    margin: 0;
    padding-left: 18px;
}

.popover li {
    margin-bottom: 4px;
}

.error-box {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 420px;
}

    .error-box h1 {
        color: #ff4d4f;
        margin-bottom: 15px;
    }

    .error-box p {
        color: #555;
        font-size: 16px;
    }

.page-loader .text-primary {
    color: #1b4032 !important;
}
body.in-progress {
    background: white;
    display: none;
}
span.error span {
    display: none;
}
.show-custom-error span.error span {
    color: red;
    display: block;
}