html {
    font-size: 14px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.status-active {
    color: limegreen !important;
}

.status-pending {
    color: orange !important;
}

.status-expired {
    color: red !important;
}

.table-primary {
    background-color: #d1ecf1 !important;
}

.table-confirm {
    width: auto;
    margin: auto;
}

.table-confirm th,
.table-confirm td {
    text-align: center;
    vertical-align: middle;
    padding: 8px;
    white-space: nowrap;
}

.table-confirm th:nth-child(1),
.table-confirm td:nth-child(1),
.table-confirm th:nth-child(4),
.table-confirm td:nth-child(4) {
    white-space: normal;
    word-wrap: break-word;
}

.table-confirm th:nth-child(4),
.table-confirm td:nth-child(4) {
    max-width: 300px;
}

.table-responsive {
    max-height: 70vh;
    overflow-y: auto;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    height: 50px;
    line-height: 50px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.tooltip.custom-tooltip .tooltip-inner {
    background-color: white;
    color: black;
    border: 1px solid black;
}

.expiry-date-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Optional: center align text horizontally */
}

.expiry-date-container span {
    display: block;
}

.days-left-text {
    font-size: 12px !important; /* Adjust this value as needed */
}

.version-info {
    position: absolute;
    right: 10px;
    bottom: -15px;
    font-size: 10px;
    color: lightgray;
}

.progress-ring {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
}

/* Generic Modal styles */

.modal-dialog {
    width: auto;
    max-width: 80%;
    min-width: 40%;
    max-height: 90vh;
    display: table;
}

.modal-content {
    display: table;
}

.modal-body {
    flex-grow: 1;
    max-height: 100%;
    overflow-y: auto;
}

.modal-footer {
    padding-right: 0;
    padding-bottom: 0;
}

/*.modal-header .btn-close {
    margin: 0;*/ /* Remove any margin around the button */
    /*padding: 0;*/ /* Remove any internal padding */
    /*width: auto;*/ /* Shrink-to-fit the button's content */
    /*height: auto;*/ /* Shrink-to-fit the button's content */
    /*display: flex;*/ /* Ensure the button's content aligns properly */
    /*align-items: center;*/ /* Vertically center the close icon */
    /*justify-content: center;*/ /* Horizontally center the close icon */
/*}*/

/* View Credits Modal*/
#vc-modal-header {
    border-bottom-color: rgb(222, 226, 230);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    padding: 16px;
    display: flex;
    justify-content: space-between; /* Space between the text and the progress ring/close button */
    align-items: flex-start; /* Vertically align elements */
    height: auto; /* Allow the height to be determined by content */
}

#vc-modal-close-button {
    margin: 0; /* Remove any margin around the button */
    padding: 0; /* Remove any internal padding */
    width: auto; /* Shrink-to-fit the button's content */
    height: auto; /* Shrink-to-fit the button's content */
    display: flex; /* Ensure the button's content aligns properly */
    align-items: center; /* Vertically center the close icon */
    justify-content: center; /* Horizontally center the close icon */
}

#vcProgressRingContainer {
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center;
    margin-left: auto;
    width: auto; /* Shrink-to-fit the content */
    height: 100%; /* Match the height of the header */
}

.vcProgressRing-svg {
    height: 100%;
    width: 171.3125px;
}

#vc-print-certs-footer {
    display: flex;
    justify-content: flex-end; /* Align buttons to the right */
    gap: 10px; /* Add space between the buttons */
    margin-top: 15px; /* Add spacing above the buttons */
}

#vc-modal-body {
    max-height: 65vh;
    overflow-y: auto;
}

#vcPrintConfirmationDialog {
    border: 1px solid rgba(0, 0, 0, 0.2); /* Lighter border */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for a modal look */
    padding: 20px; /* Add some padding inside the dialog */
    width: 400px; /* Set a fixed width */
    max-width: 90%; /* Ensure responsiveness */
    background-color: #fff; /* White background */
    font-family: Arial, sans-serif; /* Match the modal font */
    position: relative; /* Ensure proper positioning */
    text-align: center; /* Center-align content */
}

#vcPrintConfirmationDialog::backdrop {
    background: rgba(0, 0, 0, 0.5); /* Dim the background */
}

#vcPrintConfirmationDialog h4 {
    font-size: 1.5rem; /* Slightly larger font size */
    font-weight: 500;
    margin-bottom: .5rem;
    line-height: 1.2;
    text-align: left; /* Align text to the left */
}

#vcPrintConfirmationDialog p {
    text-align: left; /* Align text to the left */
    margin: 0; /* Remove extra margin */
    font-size: 1rem; /* Adjust font size */
    font-weight: 500;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}