﻿/* =================================================
   Base
   ================================================= */
body {
}

/* =================================================
   Header / Footer Text
   ================================================= */
.HeaderText {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #FFFFFF;
}

.HeaderSubText {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #FF9900;
}

.BottomText {
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
}

/* =================================================
   Messages
   ================================================= */
.ErrorMessage {
    font-family: Arial;
    font-size: 10px;
    color: #FF0000;
}

.PositiveMessage {
    font-family: Arial;
    font-size: 10px;
    color: #0000FF;
}

/* =================================================
   Navigation / Panels
   ================================================= */
.NavigationPanel {
    border: thin solid white;
    background-color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
}

/* =================================================
   Login
   ================================================= */
.LoginText {
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    color: black;
    font-weight: bold;
}

/* =================================================
   Inputs
   ================================================= */
.TextBox {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #808080;
}

.GeneralTextBox {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #808080
}

/* =================================================
   AJAX / Modal
   ================================================= */
.popupControl {
    background-color: #AAD4FF;
    position: absolute;
    visibility: hidden;
    border-style: solid;
    border-color: Black;
    border-width: 2px;
}

.modalBackground {
    background-color: Gray;
    filter: alpha(opacity=30);
    opacity: 0.3;
}

.modalPopup {
    background-color: white;
    border-width: 3px;
    border-style: solid;
    border-color: Gray;
    padding: 3px;
}

/* =================================================
   Absolute‑Positioned Page Layout (Legacy – In Use)
   ================================================= */
/* (All postlbl*, posttxt*, postbtn*, postchk*, etc. remain unchanged)
   NOTE: These classes ARE referenced in the markup and were not removed.
*/

/* =================================================
   Validation
   ================================================= */
.field-validation-error {
    display: block;
    margin-top: 0px;
    line-height: 1;
    font-size: 11px;
    color: #CC3300;
    font-family: Arial, Helvetica, sans-serif;
}

/* =================================================
   AutoComplete / Extenders
   ================================================= */
.CompletionListCssClass {
    color: #808080;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    padding: 3px 5px;
    border: 1px solid #999;
    background: white;
    width: 300px;
    float: left;
    z-index: 1;
    position: absolute;
    margin-left: 0px;
}

.ListSearchExtenderPrompt {
    font-size: 12px;
    color: White;
    font-family: Arial, Helvetica, sans-serif;
}

/* =================================================
   Help / Links
   ================================================= */
.GetHelp {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

.postLnkSize {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

/* =================================================
   Syncfusion CAPTCHA
   ================================================= */
.e-captcha-refresh,
.e-captcha-audio {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
}

    .e-captcha-refresh .e-icon,
    .e-captcha-audio .e-icon {
        font-size: 20px !important;
    }

.spanText {
    color: #FF9900 !important;
    font-family: 'Segoe UI', Arial;
    font-size: 10px;
    font-weight: bold;
    margin-top: 5px;
}

/* =================================================
   UpdateProgress (Modernized – Active)
   ================================================= */
.update-progress-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

.update-progress-box {
    background-color: #8C8CB0;
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.reset-note {
    font-size: 12px;
    color: #fff;
    opacity: 0.9;
}

/* =================================================
   Shared Navigation / Panels
   ================================================= */
.navigation-panel {
    padding: 5px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 16px;
    color: #666;
}

/* =================================================
   Shared Form Styling
   ================================================= */

.search-form-header.compact h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #444;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
        font-weight: 500;
        color: #333;
        font-size: 13px;
}

    .form-group textarea,
    .form-group input[type="text"],
    .form-group input[type="date"],
    .form-group select {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        transition: border-color 0.3s ease;
    }

        .form-group textarea:focus,
        .form-group input[type="text"]:focus,
        .form-group input[type="date"]:focus,
        .form-group select:focus {
            outline: none;
            border-color: #8C8CB0;
            box-shadow: 0 0 4px rgba(140, 140, 176, 0.2);
        }

/* =================================================
   Shared Checkbox Groups
   ================================================= */
.form-group-checkbox,
.checkbox-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .checkbox-item input[type="checkbox"] {
        cursor: pointer;
    }

/* =================================================
   Shared Button Styling
   ================================================= */
.btn-primary,
.btn-secondary,
.btn-success {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #8C8CB0;
    color: white;
}

    .btn-primary:hover {
        background-color: #7A7A9C;
    }

.btn-secondary {
    background-color: #e0e0e0;
    color: #333;
}

    .btn-secondary:hover {
        background-color: #d0d0d0;
    }

.btn-success {
    background-color: #4CAF50;
    color: white;
}

    .btn-success:hover {
        background-color: #45a049;
    }

/* =================================================
   Shared GridView Styling
   ================================================= */
.gridview-container {
    margin-top: 20px;
    border-radius: 6px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .gridview-container table {
        width: 100%;
        border-collapse: collapse;
    }

    .gridview-container th {
        background-color: #8C8CB0;
        color: white;
        padding: 14px 12px;
        font-size: 14px;
        font-weight: 600;
        text-align: left;
    }

    .gridview-container td {
        padding: 12px;
        font-size: 14px;
        color: #333;
        border-bottom: 1px solid #e8e8e8;
    }

    .gridview-container tbody tr:hover {
        background-color: #f0f0f0;
    }

    .gridview-container tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .gridview-container tbody tr.selected {
        background-color: #8C8CB0 !important;
        color: white;
    }

    .gridview-container th a {
        color: white;
        text-decoration: none;
    }

        .gridview-container th a:hover {
            text-decoration: underline;
        }


/*grid-pager {
    text-align: left;
    padding: 14px 0;
    background-color: #fff;
    color: #333;
}*/

.grid-pager td {
    text-align: center;
    padding: 12px 0;
}

.grid-pager table {
    width: auto !important;
    margin: 0 auto;
    border-collapse: separate;
}

.grid-pager a,
.grid-pager span {
    display: inline-block;
    min-width: 32px;
    padding: 6px 10px;
    margin: 0 4px;
    text-align: center;
    border-radius: 4px;
}

/* Active page */
.grid-pager span {
    background-color: #8C8CB0;
    color: white;
    font-weight: 600;
}

/* Links */
.grid-pager a {
    color: #8C8CB0;
    text-decoration: none;
}

    .grid-pager a:hover {
        background-color: #f0f0f0;
    }


/* =================================================
   Shared Info Links
   ================================================= */
.info-link {
    font-size: 13px;
    color: #8C8CB0;
    text-decoration: underline;
    cursor: pointer;
}

    .info-link:hover {
        color: #6f6fa0;
    }