/* /Pages/Profile/ChangePassword.cshtml.rz.scp.css */
/* =======================[ Input Group ]======================= */
.input-group[b-s3fc44lov7] {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
}
.input-group label[b-s3fc44lov7] {
    margin-bottom: 5px;
    font-weight: bold;
}
.input-group input[b-s3fc44lov7] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    width: 100%;
}
.input-group button[b-s3fc44lov7] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
}

/* =======================[ Save Button ]======================= */
#saveButton[b-s3fc44lov7] {
    display: block;
    width: 200px;
    margin: 10px auto;
    padding: 5px;
    border: none;
    
    font-weight: bold;
    transition: background 0.3s ease;
}

/* =======================[ Disabled Button State ]======================= */
.disabled-button[b-s3fc44lov7] {
    background-color: lightblue;
    cursor: not-allowed;
}

/* =======================[ Message Styles ]======================= */
.message[b-s3fc44lov7] {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
    height: min-content;
    width: 90%;
    text-align: center;
}
.message.error[b-s3fc44lov7] {
    background-color: #ff7474;
    outline: 1px solid #e50000;
    max-width: 400px;
    width: 100%;
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 10px;
    animation: fadeOut-b-s3fc44lov7 1s ease-out 3s forwards;
    overflow: hidden;
}
.message.succeed[b-s3fc44lov7] {
    background-color: #77ed8b;
    outline: 1px solid #3ccb3b;
    max-width: 400px;
    width: 100%;
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 10px;
    animation: fadeOut-b-s3fc44lov7 1s ease-out 3s forwards;
    overflow: hidden;
}
.message.no-fill[b-s3fc44lov7] {
    background-color: #faff8f;
    outline: 1px solid #b2be07;
    max-width: 400px;
    width: 100%;
    padding: 4px 8px;
    border-radius: 6px;
    margin-top: 10px;
    animation: fadeOut-b-s3fc44lov7 1s ease-out 3s forwards;
    overflow: hidden;
}
@keyframes fadeOut-b-s3fc44lov7 {
    to {
        opacity: 0;
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
        visibility: hidden;
    }
}

.modal-overlay[b-s3fc44lov7] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.success-modal[b-s3fc44lov7] {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
/* =======================[ Responsive Fixes ]======================= */
@media (max-width: 768px) {
    .input-group[b-s3fc44lov7] {
        max-width: 100%;
    }
    #saveButton[b-s3fc44lov7] {
        width: 100%;
    }
}
/* /Pages/Profile/Login.cshtml.rz.scp.css */
/* =======================[ Reset & Base Styles ]======================= */
*[b-v2rvqdtfy2] {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body[b-v2rvqdtfy2] {
    background-color: #f0f0f0;
    height: 100vh;
}

/* =======================[ Layout Containers ]======================= */
.outer-container[b-v2rvqdtfy2] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: white;
    overflow: hidden;
    padding: 1rem;
}
.card-wrapper[b-v2rvqdtfy2] {
    display: flex;
    justify-content: center;
    align-items: center;
}
.card[b-v2rvqdtfy2] {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 350px;
    min-width: 305px;
    max-width: 380px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* =======================[ Logo & Images ]======================= */
.profile-image[b-v2rvqdtfy2] {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* =======================[ Form Groups ]======================= */
.form-group[b-v2rvqdtfy2] {
    position: relative;
    margin-bottom: 20px;
}
.form-group i[b-v2rvqdtfy2] {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    
}

/* =======================[ Login Button ]======================= */
.btn-login[b-v2rvqdtfy2] {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 10px 24px;
    
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
}
.btn-login:hover[b-v2rvqdtfy2] { background-color: #0056b3; }

/* =======================[ Floating Message ]======================= */
.floating-message[b-v2rvqdtfy2] {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.floating-message.show[b-v2rvqdtfy2] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: fadeInOut-b-v2rvqdtfy2 1.3s ease-in-out forwards;
}
.floating-message.error[b-v2rvqdtfy2] {
    position: absolute;
    bottom: -55px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: #f8d7da;
    color: #842029;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    
    text-align: center;
    width: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.floating-message.success[b-v2rvqdtfy2] {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

@keyframes fadeInOut-b-v2rvqdtfy2 {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
/* /Pages/Profile/Logout.cshtml.rz.scp.css */
body[b-zljgybrm8y] {
}
/* /Pages/Shared/_Layout.cshtml.rz.scp.css */
:root[b-8fw7hksy1s] {
    --app-desktop-width: 1200;
    --app-scale: 1;
}

/* =======================[ Page Layout ]======================= */
.page-scalable[b-8fw7hksy1s] {
    width: 100%;
}

.page[b-8fw7hksy1s] {
    display: flex;
    width: 100%;
    min-width: 900px;
    height: 100dvh;
    flex-direction: column;
}

html.mobile-shrink .page-scalable[b-8fw7hksy1s] {
    overflow: hidden;
    margin: 0 auto;
}

html.mobile-shrink .page[b-8fw7hksy1s] {
    width: max(100%, calc(var(--app-desktop-width) * 1px));
    min-width: calc(var(--app-desktop-width) * 1px);
    transform-origin: top left;
    transform: scale(var(--app-scale));
}

.page > .content[b-8fw7hksy1s] {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

/* =======================[ Header ]======================= */
.header[b-8fw7hksy1s] {
    display: grid;
    grid-template-columns: 160px max-content auto max-content max-content;
    border-bottom: solid #bbb8b8 1px;
    padding: 6px 10px 6px 10px;
}

.header > div[b-8fw7hksy1s] {
    margin: auto;
}

/* =======================[ App Content With Inline Ticket ]======================= */
.content-with-ticket[b-8fw7hksy1s] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 0;
    align-items: stretch;
}

.content-main[b-8fw7hksy1s] {
    min-width: 0;
    min-height: 0;
    height: 100%;
}

.order-ticket-sidebar[b-8fw7hksy1s] {
    border-left: 1px solid #e6e6e6;
    padding-left: 10px;
}

.order-ticket-frame[b-8fw7hksy1s] {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: #fff;
}

/* =======================[ Navigation Links ]======================= */
.custom-link[b-8fw7hksy1s] {
    color: #0d6efd;
    text-decoration: underline;
    margin: 0 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.custom-link:hover[b-8fw7hksy1s] {
    text-decoration: none;
    cursor: pointer;
    background-color: rgba(13, 110, 253, 0.12);
}

.custom-link.active[b-8fw7hksy1s] {
    text-decoration: none;
    color: #fff;
    background-color: #0d6efd;
}

.custom-link.active:hover[b-8fw7hksy1s] {
    text-decoration: none;
    color: #fff;
    background-color: #0d6efd;
    cursor: default;
}

/* =======================[ Logout Modal ]======================= */
#logout-modal[b-8fw7hksy1s] {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
}

#logout-modal-content[b-8fw7hksy1s] {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 15px;
    border: 1px solid #888;
    width: 15%;
    height: fit-content;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
}

#cancel-logout[b-8fw7hksy1s],
#logout-button[b-8fw7hksy1s] {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

#cancel-logout:hover[b-8fw7hksy1s],
#logout-button:hover[b-8fw7hksy1s] {
    opacity: 0.8;
}

/* =======================[ Error UI Banner ]======================= */
#blazor-error-ui[b-8fw7hksy1s] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-8fw7hksy1s] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Pages/Terminal/Accounts.cshtml.rz.scp.css */
/* =======================[ Layout & Grid ]======================= */
.portfolio-grid[b-t0f3ixiut3] {
    display: grid;
    grid-template-columns: 15% 85%;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: 100%;
}

/* =======================[ Sidebar (Accounts) ]======================= */
.side[b-t0f3ixiut3] {
    grid-row: 1 / span 2;
    grid-column: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 10px;
    background: whitesmoke;
}

.accounts-wrapper[b-t0f3ixiut3] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding-top: 10px;
}

.accounts-search[b-t0f3ixiut3] {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.search-input-container[b-t0f3ixiut3] {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-input-container input[b-t0f3ixiut3] {
    width: 100%;
    padding: 5px;
    border: 1px solid lightgray;
    border-radius: 3px;
    font-weight: bold;
}

.search-btn[b-t0f3ixiut3] {
    position: absolute;
    right: 5px;
    padding: 5px;
    background: none;
    border: none;
    color: gray;
    
    cursor: pointer;
}

.search-btn:hover[b-t0f3ixiut3] {
    color: black;
}

/* =======================[ Accounts Table ]======================= */
.accounts-container[b-t0f3ixiut3] {
    width: 100%;
    flex-grow: 1;
    overflow-y: auto;
}

.accounts-table[b-t0f3ixiut3] {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    
}

.accounts-table th[b-t0f3ixiut3],
.accounts-table td[b-t0f3ixiut3] {
    border-bottom: 1px solid lightgray;
    text-align: center;
    padding: 3px;
}

.accounts-table th[b-t0f3ixiut3] {
    font-weight: bold;
    border: none;
    border-bottom: 1px solid lightgray;
}

.accounts-table tr.selected-row[b-t0f3ixiut3] {
    background: #186fcc;
    color: white;
}

.accounts-table tr td:hover[b-t0f3ixiut3] {
    background: gray;
    color: white;
    cursor: pointer;
}

.accounts-table td:first-child[b-t0f3ixiut3],
.accounts-table th:first-child[b-t0f3ixiut3],
.accounts-table td:last-child[b-t0f3ixiut3],
.accounts-table th:last-child[b-t0f3ixiut3] {
    border-left: none;
    border-right: none;
}

.accounts-table button[b-t0f3ixiut3] {
    width: 100%;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    cursor: pointer;
}

.accounts-table button:hover[b-t0f3ixiut3] {
    background: #eaeaea;
}

/* =======================[ Portfolio Header Section ]======================= */
.portfolio-header[b-t0f3ixiut3] {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    padding: 0 5px 10px 10px;
    overflow: auto;
    text-wrap: nowrap;
}

.portfolio-header div[b-t0f3ixiut3] {
    display: flex;
    flex-direction: column;
    padding: 8px;
    height: 50px;
    border: 1px solid lightgray;
}

.portfolio-header div label[b-t0f3ixiut3] {
    
    color: black;
}

.portfolio-header div span[b-t0f3ixiut3] {
    font-weight: bold;
    text-align: left;
}

.portfolio-header button[b-t0f3ixiut3] {
    padding: 5px 10px;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    
}

/* =======================[ Positions (Portfolio Table) ]======================= */
.positions[b-t0f3ixiut3] {
    grid-row: 2;
    grid-column: 2;
    display: flex;
    min-height: 0;
    padding: 0 5px 0 10px;
}

.table-wrapper[b-t0f3ixiut3] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    max-height: none;
    height: calc(100vh - 120px);
    border: 1px solid lightgray;
}

.portfolio-table[b-t0f3ixiut3] {
    width: 100%;
    border-collapse: collapse;
    
}

.portfolio-table th[b-t0f3ixiut3],
.portfolio-table td[b-t0f3ixiut3] {
    text-align: right;
    white-space: nowrap;
    padding: 3px;
}

.portfolio-table th:first-child[b-t0f3ixiut3],
.portfolio-table td:first-child[b-t0f3ixiut3] {
    text-align: left;
    border-left: none;
    border-right: none;
}

.portfolio-table th:last-child[b-t0f3ixiut3],
.portfolio-table td:last-child[b-t0f3ixiut3] {
    border-right: none;
    border-left: none;
}

.portfolio-table thead th[b-t0f3ixiut3] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    border-bottom: 1px solid lightgray;
    border-top: none;
}

.portfolio-table tbody tr:hover[b-t0f3ixiut3] {
    background: lightgray;
    cursor: pointer;
}

.portfolio-table tr:last-child th[b-t0f3ixiut3],
.portfolio-table tr:last-child td[b-t0f3ixiut3] {
    border-bottom: none;
}

.has-less-rows tr:last-child td[b-t0f3ixiut3] {
    border-bottom: 1px solid lightgray;
}

.no-data-row td[b-t0f3ixiut3] {
    height: 130px;
    font-weight: bold;
    color: gray;
    vertical-align: middle;
    border: none;
}

/* =======================[ Spinner (Loading Indicator) ]======================= */
.spinner-container[b-t0f3ixiut3] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.spinner[b-t0f3ixiut3] {
    margin: 20% auto;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0,0,0,0.2);
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin-b-t0f3ixiut3 1s linear infinite;
    display: inline-block;
}

@keyframes spin-b-t0f3ixiut3 {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* =======================[ Miscellaneous ]======================= */
i[b-t0f3ixiut3] {
    
}
/* /Pages/Terminal/DepthMatrix.cshtml.rz.scp.css */
.outlined-card-container[b-5x1twjxpwy] {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 20px;
    padding-left: 5px;
    padding-right: 5px;
    max-height: calc(100vh - 70px);
    overflow: auto;
}

.outlined-card[b-5x1twjxpwy]{
    width: 370px;
    height: 290px;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.card-inner[b-5x1twjxpwy] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.card-header[b-5x1twjxpwy] {
    width: 100%;
    height: 30px;
    border-bottom:1px solid #ccc;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    gap: 8px;
    position: relative;
}

.card-title-input[b-5x1twjxpwy] {
    width: 80px;
    height: 18px;
    border: none;
    border-bottom: 1px solid #808080;
    background: transparent;
    color: #000000;
    outline: none;
    text-align: left;
    padding: 0;
}

.save-button[b-5x1twjxpwy] {
    width: 25px;
    height: 25px;
    background: #137c4b;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    border-radius: 4px;
}

.save-button:hover[b-5x1twjxpwy] {
    background: #0b5d37;
}

.close-button[b-5x1twjxpwy] {
    width: 25px;
    height: 25px;
    background: #d9534f;
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    position: absolute;
    right: 3px;
    border-radius: 4px;
}

.close-button:hover[b-5x1twjxpwy] {
    background: #c9302c;
}

.stock-table-container[b-5x1twjxpwy] {
    padding: 5px;
    flex: 1;
}

.stock-table-container table[b-5x1twjxpwy] {
    width: 100%;
    margin-bottom: 5px;
    
}

.top-table td[b-5x1twjxpwy] {
    font-weight: bold;
    border: none;
}

.no-watchlist-msg[b-5x1twjxpwy] {
    padding: 20px;
    font-weight: bold;
    color: #888;
    text-align: center;
    width: 100%;
}

.depth-table[b-5x1twjxpwy]{
    border: 1px solid lightgray;
    border-collapse: separate;
}

.sales-table[b-5x1twjxpwy]{
    border: 1px solid lightgray;
    border-collapse: separate;
}
/* /Pages/Terminal/Markets.cshtml.rz.scp.css */
.markets-page[b-5n0wwuccjx] {
    min-height: calc(100vh - 84px);
    color: #1f2937;
    padding: 14px;
}

.market-container[b-5n0wwuccjx] {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr);
    gap: 14px;
}

.market-phase[b-5n0wwuccjx] {
    grid-column: 1 / span 2;
    padding: 14px;
    border: 1px solid #d2dae8;
    border-radius: 4px;
}

.market-phase h3[b-5n0wwuccjx] {
    margin: 0;
    font-weight: 700;
}

.market-phase span[b-5n0wwuccjx] {
    color: #6b7280;
    
}

.market-card[b-5n0wwuccjx] {
    border: 1px solid #d2dae8;
    border-radius: 4px;
    background: #ffffff;
    overflow: hidden;
}

.market-card h5[b-5n0wwuccjx] {
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid #d2dae8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    
}

.market-table[b-5n0wwuccjx] {
    width: 100%;
    
}

.market-table td[b-5n0wwuccjx] {
    padding: 7px 10px;
    border-bottom: 1px solid #e3e8f2;
}

.market-table tr:last-child td[b-5n0wwuccjx] {
    border-bottom: none;
}

.market-table td:first-child[b-5n0wwuccjx] {
    font-weight: 700;
}

.market-table td:not(:first-child)[b-5n0wwuccjx] {
    text-align: right;
}

.up-color[b-5n0wwuccjx] {
    color: #59d98e;
}

.dn-color[b-5n0wwuccjx] {
    color: #ff6b78;
}
/* /Pages/Terminal/OrderTicket.cshtml.rz.scp.css */
/* =======================[ Alerts ]======================= */
.alert-error[b-312d7mchpk],
.alert-success[b-312d7mchpk] {
    padding: 5px;
    border-radius: 4px;
    font-weight: 500;
    
    border-width: 1px;
    border-style: solid;
}
.alert-error[b-312d7mchpk] {
    background-color: #f8d7da;
    color: red;
    border-color: #f5c2c7;
}
.alert-success[b-312d7mchpk] {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc;
}
.alert-fade[b-312d7mchpk] {
    transition: opacity 0.5s ease;
    opacity: 0;
}

/* =======================[ Form Elements ]======================= */
select[b-312d7mchpk],
input[b-312d7mchpk] {
    text-align: center;
    text-align-last: center;
}

/* =======================[ Layout Containers ]======================= */
.ticket-container[b-312d7mchpk],
.confirm-container[b-312d7mchpk],
.posted-container[b-312d7mchpk] {
    width: 100%;
    height: 100%;
    padding: 5px 10px 5px 10px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

/* =======================[ Symbol Input Row ]======================= */
.ticket-symbol[b-312d7mchpk] {
    display: grid;
    grid-template-columns: max-content 100px max-content;
    gap: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid lightgray;
    align-items: center;
}

.ticket-symbol .form-control[b-312d7mchpk],
.ticket-symbol .ticket-search-btn[b-312d7mchpk] {
    height: 38px;
}

.ticket-symbol .ticket-search-btn[b-312d7mchpk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

/* =======================[ Market Price Widget ]======================= */
.ticket-market[b-312d7mchpk] {
    display: grid;
    grid-template-columns: 125px auto;
    padding-bottom: 5px;
    border-bottom: 1px solid lightgray;
    align-items: center;
}
.price[b-312d7mchpk] {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    
}
.change[b-312d7mchpk] { grid-column: 1; grid-row: 3; }
.status[b-312d7mchpk] { grid-column: 2; grid-row: 1; }
.bid[b-312d7mchpk]    { grid-column: 2; grid-row: 2; }
.ask[b-312d7mchpk]    { grid-column: 2; grid-row: 3; }

/* =======================[ Order Form ]======================= */
.ticket-order[b-312d7mchpk] {
    display: grid;
    grid-template-columns: 85px 1fr;
    row-gap: 5px;
    column-gap: 10px;
    align-items: center;
    width: 100%;
}
.ticket-order label[b-312d7mchpk] {
    white-space: nowrap;
    margin-bottom: 0;
    padding-top: 2px;
}
.ticket-order input:not([type="checkbox"])[b-312d7mchpk],
.ticket-order select[b-312d7mchpk] {
    padding: 4px 8px;
}
.ticket-order .full-span[b-312d7mchpk] {
    grid-column: span 2;
}
.ticket-order .stacked-input-group[b-312d7mchpk] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ticket-order .form-check[b-312d7mchpk] {
    display: flex;
    align-items: center;
    gap: 5px;
    
}

/* =======================[ Buttons & Feedback ]======================= */
.btn-success[b-312d7mchpk] {
    padding: 10px;
    font-weight: bold;
}
.text-danger.mt-2[b-312d7mchpk],
.text-success.mt-2[b-312d7mchpk] {
    margin-top: 8px;
}

.validation-message[b-312d7mchpk] {
    font-size: 11px !important;
    color: #b4233a;
    background-color: #ffe6ea;
    border: 1px solid #f3a9b5;
    border-radius: 4px;
    padding: 2px 6px;
}

/* =======================[ Stock Message & Loading ]======================= */
.stock-message[b-312d7mchpk] {
    font-weight: bold;
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.loading-container[b-312d7mchpk] {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
}

/* =======================[ Spinner (Loading Indicator) ]======================= */
.spinner[b-312d7mchpk] {
    border: 4px solid rgba(0,0,0,0.1);
    border-left-color: #007bff;
    width: 50px; height: 50px;
    border-radius: 50%;
    animation: spin-b-312d7mchpk 1s linear infinite;
    display: block;
}
@keyframes spin-b-312d7mchpk {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* =======================[ Dropdown for Agent in Client Selection ]======================= */
.dropdown-menu[b-312d7mchpk] {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    padding: 0;
    list-style: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.dropdown-item[b-312d7mchpk] {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-item:hover[b-312d7mchpk] {
    background-color: #f0f0f0;
    color: black;
}

.active-dropdown-item[b-312d7mchpk] {
    background-color: #0d6efd;
    color: white;
}

/* =======================[ Confirmation Box ]======================= */
.confirm-modal-overlay[b-312d7mchpk] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.confirm-modal-box[b-312d7mchpk] {
    width: 420px;
    max-width: 90%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.confirm-modal-header[b-312d7mchpk] {
    padding: 14px 18px;
    
    font-weight: 600;
    border-bottom: 1px solid #e5e5e5;
}

.confirm-modal-body[b-312d7mchpk] {
    padding: 16px 18px;
}

.confirm-row[b-312d7mchpk] {
    margin-bottom: 10px;
    
    word-break: break-word;
}

.confirm-modal-footer[b-312d7mchpk] {
    padding: 14px 18px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
/* /Pages/Terminal/Trade.cshtml.rz.scp.css */
.console-app[b-v0eis8h6qu] {
    height: 100%;
    height: -webkit-fill-available;
    min-height: 0;
    background: #f5f7fb;
    color: #1f2937;
    overflow: hidden;
}

.console-grid[b-v0eis8h6qu] {
    display: grid;
    grid-template-columns: 300px minmax(600px, 1fr) 320px;
    grid-template-rows: auto auto 45vh 35vh;
    grid-template-rows: min-content min-content calc(45vh - 5px) calc(35vh - 10px);
    height: 100%;
    min-height: 0;
    padding: 0;
}

.console-panel[b-v0eis8h6qu] {
    background: #ffffff;
    overflow: hidden;
    min-height: 0;
    min-width: 0;
}

.ticker-panel[b-v0eis8h6qu] {
    grid-column: 1 / span 3;
}

.watchlist-panel[b-v0eis8h6qu] {
    grid-column: 3;
    grid-row: 2 / span 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    align-self: stretch;
    contain: layout size;
}

.quote-header-panel[b-v0eis8h6qu] {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
}

.quote-panel[b-v0eis8h6qu] {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.order-ticket-panel[b-v0eis8h6qu] {
    grid-column: 1;
    grid-row: 2 / span 2;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.orders-panel[b-v0eis8h6qu] {
    grid-column: 1 / span 3;
    grid-row: 4;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.panel-title[b-v0eis8h6qu] {
    padding: 8px 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #d2dae8;
    background: #eef3fb;
}

#ticker-feed[b-v0eis8h6qu] {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    gap: 0;
    background: #000;
    padding: 4px;
}

.ticker-item[b-v0eis8h6qu] {
    width: 75px;
    min-width: 75px;
    max-width: 75px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    display: grid;
    grid-template-rows: repeat(6, minmax(0, 1fr));
    padding-left: 4px;
    overflow: hidden;
    color: #fff;
}

.ticker-line[b-v0eis8h6qu] {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.05;
    
    color: inherit;
}

.ticker-symbol[b-v0eis8h6qu] {
    font-weight: 700;
}

.ticker-time[b-v0eis8h6qu] {
    font-size: 11px !important;
    color: #ffffff !important;
}

.ticker-price[b-v0eis8h6qu] {
    font-weight: 700;
}

.ticker-qty[b-v0eis8h6qu],
.ticker-seller[b-v0eis8h6qu] {
    padding-left: 5px;
}

.loading-placeholder[b-v0eis8h6qu] {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #edf2fa 25%, #dce6f6 50%, #edf2fa 75%);
    background-size: 200% 100%;
    animation: shimmer-b-v0eis8h6qu 1.8s infinite linear;
}

@keyframes shimmer-b-v0eis8h6qu {
    0% { background-position: -250% 0; }
    100% { background-position: 250% 0; }
}

.ticker-item.price-up[b-v0eis8h6qu] { color: #00e860; }
.ticker-item.price-down[b-v0eis8h6qu] { color: #ff041a; }
.ticker-item.no-change[b-v0eis8h6qu] { color: #ffffff; }

.watchlist-search[b-v0eis8h6qu] {
    padding: 10px;
    border-bottom: 1px solid #d2dae8;
}

.ticket-search[b-v0eis8h6qu] {
    padding: 10px;
}

.ticket-card[b-v0eis8h6qu] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    min-width: 0;
    margin: 0 10px 10px;
    background: #ffffff;
    border: 1px solid #dbe3f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.search-row[b-v0eis8h6qu] {
    display: flex;
    gap: 6px;
}

.search-row > *[b-v0eis8h6qu] {
    min-width: 0;
}

.order-ticket-panel .ticket-summary[b-v0eis8h6qu] {
    padding: 6px 10px;
    border-bottom: 1px solid #d2dae8;
}

.order-ticket-panel .ticket-summary-row[b-v0eis8h6qu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.order-ticket-panel .ticket-summary-row + .ticket-summary-row[b-v0eis8h6qu] {
    margin-top: 2px;
}

.order-ticket-panel .ticket-summary-row > :first-child[b-v0eis8h6qu] {
    min-width: 0;
}

.order-ticket-panel .ticket-summary-row > :last-child[b-v0eis8h6qu] {
    margin-left: auto;
    white-space: nowrap;
}

.order-ticket-panel .ticket-summary-row > *[b-v0eis8h6qu] {
    min-width: 0;
}

.ticket-bbo[b-v0eis8h6qu] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 2px 10px;
    border-bottom: 1px solid #d2dae8;
    white-space: nowrap;
}

.watchlist-container[b-v0eis8h6qu] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 8px;
    -webkit-overflow-scrolling: touch;
}

.watchlist-table[b-v0eis8h6qu] {
    width: 100%;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    table-layout: fixed;
}

.watchlist-table th[b-v0eis8h6qu],
.watchlist-table td[b-v0eis8h6qu] {
    padding: 5px 4px;
    border-bottom: 1px solid #e3e8f2;
}

.watchlist-table thead th[b-v0eis8h6qu] {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 2;
}

.watchlist-table thead[b-v0eis8h6qu],
.watchlist-table tbody tr[b-v0eis8h6qu] {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.watchlist-table tbody[b-v0eis8h6qu] {
    display: block;
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}

.hover-cell:hover[b-v0eis8h6qu] {
    color: #60a5fa;
    cursor: pointer;
}

.watchlist-star-active[b-v0eis8h6qu] {
    color: #f7cc5c;
}

.quote-header[b-v0eis8h6qu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 10px;
}

.quote-header-name[b-v0eis8h6qu] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: #6b7280;
}

.stock-symbol[b-v0eis8h6qu] {
    
    font-weight: 700;
}

.stock-symbol i[b-v0eis8h6qu] {
    margin-left: 8px;
    cursor: pointer;
}

.stock-name[b-v0eis8h6qu] {
    
    color: #6b7280;
}

.stock-price[b-v0eis8h6qu] {
    margin-right: 10px;
    font-weight: 700;
}

.stock-change[b-v0eis8h6qu] {
    margin-left: 35px;
}

.stock-meta td[b-v0eis8h6qu] {
    padding: 1px 0 1px 10px;
    
}

.widget-grid[b-v0eis8h6qu] {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 10px;
    padding: 10px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.widget-container[b-v0eis8h6qu] {
    border: 1px solid #d2dae8;
    background: #f8fbff;
}

.widget-container:last-child[b-v0eis8h6qu] {
    grid-column: 1 / span 2;
}

.widgets-table[b-v0eis8h6qu] {
    width: 100%;
    
}

.widgets-table th[b-v0eis8h6qu],
.widgets-table td[b-v0eis8h6qu] {
    padding: 4px 6px;
    border-bottom: 1px solid #e3e8f2;
}

.widgets-table thead th[b-v0eis8h6qu] {
    background: #eef3fb;
}

.widgets-table tbody[b-v0eis8h6qu] {
    background: #ffffff;
}

.see-more[b-v0eis8h6qu] {
    cursor: pointer;
    color: #93c5fd;
}

.order-ticket-frame[b-v0eis8h6qu] {
    display: block;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    width: 100%;
    border: 0;
    background: #ffffff;
}

.orders-header[b-v0eis8h6qu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #d2dae8;
}

.orders-header .panel-title[b-v0eis8h6qu] {
    border-bottom: 0;
    padding-right: 0;
    background: transparent;
}

.orders-filters[b-v0eis8h6qu] {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
}

.orders-filters .form-select[b-v0eis8h6qu],
.orders-filters .form-control[b-v0eis8h6qu] {
    min-width: 110px;
    max-width: 140px;
}

.orders-table-wrap[b-v0eis8h6qu] {
    flex: 1;
    overflow: auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.orderbook-table[b-v0eis8h6qu] {
    width: 100%;
    
}

.orderbook-table th[b-v0eis8h6qu],
.orderbook-table td[b-v0eis8h6qu] {
    padding: 4px 6px;
    border-bottom: 1px solid #e3e8f2;
    white-space: nowrap;
}

.orderbook-table thead th[b-v0eis8h6qu] {
    position: sticky;
    top: 0;
    background: #eef3fb;
    z-index: 2;
}

.orderbook-table tbody tr:hover[b-v0eis8h6qu] {
    background: rgba(59, 130, 246, 0.1);
}

.loading-row td[b-v0eis8h6qu],
.no-data-row td[b-v0eis8h6qu] {
    height: 90px;
    color: #6b7280;
}

.spinner[b-v0eis8h6qu] {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin-b-v0eis8h6qu 1s linear infinite;
    margin: 8px auto;
}

@keyframes spin-b-v0eis8h6qu {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-dialog-compact[b-v0eis8h6qu] {
    max-width: 520px;
}

.modal-body-compact[b-v0eis8h6qu] {
    height: 55vh;
}

.modal-table-scroll[b-v0eis8h6qu] {
    overflow-y: auto;
    max-height: 100%;
    -webkit-overflow-scrolling: touch;
}

.modal-widget-table[b-v0eis8h6qu] {
    width: 100%;
}

.modal-widget-table th[b-v0eis8h6qu],
.modal-widget-table td[b-v0eis8h6qu] {
    padding: 4px 6px;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.modal-widget-table thead th[b-v0eis8h6qu] {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

.modal-widget-table tbody[b-v0eis8h6qu] {
    background: #ffffff;
}
/* /Pages/Terminal/ViewOrder.cshtml.rz.scp.css */
/* =======================[ Alerts ]======================= */
.alert-error[b-m98ufrrd5t],
.alert-success[b-m98ufrrd5t] {
    padding: 5px;
    border-radius: 4px;
    font-weight: 400;
    
    border-width: 1px;
    border-style: solid;
}
.alert-error[b-m98ufrrd5t] {
    background-color: #f8d7da;
    color: red;
    border-color: #f5c2c7;
}
.alert-success[b-m98ufrrd5t] {
    background-color: #d1e7dd;
    color: #0f5132;
    border-color: #badbcc;
}
.alert-fade[b-m98ufrrd5t] {
    transition: opacity 0.5s ease;
    opacity: 0;
}

/* =======================[ Form Elements ]======================= */
select[b-m98ufrrd5t],
input[b-m98ufrrd5t] {
    text-align: center;
    text-align-last: center;
}

/* =======================[ Frame Container ]======================= */
.popup-frame[b-m98ufrrd5t] {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    box-shadow: none;
}

.ticket-container[b-m98ufrrd5t] {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

/* =======================[ Tab Headers ]======================= */
.client-order-id-header[b-m98ufrrd5t] {
    text-align: center;
    font-weight: 600;
    margin-top: 5px;
}

.custom-tabs[b-m98ufrrd5t] {
    display: flex;
    margin-bottom: 10px;
}
.tab-btn[b-m98ufrrd5t] {
    flex: 1;
    background: #e9ecef;
    border: 1px solid #ccc;
    padding: 8px 10px;
    cursor: pointer;
    
    text-align: center;
    transition: background-color 0.2s;
}
.tab-btn:last-child[b-m98ufrrd5t] { border-right: none; }
.tab-btn.active[b-m98ufrrd5t] {
    font-weight: 400;
    background: #fff;
    border: none;
}

/* =======================[ Tab Contents ]======================= */
.tab-content-container[b-m98ufrrd5t] { padding: 0 10px; }
.tab-pane[b-m98ufrrd5t] { display: none; }
.tab-pane.active[b-m98ufrrd5t] { display: block; }

/* =======================[ Market Summary ]======================= */
.ticket-market[b-m98ufrrd5t] {
    display: grid;
    grid-template-columns: 125px auto;
    padding-bottom: 5px;
    border-bottom: 1px solid lightgray;
    align-items: center;
}
.price[b-m98ufrrd5t]  {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    
}
.change[b-m98ufrrd5t] { grid-column: 1; grid-row: 3; }
.status[b-m98ufrrd5t] { grid-column: 2; grid-row: 1; }
.bid[b-m98ufrrd5t]    { grid-column: 2; grid-row: 2; }
.ask[b-m98ufrrd5t]    { grid-column: 2; grid-row: 3; }

/* =======================[ Order Grid ]======================= */
.order-grid[b-m98ufrrd5t] {
    display: grid;
    grid-template-columns: 1fr;
}
.order-grid div[b-m98ufrrd5t] { display: flex; align-items: center; }
.order-grid label[b-m98ufrrd5t] {
    flex: 0 0 100px;
}
.order-grid input[b-m98ufrrd5t],
.order-grid select[b-m98ufrrd5t] {
    flex: 1;
    padding: 5px 6px;
    width: 100%;
    box-sizing: border-box;
}

.readonly-order-summary[b-m98ufrrd5t] {
    margin-bottom: 10px;
    grid-column: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.summary-value[b-m98ufrrd5t] {
    font-weight: 700;
}

.summary-side.side-buy[b-m98ufrrd5t] {
    color: #198754;
}

.summary-side.side-sell[b-m98ufrrd5t] {
    color: #dc3545;
}

.validation-message[b-m98ufrrd5t] {
    font-size: 11px !important;
    color: #b4233a;
    background-color: #ffe6ea;
    border: 1px solid #f3a9b5;
    border-radius: 4px;
    padding: 2px 6px;
}

/* =======================[ Table (Trades) ]======================= */
.times-sales-scroll[b-m98ufrrd5t] {
    max-height: 66px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.times-sales-scroll table[b-m98ufrrd5t] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: monospace;
    
}
.times-sales-scroll th[b-m98ufrrd5t],
.times-sales-scroll td[b-m98ufrrd5t] {
    padding: 4px 6px;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.times-sales-scroll th[b-m98ufrrd5t] {
    background: #f1f1f1;
    font-weight: 400;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* =======================[ History ]======================= */
.order-history[b-m98ufrrd5t] { margin-bottom: 10px; }
.history-log[b-m98ufrrd5t] {
    overflow-y: auto;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 6px 10px;
    
}

/* =======================[ Buttons ]======================= */
.popup-buttons[b-m98ufrrd5t] {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin-top: 15px;
    padding: 10px;
}

.order-actions-row[b-m98ufrrd5t] {
    grid-column: 1 / span 2;
    display: flex;
    justify-content: stretch;
    margin-top: 14px;
    width: 100%;
}

.order-actions-stack[b-m98ufrrd5t] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
}

.order-actions-buttons[b-m98ufrrd5t] {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.order-actions-buttons .btn[b-m98ufrrd5t] {
    flex: 1 1 0;
}

.new-order-link[b-m98ufrrd5t] {
    align-self: flex-end;
    margin-top: 5px;
    color: #0d6efd;
    text-decoration: underline;
    font-weight: 400;
}

.new-order-link:hover[b-m98ufrrd5t] {
    text-decoration: none;
}

/* =======================[ Readonly Label ]======================= */
.readonly-label[b-m98ufrrd5t] {
    padding: 2px 0;
    margin: 0;
    font-family: monospace;
    color: #212529;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* =======================[ Loading ]======================= */
.loading-container[b-m98ufrrd5t] {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.spinner[b-m98ufrrd5t] {
    border: 4px solid rgba(0,0,0,0.1);
    border-left-color: #007bff;
    width: 50px; height: 50px;
    border-radius: 50%;
    animation: spin-b-m98ufrrd5t 1s linear infinite;
}
@keyframes spin-b-m98ufrrd5t {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.rejected-reason-card[b-m98ufrrd5t] {
    grid-column: 1 / span 2;
    background: #ffe6e9;
    border: 1px solid #ff4d4d;
    color: #b30000;
    padding: 10px;
    border-radius: 6px;
    margin-top: 8px;
    white-space: pre-line;
}
