/* Overlay covers the whole screen */
    .overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1000;
    }

    /*Authorization Card*/

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Popup box centered */
.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 1rem;
    border-radius: 4px;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.popup-header {
    display: flex;
    align-items: center;
    /* background: #f7f7f7; */
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}

.popup .popup-header img {
    height: 32px;
    margin-right: 8px;
}

.popup .popup-header h3 {
    flex: 1;
    margin: 0;
    /* font-size: 1.1rem; */
    line-height: 1;
}

.popup .popup-header .closeBtn {
    font-size: 1.2rem;
    cursor: pointer;
    padding: 2px 6px;
}

#authorizationHeader h3,
#authorizationHeader h4,
#authorizationHeader h5 {
    color: #168db8;
    margin-block-start: 4px;
    margin-block-end: 4px;
    padding-top: 2px;
}

.popup .popup-header img {
    height: 35px;
    margin-right: 8px;
}

.popup .popup-header h3 {
    flex: 1;
    margin: 0;
    line-height: 1;
}

.popup .popup-header .closeBtn {
    font-size: 1.2rem;
    cursor: pointer;
    padding: 2px 6px;
}

.popup .popup-footer {
    background: #f7f7f7;
    padding: 8px 12px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    text-align: left;
    flex: 1;
}

.footer-right {
    text-align: right;
    flex: 1;
}

#popupDiv .popup-footer:empty {
    border-top: none;
    background: none;
    padding: 0;
}

/* Table styling */
.popup table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.popup th,
.popup td {
    border: 1px solid #ccc;
    padding: 0.5rem;
    text-align: left;
}

.popup th {
    background: #f0f0f0;
}

/*------------------------------------------------------------------------------------*/
/*Authorization Cards end*/