﻿/*.gridPageGridHeader {
    background-color: #3F3F3F;
    border-color: #CCCCCC;
    font-weight: bold;
    color: white;
}

.roundcorner {
    border: 2px solid #a1a1a1;
    padding: 3px 10px;
    background: #dddddd;*/
    /*width:70px;*/
    /*border-radius: 5px;
    -moz-border-radius: 5px;*/ /* Firefox 3.6 and earlier */
/*}*/
.myTextBox {
    border: 1px solid #808080;
    padding: 3px 10px;
    border-radius: 5px;
    -moz-border-radius: 5px; /* Firefox 3.6 and earlier */
    vertical-align: middle;
    box-sizing: border-box;
    display: block;
    max-width: 100%;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 45px;
    margin-top: 15px;
}

.gridfilter-buttons-div {
    display: flex;
    gap: 4px;
    vertical-align: middle;
    /*    justify-content: center;
    margin-top: 15px;
*/
}

.gridPageGridHeader {
    background-color: #3F3F3F;
    color: white;
    font-weight: bold;
    font-size: 15px;
    padding: 10px;
    text-align: left;
}

.cellOneCellPadding {
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.roundcorner {
    background-color: #840017;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .roundcorner:hover:not(:disabled) {
        background-color: #b30024;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        transform: translateY(-1px);
    }

    .roundcorner:disabled {
        background-color: #e0e0e0;
        color: #222222;
        border: 1px solid #999999;
        cursor: not-allowed;
        opacity: 1;
    }

.roundcornerCenter {
    background-color: #840017;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    margin: 0 auto;
    width: 100%;
}
    .roundcornerCenter:disabled {
        background-color: #e0e0e0;
        color: #222222;
        border: 1px solid #999999;
        cursor: not-allowed;
        opacity: 1;
    }




.gridActionButtons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    height: 100%;
}

    .gridActionButtons .roundcorner {
        width: 130px;
    }

.GridView tr:hover td {
    background-color: #f1f7ff;
}


.GridView td {
    vertical-align: middle;
}

.GridView th.gridHeaderCenter {
    text-align: center !important;
    font-size: 14px;
}
.GridView th.gridHeaderLeft,
.GridView td.gridHeaderLeft {
    text-align: left;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 14px;
}

.GridView th.gridHeaderRight {
    text-align: right !important;
}














.main-menu-bar {
    margin: 0 !important;
    background-color: #840017; /* wine red */
    padding: 0;
    width: 100%;
    margin-bottom: 0 !important;
    padding-bottom: 0;
    border-bottom: none; /*1px solid #660014;  subtle divider under red bar */
}

.menu-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 12px 20px;
}

.menu-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.2s ease;
}

    .menu-link:hover {
        color: #ffd7d7;
    }

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    margin-top: 0;
    overflow: hidden; /* or use display: flow-root; in modern CSS */
}

body, html {
    margin: 0;
    padding: 0;
}

.myTextBoxTopBar {
    border: none; /*1px solid #808080;*/
    border-bottom: 2px solid #808080;
    padding: 3px 10px;
    border-radius: 5px;
    -moz-border-radius: 5px; /* Firefox 3.6 and earlier */
    margin-top: 0 !important;
    padding-top: 0;
    background-color: #3F3F3F;
    color: white;
    margin: 0;
}

    .myTextBoxTopBar table {
        border-collapse: collapse;
        margin: 0;
        padding: 0;
    }

    .myTextBoxTopBar td {
        vertical-align: middle;
/*        padding: 0 10px;*/
    }

.logoInHeader {
    padding: 10px;
}







.myTextBoxDropdown {
    height: 24px !important; /* force uniform height */
    line-height: 24px; /* centers text vertically */
    font-size: 13px;
    border: 1px solid #ccc;
/*    box-sizing: border-box;
*/    vertical-align: middle;
    padding: 3px 10px;
    border-radius: 5px;
}










.navbar-inverse {
    background-color: #840017;
    border-color: #080808;
}


 




.gridPageGridAltRowAsc {
    background-color: #A11720;
    padding-left: 4pt !important;
    padding-right: 4pt !important;
}

.gridPageGridAltRowDesc {
    background-color: #D71B24;
    padding-left: 4pt !important;
    padding-right: 4pt !important;
}

.myTextBox2 {
    border: 1px solid #808080;
    padding: 3px 10px;
    border-radius: 5px;
    -moz-border-radius: 5px; /* Firefox 3.6 and earlier */
}



 
.votingQuestionHeaderBar {
    color: white;
    padding: 3px 10px;
    font-weight: bold;
    font-size: large;
    border: 15px solid #840017;
    border-radius: 5px;
    -moz-border-radius: 5px; /* Firefox 3.6 and earlier */
    background-color: #840017;
}

.pageTopBarBallotName {
    font-weight: bold;
    font-size: x-large;
    font-family:'Bookman Old Style';
}


.radio-spaced input {
    margin-right: 20px; /* adjust as needed */
    margin-left: 20px; /* adjust as needed */
}













/*.confirmation-card {
    border: 2px solid #ccc;
    background-color: #fdfdfd;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}*/

    .confirmation-card h4 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #333;
    }

.checkbox-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center; /* ✅ centers items horizontally */
}

.confirmationCheckbox {
    font-size: 16px;
    padding: 10px;
    line-height: 2em;
}

input[type="checkbox"] {
    transform: scale(1.5);
    margin-right: 10px;
    cursor: pointer;
}

.confirmation-card {
    border: 3px solid #ccc;
    background-color: #fdfdfd;
    padding: 10px;
    border-radius: 12px;
    margin-top: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: border 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    justify-content: center; /* ✅ centers items horizontally */
}

    .confirmation-card h5 {
        text-align: center;
    }

    .confirmation-card.valid {
        border-color: #28a745; /* green */
    }

    .confirmation-card.invalid {
        border-color: #dc3545; /* red */
    }


.checkbox-wrapper {
    display: inline-block;
    border: 3px solid #dc3545; /* red by default */
    padding: 10px 10px;
    border-radius: 10px;
    margin: 10px;
    font-size: 16px;
    transition: border 0.3s ease;
}

    .checkbox-wrapper.checked {
        border-color: #28a745; /* green if checked */
    }







.radio-spaced input[type="radio"] {
    margin-right: 6px;
    transform: scale(1.5); /* Slightly larger radio button */
    accent-color: #007bff; /* Optional: set a primary color */
}

.radio-spaced label {
    margin-right: 20px; /* Space between options */
    font-size: 16px; /* Slightly bigger text */
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.radio-spaced {
    padding: 5px 0;
}






.section-heading {
    font-size: 2rem;
    color: #840017;
    margin-top: 0px; /* 🔽 space above the whole section */
    font-weight: 600;
}


.confirm-section {
    border: 1px solid #840017;
    background-color: #f3f0ef; /*e9f5e9;*/
    border-radius: 8px;
    padding: 20px;
    margin-top: 0px; /* 🔽 space above the whole section */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 600px;
}

    .confirm-section h2 {
        color: #840017;
        margin-top: 0px; /* 🔽 reduce space above heading */
        margin-bottom: 15px; /* 🔽 reduce space below heading */
        font-size: 2rem;
        font-weight: 600;
    }

.confirm-inner {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 4px; /* 🔽 space above label + button block */
    text-align: center;
    justify-content: center; /* ✅ horizontally center */
    width: 100%;
}

.confirm-button {
    background-color: #840017; /*#28a745;*/
    border: none;
    color: white;
 /*   font-weight: bold;*/
    margin-top: 10px; /* 🔽 reduce spacing above button */
    padding: 10px 10px;
    font-size: 13px;
    border-radius: 5px;
    cursor: pointer;
    /*background-color: #840017;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;*/
    transition: all 0.2s ease;
}

    .confirm-button:hover {
        background-color: #218838;
    }

tr.confirm-heading-row h3 {
    margin-top: 4px !important; /* 🔽 force smaller top space */
    margin-bottom: 10px;
    font-size: 1.5rem;
}










.deal-details-section {
    background-color: #f9f9f9;
    border: 1px solid #cccccc;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    width: 600px;
}

    .deal-details-section h3 {
        margin-top: 0;
        font-size: 1.5em; /* or match your other h3 headings */
        font-weight: bold;
        margin-bottom: 10px;
        color: #333;
        font-family:'Courier New';
    }





.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    max-width: 500px;
    line-height: 1.4;
    border: solid 1px red;
}

    .checkbox-wrapper label {
        word-wrap: break-word;
    }



.deal-confirm-section {
    background-color: #f9f9f9;
    border: 1px solid #cccccc;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    width: 700px;
}

    .deal-confirm-section h3 {
        margin-top: 0;
        font-size: 1.5em; /* or match your other h3 headings */
        font-weight: bold;
        margin-bottom: 10px;
        color: #333;
        font-family: 'Courier New';
    }





.datepicker-icon {
    background: url('/Images/calendar_icon.png') no-repeat right center;
    background-size: 18px 18px;
    padding-right: 30px !important;
    cursor: pointer;
}





.result-block {
    padding: 15px;
    margin-top: 20px;
    border-radius: 10px;
    font-size: 16px;
    display: inline-block;
    max-width: 100%;
}

.result-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}




.label-like-box {
    background-color: transparent;
    color: #333;
    resize: none;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: 1.4;
    overflow: hidden;
}








.STL_ValueLabel {
    border: none;
    outline: none;
    background-color: #f9f9f9;
    width: 300px;
    padding: 3px 10px;
    border-radius: 5px;
    -moz-border-radius: 5px; /* Firefox 3.6 and earlier */
    vertical-align: middle;
}











.payment-table {
    width: 70%;
    border-collapse: collapse;
    margin: 30px auto;
    max-width: 800px;
}

    .payment-table th, .payment-table td {
        padding: 12px;
        text-align: center;
        vertical-align: middle;
        border-bottom: 1px solid #ddd;
    }

.payment-logo {
    max-width: 100%;
    height: 30px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}














.credibility-box {
    background-color: #fff;
    padding: 10px 30px;
    border-radius: 12px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

    .credibility-box h1 {
        color: #840017;
        margin-bottom: 20px;
    }

    .credibility-box p {
        font-size: 1.1em;
        line-height: 1.6;
        color: #333;
    }


    .credibility-box .legal-page,
    .credibility-box .legal-page h1,
    .credibility-box .legal-page h2,
    .credibility-box .legal-page h3,
    .credibility-box .legal-page p,
    .credibility-box .legal-page ul,
    .credibility-box .legal-page ol,
    .credibility-box .legal-page li {
        text-align: left !important;
    }

        .credibility-box .legal-page p,
        .credibility-box .legal-page li {
            font-size: 1.05em;
            line-height: 1.7;
            color: #333;
        }

        .credibility-box .legal-page h2 {
            margin-top: 30px;
            color: #840017;
        }

        /* Align bullets with paragraph text */
        .credibility-box .legal-page ul,
        .credibility-box .legal-page ol {
            padding-left: 0px; /* same as .credibility-box horizontal padding */
            margin-left: 70px;
        }

        .credibility-box .legal-page li {
            padding-left: 0;
        }





.testimonial-strip {
    background-color: #f9f9f9;
    padding: 20px 20px;
    margin: 20px auto 20px;
    border-radius: 12px;
    text-align: center;
    max-width: 900px;
}

    .testimonial-strip h2 {
        margin-bottom: 30px;
        color: #840017;
    }

.testimonial {
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
}

    .testimonial .author {
        display: block;
        margin-top: 15px;
        font-weight: bold;
        color: #333;
    }

    .testimonial.with-image {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        max-width: 750px;
        margin: 0 auto 20px;
        text-align: left;
    }

        .testimonial.with-image img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        }

        .testimonial.with-image .text {
            max-width: 600px;
        }

.partner-logos {
    text-align: center;
    padding: 10px 10px;
}

    .partner-logos h2 {
        color: #840017;
        margin-bottom: 20px;
    }

    .partner-logos .logos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .partner-logos img {
        max-height: 60px;
        width: auto;
        object-fit: contain;
        filter: grayscale(100%);
        transition: filter 0.3s ease;
    }

        .partner-logos img:hover {
            filter: none;
        }

@media screen and (max-width: 768px) {
    .testimonial.with-image {
        flex-direction: column;
        text-align: center;
    }

        .testimonial.with-image img {
            margin-bottom: 10px;
        }
}


.credibility-section {
    text-align: center;
    margin: 10px auto;
    padding: 20px;
}

.credibility-heading {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.bank-logo {
    height: 50px;
    margin-bottom: 5px;
}

.payment-gateways {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

    .payment-gateways img {
        height: 20px;
        object-fit: contain;
        max-width: 100px;
    }


















.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 20px;
    width: auto;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    max-width: 400px;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

#modalMessage {
    margin-top: 10px;
}

.modal-buttons {
    margin-top: 20px;
    width: auto;
    text-align: center;
}

#confirmButtons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 8px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: auto;
    max-width: 200px;
    min-width: 80px;
}

    .modal-btn.confirm {
        background-color: #007bff;
        color: #fff;
    }

    .modal-btn.cancel {
        background-color: #ccc;
        color: #000;
    }


#okButton {
    display: flex;
    justify-content: center;
    width: auto; /* centers OK button */
}

#confirmButtons > * {
    margin: 0 5px;
}

















.success-box {
    max-width: 600px;
    margin: 60px auto;
    padding: 30px;
    border: 1px solid #c3e6cb;
    background-color: #d4edda;
    color: #155724;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
}


.failure-box {
    max-width: 600px;
    margin: 60px auto;
    padding: 30px;
    border: 1px solid #f5c6cb;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
}

.reason-label {
    margin-top: 10px;
    display: block;
    color: #a94442;
    font-weight: bold;
}


.summary-text {
    display: block;
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.5;
    border-radius: 6px;
    background-color: #f0f5ff;
    color: #003a8c;
    border-left: 5px solid #2f54eb;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


















#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #007bff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*.result-block {
    padding: 15px;
    margin-top: 20px;
    border-radius: 10px;
    font-size: 16px;
    display: inline-block;
    max-width: 100%;
}

.result-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}*/

#toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 16px 24px;
    font-size: 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 2000;
    max-width: 400px;
    display: none;
}


.muted {
    color: #666;
}

.otp-box {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: .2rem;
    background: #f5f8ff;
    padding: 10px 14px;
    border-radius: 10px;
    text-align: center;
}

.val-msg {
    color: #b02a37;
    margin-top: 6px;
}


.pin-chip {
    display: inline-block;
    padding: 2px 6px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: .85rem;
    text-decoration: none;
}

.pin-tries {
    margin-left: 6px;
    font-size: .75rem;
    color: #666;
}

.btn-xs {
    padding: 2px 8px;
    font-size: .8rem;
    border-radius: 6px;
}

















/* PINs Simple modal styling (no external libs) */
/*.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: none;
    z-index: 9998;
}

.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .modal.show, .modal-backdrop.show {
        display: flex;
    }

.modal-card {
    width: min(520px, 92vw);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

    .modal-card header {
        padding: 14px 16px;
        border-bottom: 1px solid #eee;
        font-weight: 700;
    }

    .modal-card .body {
        padding: 16px;
    }

    .modal-card footer {
        padding: 12px 16px;
        display: flex;
        gap: 8px;
        justify-content: flex-end;
        border-top: 1px solid #eee;
    }

.btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    cursor: pointer;
}*/

/*.btn-primary {
    background: #0b5ed7;
    color: #fff;
    border-color: #0b5ed7;
}*/

/*.btn-danger {
    background: #b02a37;
    color: #fff;
    border-color: #b02a37;
}

.btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}



.input {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 180px;
    text-align: center;
    font-size: 1.2rem;
}

.grid-btn {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
}*/

