/* _content/OptionPricing/Pages/OptionInfo.razor.rz.scp.css */
/* --- High Contrast Dark Theme --- */
/* Using the main container class instead of :root for scoped CSS variables */
.container-fluid[b-v40dpd2fq3] {
    --bg-card: #212529;
    --bg-input: #2b2d30;
    --bg-input-readonly: #2b2d30;
    /* Match regular input to avoid "disabled" look */
    --bg-label: #343a40;
    --bg-hover: #32383e;
    --text-main: #ffffff;
    /* Pure White */
    --text-secondary: #e0e0e0;
    /* Off-White */
    --accent-color: #5fc4ff;
    --border-color: #555;
}

.card-custom[b-v40dpd2fq3] {
    background-color: var(--bg-card);
    color: var(--text-main);
    height: 100%;
}

/* Input Styling - Force White Text */
.form-control[b-v40dpd2fq3],
.form-select[b-v40dpd2fq3] {
    background-color: var(--bg-input) !important;
    color: var(--text-main) !important;
    border: 1px solid var(--border-color);
}

.form-select option[b-v40dpd2fq3] {
    background-color: var(--bg-input);
    color: var(--text-main);
}

.form-control:focus[b-v40dpd2fq3],
.form-select:focus[b-v40dpd2fq3] {
    background-color: var(--bg-hover) !important;
    color: #fff !important;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(95, 196, 255, 0.15);
}

/* Readonly inputs - Keep them bright but distinct */
.form-control:disabled[b-v40dpd2fq3],
.form-control[readonly][b-v40dpd2fq3] {
    background-color: var(--bg-input-readonly) !important;
    color: var(--text-main) !important;
    opacity: 1;
}

/* Labels */
.input-group-text[b-v40dpd2fq3] {
    background-color: var(--bg-label);
    color: var(--text-main);
    /* White text for labels */
    border: 1px solid var(--border-color);
    font-weight: 500;
}

/* Table Styling */
.table-custom[b-v40dpd2fq3] {
    color: var(--text-main);
    margin-bottom: 0;
}

.table-custom thead th[b-v40dpd2fq3] {
    border-bottom: 2px solid var(--border-color);
    color: var(--text-main);
    /* White headers */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.table-custom td[b-v40dpd2fq3],
.table-custom th[b-v40dpd2fq3] {
    border-top: 1px solid #373b3e;
    vertical-align: middle;
    padding: 0.75rem;
}

.table-hover tbody tr:hover[b-v40dpd2fq3] {
    background-color: var(--bg-hover) !important;
    color: #fff;
}

/* Size indicator (x 100) */
.text-size-indicator[b-v40dpd2fq3] {
    color: #bbb;
    /* Light grey, clearly visible */
    font-size: 0.75rem;
    margin-left: 4px;
}

.table-hover tbody tr:hover .text-size-indicator[b-v40dpd2fq3] {
    color: #fff;
}

a[b-v40dpd2fq3] {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

a:hover[b-v40dpd2fq3] {
    color: #8fd8ff;
    text-decoration: underline;
}

.hero-price[b-v40dpd2fq3] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Mobile optimizations */
@media (max-width: 576px) {

    .table-custom td[b-v40dpd2fq3],
    .table-custom th[b-v40dpd2fq3] {
        padding: 0.4rem 0.2rem !important;
        font-size: 0.85rem;
    }

    /* Stack the size indicator below the price on mobile to save width */
    .text-size-indicator[b-v40dpd2fq3] {
        display: block;
        margin-left: 0;
        font-size: 0.7rem;
        line-height: 1;
    }
}

/* Ensure screen reader text is actually hidden visually */
.visually-hidden[b-v40dpd2fq3] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Interactive cells in the chain */
.chain-cell[b-v40dpd2fq3] {
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.chain-cell:hover[b-v40dpd2fq3] {
    background-color: #3a3f44 !important;
    color: var(--accent-color);
}

.selected-strike-class[b-v40dpd2fq3] {
    background-color: rgba(108, 117, 125, 0.25);
}
