/* Layout and Positioning */
.centered-padding {
    text-align: center;
    padding-top: 200px;
    padding-bottom: 200px;
}

.login-main-body {
    width: 100%;
    height: 100%;
    padding-top: 5px;
    padding-bottom: 10px;
}

.login-container {
    padding-top: 5px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
}

.login-padding {
    padding-top: 5px;
    padding-bottom: 10px;
}

.login-panel-grid {
    max-width: 600px;
    width: 100%;
    gap: 1rem;
}

.relative-container,
.overlay-content,
.user-agreement-container,
.position-relative,
.header-relative {
    left: 0;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    z-index: 9;
}

.container-zindex,
.z-index-7,
#divContainer {
    z-index: 7;
}

.overlay-fullscreen,
.ui-widget-overlay {
    width: 100%;
    height: 100%;
    z-index: 8;
    top: 0;
    left: 0;
    position: absolute;
}

.overlay-background,
.overlay-opacity,
.user-agreement-background {
    opacity: 0.25;
    background-color: #D0D0D0;
    border: 0 none;
    height: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    display: none;
    z-index: 1000; /* higher than blurOverlay */
    justify-content: center;
    align-items: center;
    background: transparent; /* modal background handled by blurOverlay */
}

.blur-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    display: none;
}

/* Modal and Dialogs */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
}

.custom-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10001;
    display: none;

    width: 80vw;
    max-width: 500px;
    min-width: 300px;
    max-height: 80vh;
    overflow-y: auto;
}

.custom-dialog-titlebar {
    background: #007ad9;
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 1.2rem;
    user-select: none;
    cursor: default;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.custom-dialog-content {
    padding: 20px;
}

.custom-dialog-footer {
    padding: 10px 20px;
    text-align: right;
    border-top: 1px solid #ddd;
}

.custom-dialog-button {
    background: #007ad9;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.custom-dialog-button:hover {
    background: #005fa3;
}

#paymentBeingProcessedDialog {
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    display: none;
}

/* Typography and Text Alignment */
.payment-dialog {
    width: 300px;
    text-align: center;
}

.payment-loading-img,
.loading-img,
.ajax-loading-img {
    margin: auto;
    display: block;
}

.ajax-loading-img {
    width: 40px;
    height: 40px;
}

.bold-label,
.bold-1-2em {
    font-weight: bold;
}

.bold-1-2em {
    font-size: 1.2em;
}

.fieldLabel {
    font-size: medium;
}

.text-red {
    color: red;
}

.text-align-center,
.centered-padding,
.payment-dialog,
.forgot-logon-table-cell,
.forgot-logon-table td,
.forgot-logon-table .centered-cell {
    text-align: center;
}

.text-align-left {
    text-align: left;
}

/* Utility Classes - Padding */
.padding-top-5 { padding-top: 5px; }
.padding-top-10 { padding-top: 10px; }
.padding-top-15 { padding-top: 15px; }
.padding-top-20 { padding-top: 20px; }
.padding-top-25,
.user-profile-padding-top,
.forgot-logon-container,
.padding-top-25 {
    padding-top: 25px;
}
.padding-top-200 { padding-top: 200px; }
.padding-bottom-20 { padding-bottom: 20px; }
.padding-bottom-200 { padding-bottom: 200px; }

.padding-bottom-60 { padding-bottom: 60px; }
.padding-left-9 { padding-left: 9px; }
.padding-left-10 { padding-left: 10px; }
.padding-left-30 { padding-left: 30px; }
.padding-left-40 { padding-left: 40px; }
.padding-left-100 { padding-left: 100px; }
.padding-left-120 { padding-left: 120px; }
.padding-right-5 { padding-right: 5px; }
.padding-right-100 { padding-right: 100px; }
.padding-9 { padding: 9px; }
.padding-30-font-17 {
    padding: 30px;
    font-size: 17px;
}
.padding-5-0-20-0 { padding: 5px 0 20px 0; }

/* Width and Height */
.width-5 { width: 5px; }
.width-10 { width: 10px; }
.width-99 { width: 99%; }
.width-100 { width: 100px; }
.height-100px { height: 100px; }
.height-420 { height: 420px; }

/* Borders and Backgrounds */
.border-gray { border: 1px solid gray; }
.no-border { border: none; }
.background-color-eee { background-color: #eee; }

/* Float and Alignment */
.user-info-bar,
.menu-right,
.rightMenu,
.last-updated {
    float: right;
    font-weight: normal;
    padding: 6px 12px;
    margin: 0;
    list-style: none;
}

.p-float-label {
    float: left;
    margin: 0 7px 0 0;
}

.vertical-aline-top {
    vertical-align: top;
}

.block-margin {
    display: block;
    margin-bottom: 5px;
}

/* Display Helpers */
.hidden,
.displayNonePaddingTop {
    display: none;
}

.visiblePaddingTop {
    display: block;
    padding-top: 10px;
}

/* Tables */
.forgot-logon-table {
    width: 90%;
    border-collapse: collapse;
    margin-left: 50px;
    border-spacing: 10px;
    padding: 5px;
}

/* forgot-logon table cells */
.forgot-logon-table-cell,
.forgot-logon-table td {
    vertical-align: top;
    margin: 0;
    text-align: center;
}

.forgot-logon-table .centered-cell {
    padding-top: 30px;
}

.forgot-logon-footer {
    padding-top: 10px;
}

/* Base Layout */
#divHeader,
.header-relative {
    position: relative;
}

/* Home.css Specific */
#homeRedPopup h2 {
    font-size: 1.18em;
    padding-top: 0;
    padding-bottom: 15px;
}

#homeRedPopup table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
}

#homeRedPopup table td {
    padding: 10px 10px 5px 10px;
}

#homeDivText span {
    color: #ed1c24;
}

#homeDivText p {
    margin-bottom: 1em;
}

#homeDivText a {
    color: #0056b3;
    text-decoration: underline;
    cursor: pointer;
}

#homeDivText a:hover {
    color: #003d7a;
}

/* Fields */
.field {
    border: 0;
}

/* Splitter */
.custom-splitter {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
}

.custom-splitter-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}
.border-top-bottom {
    border-top: 1px solid;
    border-bottom: 1px solid;
    width: 400px;
}

.left-aligned-padding {
    text-align: left;
    padding-top: 10px;
    padding-bottom: 5px;
    padding-left: 150px;
}
.custom-textarea {
    width: 100%;
    height: 200px;
}

.font-2-5em {
    font-size: 2.5em;
}
