.right_align .card-content{
    display: flex;
    justify-content: space-between;
}
/* Dropdown */
.select-end .form-fieldset .row{
    justify-content: end !important;
}

.select-end .form-fieldset {
    border: none !important;
}
.select-end {
   margin: -6px -17px -10px 0px !important;
}
.btn-custom .btn-primary{
    float: right !important;
}
.card-custom .card-content p{
    font-size: 25px !important;
    font-weight: 600 !important;
}
.card-custom .card-title{
    font-weight: bold !important;
}
.modal-custom .modal-dialog{
    max-width: 65% !important;
}

/* Modal container */
.penetration_modal_custom {
    padding: 0 !important;
}

/* Dialog wrapper */
.penetration_modal_custom .modal-dialog {
    max-width: 100vw !important;
    width: 100vw;
    height: 100vh;
    margin: 0;
}

/* Modal content */
.penetration_modal_custom .modal-content {
    height: 100vh;
    border-radius: 0;
}

/* Scroll only inside body */
.penetration_modal_custom .modal-body {
    overflow-y: auto;
    height: calc(100vh - 56px); /* adjust if you have header/footer */
}

.chart-custom .card{
    border: none !important;
}
.chart-custom .card-title{
    font-weight: bold !important;
}
/* Make h3 look like h2 inside foldable-custom */
.foldable-custom .accordion-body h3 {
    font-size: 1.5rem !important;    
    font-weight: 600 !important;
    margin-top: 1rem !important;
    margin-bottom: 0.75rem !important;
}
.foldable-custom .accordion-body p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
}
.foldable-custom .accordion-body p img{
    height: 250px !important;
    width: 500px !important;
}
#penetration_modal .remove-bottom-margin p img{
    height: 250px !important;
    width: 500px !important;  
}
.foldable-custom .accordion-body p:first-of-type > a {
    float: right;
  }

.btn-attachment-custom img {
    width: 150px;     
    height: 100px;
    object-fit: cover;
  }
/* Hide pagination when findings table shows "No data" */
body:has(.findings_table_class td.text-center) .remove-bottom-margin  {
    display: none !important;
}
/* Loader Overlay */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.spinner-border-custom {
    width: 3rem;
    height: 3rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
    color: #007bff;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

#loader-text {
    margin-top: 15px;
    font-weight: 600;
    color: #333;
}