html, body {
    /* font-family: 'Segoe UI', 'Helvetica Neue', 'Arial', 'sans-serif';*/
    font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', 'Arial', sans-serif;
    background: #eef2f7;
    margin: 0;
    padding: 0;
}

.navbar {
    background: #213559;
    color: #fff;
    padding: 0 32px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(33,53,89,0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.navbar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

    .navbar-links li {
        margin: 0 18px;
    }

    .navbar-links a {
        color: #e4ebfa;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        transition: color .15s;
    }

        .navbar-links a:hover {
            color: #87aedf;
        }

.navbar-right {
    margin-left: auto;
}
/* Increase overall page container width */
.main-container {
    max-width: 1400px; /* increased from 1200px */
    margin: 32px auto;
    padding: 0 6px; /* less side padding */
}
/* Optionally increase the query card width and reduce side padding */
/*.query-card {
    max-width: 100%;*/ /* allow full available width inside container */
    /*padding: 24px 48px 20px 48px;*/ /* slightly wider padding */
    /*margin-bottom: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(33,53,89,0.09);
    box-sizing: border-box;*/ /* ensure padding included in width */
/*}*/

.query-card {
    max-width: 100%;
    width: 97%;
    margin-left: auto;
    margin-right: auto;
    padding: 24px 48px 20px 48px;
    margin-top: 32px;
    margin-bottom: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(33,53,89,0.09);
    box-sizing: border-box;
}

.query-title {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .01em;
    margin-bottom: 18px;
    color: #213559;
    text-align: left;
}

.query-form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

    .query-form label {
        font-size: 1rem;
        color: #373e4a;
        margin-right: 8px;
        margin-bottom: 0;
    }

.error-message {
    color: #c92828;
    background: #fbeaea;
    border-radius: 5px;
    padding: 7px 13px;
    margin-top: 14px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid #e15a5a;
}

.query-header h2 {
    font-size: 2rem;
    color: #213559;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: .01em;
}

.query-guidance {
    display: flex;
    align-items: flex-start;
    background: #f4f8ff;
    border-radius: 8px;
    padding: 13px 18px;
    font-size: 1.08rem;
    color: #375da3;
    margin-bottom: 16px;
    border-left: 4px solid #375da3;
    box-shadow: 0 1px 4px rgba(33,53,89,0.05);
}

    .query-guidance .icon-info {
        font-size: 1.4rem;
        margin-right: 10px;
        color: #375da3;
    }

.filters-bar {
    margin: 8px 0 12px 0;
    padding: 8px 18px;
    background: WhiteSmoke;
    border-radius: 8px;
    font-size: 17px;
    border: 1px solid LightGray;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* <-- Let text wrap, prevent scroll */
}

@media (max-width: 800px) {
    .filters-bar {
        font-size: 15px;
        padding: 8px 6px;
    }
}

.prosper-hero {
    background: linear-gradient(90deg, #f5f5f5 60%, #e1e7fa 100%);
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(40,60,90,.08);
    padding: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.prosper-info {
    flex: 1 1 350px;
    min-width: 300px;
}

.prosper-mascot {
    flex: 0 1 280px;
    min-width: 220px;
    text-align: center;
}

    .prosper-mascot img {
        border-radius: 1rem;
        width: 100%;
        max-width: 230px;
        box-shadow: 0 2px 20px rgba(60,80,120,0.12);
        background: #fff;
        border: 2px solid #e0e0e0;
        margin: 0 auto;
    }

@media (max-width: 900px) {
    .prosper-hero {
        flex-direction: column;
    }

    .prosper-info, .prosper-mascot {
        min-width: 100%;
    }

        .prosper-mascot img {
            margin-top: 1.3rem;
        }
}

.cta-btn {
    font-size: 1.25rem;
    letter-spacing: .5px;
    font-weight: 600;
    padding: .8rem 2.2rem;
    background: #4462fa;
    border: none;
    color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(68,98,250,0.12);
    transition: background .2s;
}

    .cta-btn:hover {
        background: #2d47a2;
        color: #fff;
    }
/* Override card headers for no border and apply custom heading style */
.card-header {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: MidnightBlue !important;
    padding: 6px 0 !important;
    margin-bottom: 14px !important;
    line-height: 1.18 !important;
    cursor: pointer;
    background: transparent !important;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 0.6em;
}
    /* Emoji/icon styling in headers */
    .card-header .icon {
        font-size: 2.4rem;
        flex-shrink: 0;
        margin-right: 0.35em;
    }
/* Left align all table content */
.card table {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}
    /* Ensure font sizes consistent inside tables */
    .card table th,
    .card table td {
        vertical-align: middle !important;
        white-space: nowrap;
    }
        /* Prevent wrap on verdict column */
        .card table td.verdict-col {
            white-space: nowrap;
            max-width: 320px;
            overflow: hidden;
            text-overflow: ellipsis;
        }
/* Adjust Table Borders to Thin */
.card table {
    border-collapse: collapse !important;
    border: 1px solid #dde2e6 !important;
}

    .card table th,
    .card table td {
        border: 1px solid #dde2e6 !important;
        padding: 0.55em 1em !important;
    }
/* Remove bottom border from section headers */
.section-header {
    border-bottom: none !important;
    padding-bottom: 0;
}
/* Responsive Heading font size adjustments */
@media (max-width: 900px) {
    .card-header {
        font-size: 1.6rem !important;
    }

        .card-header .icon {
            font-size: 1.9rem;
        }

    .card table {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .card-header {
        font-size: 1.3rem !important;
    }

        .card-header .icon {
            font-size: 1.5rem;
        }

    .card table {
        font-size: 0.8rem;
    }
}

.accordion-button.custom-accordion-header {
    font-size: 1.4rem; /* not too big */
    font-weight: 700;
    color: #222c46; /* MidnightBlue or a deep brand navy */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 14px 24px 14px 18px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    font-size: 1.45em;
    line-height: 1;
    vertical-align: middle;
    margin-right: 0.3em;
    display: flex;
    align-items: center;
}

.header-text {
    font-size: 1em;
    letter-spacing: 0.01em;
}

.accordion-button:not(.collapsed) {
    background: #f4f8ff;
    color: #213559;
    box-shadow: inset 0 -2px 0 #e3e8f4;
}

.accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 9px;
}
/* Additional styling for thin borders under rows in Fundamentals and Legend tables */
.fundamentals-table tbody tr, .legend-table tbody tr {
    border-bottom: 1px solid #d2d9e1; /* thin light border for row separation */
}

.legend-table {
    text-align: left !important; /* left align legend table */
    border-collapse: collapse;
}
/* Option Chain Table Styles */
/* Widen main card for Option Chain, allow scroll as fallback */
@media (min-width: 1300px) {
    .result-card {
        max-width: 1300px;
    }
}

.result-card {
    max-width: 100%; /* Use full page width */
    width: 100%;
    margin: 24px auto; /* keep spacing from top/navbar */
    background: #fff;
    box-shadow: 0 2px 8px rgba(60,60,60,0.08);
    border-radius: 10px;
    padding: 24px;
}
/* Table styling for Option Chain */
/* Option chain table styling */
.options-table td, .options-table th {
    text-align: center;
    vertical-align: middle;
}

.options-table .verdict {
    text-align: left !important;
    padding-left: 16px;
}

.options-table .premium-alert {
    background-color: #ff4d4d !important;
    color: #fff !important;
    text-align: center;
    font-weight: bold;
}

.options-table .expiration-cell {
    white-space: nowrap;
}

.options-table thead th {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 2;
}

.options-table .header-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.options-table .highlighted-row {
    background-color: #e9fbe9 !important;
}
/* Clean stacked header labels */
.header-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-icon {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.header-text {
    font-weight: 600;
    font-size: 0.85rem;
}
/* Premium bell highlight */
.premium-alert {
    background-color: #ff4d4d !important;
    color: #fff !important;
    font-weight: bold;
}
/* Keep verdict values fully visible */
.verdict {
    white-space: nowrap;
    max-width: none;
    overflow: visible;
    font-weight: 600;
    color: #0056b3;
}
/* Important columns highlight */
.important-col {
    background: #fffbea !important;
    font-weight: 600; /* semi-bold, lighter than full bold */
    border-bottom: 2px solid #ffd24d !important;
}
/* OTM and expiration formatting */
.expiration-cell {
    white-space: nowrap;
}

.verdict {
    text-align: left !important;
}
/* Hover rows */
.options-table tbody tr:hover {
    background-color: #f1f1f1;
}
/* Option Finder Styles */
.opf-query-card, .opf-result-card {
    max-width: 970px;
    margin: 30px auto 0;
    padding: 24px;
    background: #f9fafc;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.opf-query-header {
    font-size: 1.7rem;
    color: #116699;
    font-weight: 700;
    margin-bottom: 16px;
}

.opf-info {
    font-size: 1rem;
    margin-bottom: 20px;
}

.opf-query-form label,
.opf-query-form textarea,
.opf-query-form select {
    display: block;
    margin-bottom: 10px;
}

.opf-input-symbol-multi {
    width: 100%;
    min-width: 400px;
    max-width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 10px;
}

.opf-select-expiry {
    width: 190px;
    padding: 6px 8px;
    font-size: 1rem;
}

.opf-options-table th,
.opf-options-table td {
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
}

.opf-table-container {
    margin-top: 16px;
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
}

.opf-premium-alert {
    color: #b33939;
    font-size: 1.25rem;
    font-weight: bold;
}

.opf-filter-bar {
    background: #f8f9fa;
    border: 1px solid #e0e3eb;
    border-radius: 12px;
    padding: 12px 18px 11px 18px;
    margin-bottom: 20px;
    font-size: 1.11rem;
    color: #222;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    box-shadow: 0 1px 4px rgba(34,48,90,0.04);
}

    .opf-filter-bar .opf-divider {
        margin: 0 14px;
        color: #bbb;
        font-weight: 400;
        font-size: 1.13em;
    }

    .opf-filter-bar .opf-green {
        color: #18863a;
        font-weight: 600;
        letter-spacing: 0.01em;
    }
/* new styles 8-19-2025 */
.opf-info-bar {
    background: #f8f9fa;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.03);
}

.opf-bar-divider {
    font-size: 1.9rem;
    color: #c0c0c0;
    margin: 0 0.9rem;
    line-height: 1;
    vertical-align: middle;
    font-weight: 400;
}

.bar-label {
    font-weight: 700;
    color: #222;
}

.bar-value {
    color: #188047; /* or Bootstrap .text-success */
    font-weight: 700;
}
/* Highlight row for matches */
.finder-form-row {
    margin-left: 0;
    margin-right: 0;
}

.finder-form-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.input-symbol,
.select-expiry {
    font-size: 1.25rem;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    height: 64px; /* Set matching height; adjust as preferred */
    min-height: 64px; /* For textarea, ensure minimum height */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    /*resize: none;*/ /* Prevent manual resize, optional */
}

    .input-symbol:focus, .select-expiry:focus {
        outline: none;
        border-color: #4661e6;
        box-shadow: 0 0 4px #4661e6;
    }

.btn-primary {
    font-size: 1.3rem;
    padding: 0.55rem 1.7rem;
    border-radius: 0.65rem;
    height: 64px; /* fixed height to match inputs */
    min-height: 64px;
    display: flex; /* enable flexbox for centering */
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-primary:hover {
        background-color: #1f2b66;
    }

/*.btn-primary {
    font-size: 1.3rem;
    padding: 0.55rem 1.7rem;
    border-radius: 0.65rem;
    min-height: auto;
    height: 64px;*/ /* Set matching height; adjust as preferred */
    /*min-height: 64px;*/ /* For textarea, ensure minimum height */
/*}

    .btn-primary:hover {
        background-color: #1f2b66;
    }*/

/* Adjust .query-form children to be flex column for labels and inputs */
.query-form > label,
.query-form > input,
.query-form > select,
.query-form > button {
    display: flex;
    flex-direction: column;
}
/* Add clean vertical gap below input section */
.query-form {
    margin-bottom: 32px; /* space between input and company info */
}

/* Or, if you want to apply the gap above company card instead: */
.company-info-card {
    margin-top: 32px !important; /* increases gap above company info card */
}

.fundamentals-info-icon {
    color: #0d6efd;
    cursor: pointer;
    font-size: 1.25em;
    vertical-align: middle;
}

.fundamentals-modal .modal-header {
    background-color: #f1f3f5;
    border-bottom: 1px solid #dee2e6;
}

.fundamentals-list {
    list-style: none;
    padding-left: 0;
}

    .fundamentals-list li {
        margin-bottom: 10px;
        font-size: 1.09em;
    }

    .fundamentals-list .check-icon-true {
        color: #198754;
        margin-right: 4px;
    }

    .fundamentals-list .check-icon-false {
        color: #dc3545;
        margin-right: 4px;
    }

.fundamentals-value-icon {
    font-size: 1.15em;
    margin-right: 8px;
    vertical-align: middle;
}
.verdict-col {
    white-space: nowrap !important;
    overflow-x: auto !important;
    text-overflow: unset !important;
    max-width: none !important;
    width: 400px !important; /* Adjust as needed for your design */
    min-width: 180px !important; /* Same as other cells, or appropriate */
    display: table-cell !important;
    vertical-align: middle !important;
    text-align: left !important;
    padding: 0.75rem 0.6rem !important; /* Same as other table cells */
}


.navbar-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-left: auto;
    margin-right: 6px;
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: row;
        align-items: center;
        height: auto;
        padding: 0 10px;
        position: relative;
    }

    .navbar-brand {
        font-size: 1.3rem;
        padding: 12px 0;
        margin-bottom: 0;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-links {
        flex-direction: column;
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        background: #213559;
        width: 100%;
        padding: 10px 0;
        border-radius: 0 0 12px 12px;
        display: none; /* Hidden by default */
        z-index: 99;
    }

        .navbar-links.open {
            display: flex;
            animation: fadeIn 0.22s;
        }

        .navbar-links li {
            margin: 8px 0;
            width: 100%;
            text-align: left;
        }

        .navbar-links a {
            font-size: 1.15rem;
            padding: 9px 16px;
            width: 100%;
            display: block;
            border-radius: 5px;
        }

    .navbar-right {
        margin-left: 0;
    }
}

/* Fade animation for menu open */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 600px) {
    .navbar-links {
        display: none;
    }

        .navbar-links.open {
            display: flex;
        }
}


/* Home page - Container padding for balanced vertical spacing */
.home-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.wheel-graphic {
    max-width: 340px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

.feature-card {
    background: #fff;
    border: 2px solid #e0e7ef;
    border-radius: 1rem;
    transition: box-shadow .2s, border-color .2s;
    box-shadow: 0 8px 32px 0 rgba(44,62,80,.05);
    padding: 2.5rem 1.25rem 1.5rem 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .feature-card:hover {
        border-color: #007bff;
        box-shadow: 0 12px 36px 0 rgba(52, 152, 219, 0.13);
    }

.feature-img {
    width: 100%;
    max-width: 260px;
    min-width: 160px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    border-radius: 14px;
}

.feature-card-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: .75rem;
}

@media (min-width: 1200px) {
    .feature-img {
        max-width: 300px;
    }

    .feature-card {
        padding-top: 3rem;
    }
}

.btn-group-responsive {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 576px) {
    .btn-group-responsive {
        flex-direction: row;
        gap: 1rem;
    }
}

.btn-lg {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    font-size: 1.125rem;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/*navbar styles*/
.custom-navbar {
    background: #213559 !important;
    box-shadow: 0 2px 8px rgba(33,53,89,0.05);
    min-height: 56px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem !important;
    letter-spacing: 0.05em;
    color: #fff !important;
}

.custom-nav-link {
    color: #e4ebfa !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transition: color 0.15s;
    background: none !important;
    border: none !important;
}

    .custom-nav-link:hover, .custom-nav-link.active, .custom-nav-link:focus {
        color: #87aedf !important;
        background: none !important;
    }

.custom-dropdown {
    background: #213559 !important;
    border-radius: 0 0 8px 8px !important;
    min-width: 170px;
    padding: 0;
}

.custom-dropdown-item {
    color: #e4ebfa !important;
    padding: 10px 22px !important;
    font-size: 1rem !important;
    white-space: nowrap;
    background: none !important;
    border: none !important;
    transition: background .15s, color .15s;
}

    .custom-dropdown-item:hover, .custom-dropdown-item:focus {
        background: #233b68 !important;
        color: #87aedf !important;
    }

@media (max-width: 600px) {
    .custom-navbar .container-fluid {
        padding: 0 10px !important;
    }

    .navbar-nav {
        gap: 0 !important;
        align-items: flex-start !important;
        width: 100%;
    }

        .navbar-nav .nav-link,
        .navbar-nav .dropdown-menu {
            text-align: left !important;
            width: 100%;
            justify-content: flex-start !important;
        }

    .custom-dropdown {
        min-width: 100% !important;
        border-radius: 0 !important;
        left: 0 !important;
        right: auto !important;
        box-shadow: none !important;
    }

    .custom-dropdown-item {
        padding-left: 26px !important;
        text-align: left !important;
        width: 100%;
    }
}


/*stock picker styles*/

.card {
    border-radius: 12px;
    transition: box-shadow .19s;
}

    .card:hover {
        box-shadow: 0 2px 18px rgba(30,60,120,0.10),0 1.5px 6px rgba(40,70,140,.04);
    }


@media (max-width: 900px) {
    .card {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .stock-symbol {
        font-size: .95em;
    }
}


.badge.bg-momentum {
    background: #4632e4;
    color: #fff;
}

.badge.bg-income {
    background: #218838;
    color: #fff;
}

.badge.bg-growth {
    background: #0693e3;
    color: #fff;
}

.badge.bg-vol {
    background: #db143c;
    color: #fff;
}

.badge.bg-defensive {
    background: #636d77;
    color: #fff;
}

.badge.bg-midcap {
    background: #ffc107;
    color: #fff;
}

.badge.bg-value {
    background: #205081;
    color: #fff;
}

.badge.bg-tech {
    background: #191970;
    color: #fff;
}

.stock-symbol {
    font-weight: 500;
    border-radius: 8px;
    font-size: 0.97em;
}

.card-header .badge {
    font-size: 1em;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.5px;
}


/* learn */
