.form-control-sm {
    padding-right: 0 !important;
}
/* Asset Selection Modal Styling */
#assetSelectionModal {
    z-index: 1200;
}

#assetSelectionModal .modal-dialog {
    max-width: 800px;
    max-height: calc(100vh - 2rem);
    margin: 1rem auto;
    z-index: 1201;
}

#assetSelectionModal .modal-content {
    flex: 1;
    max-height: 100%;
    overflow: hidden;
    z-index: 1202;
}

#assetSelectionModal .modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 2rem - 120px);
}

/* Ensure modal is properly hidden when not shown */
#assetSelectionModal:not(.show) {
    display: none !important;
}

/* Ensure bg-danger badge keeps its red background */
.modal-backdrop {
    z-index: 1199;
}

/* Section 1 Header Layout for Normal Screens */
@media (min-width: 768px) {
    .card-header.d-flex {
        align-items: flex-start !important;
    }
    
    .card-header .flex-grow-1 {
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }
    
    .card-header #introButton,
    .card-header #introButtonB {
        flex: 0 0 0 !important;
        max-width: 20% !important;
        align-self: flex-start !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Section 1 Input Parameters Styling */
.input-param-box {
    display: flex;
    align-items: center;
    border: 1px solid #000;
    border-radius: 6px;
    background-color: #fff;
    font-family: 'Spline Sans', sans-serif;
    height: 40px;
    overflow: hidden;
}

.input-param-box i {
    font-size: 1rem;
    color: #040814;
    flex-shrink: 0;
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-right: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

/* Asset icon styling */
.input-param-box .asset-icon {
    color: #fff !important;
    height: 38px !important;
    width: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important; /* Adjust font size to fit nicely in 38px */
}

.input-param-box .asset-icon-stock {
    background-color: var(--asset-stock-color) !important;
}

.input-param-box .asset-icon-bond {
    background-color: var(--asset-bond-color) !important;
}

.input-param-box .asset-icon-gold {
    background-color: var(--asset-gold-color) !important;
}

/* Calendar icon styling */
.input-param-box .calendar-icon {
    color: #040814 !important;
    background-color: #f8f9fa !important;
}

.input-param-box label {
    font-weight: bold;
    color: #040814;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0; /* Don't shrink */
    padding: 0.5rem;
    border-right: 1px solid #000;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    min-width: auto; /* Fit to content */
    width: auto; /* Fit to content */
    justify-content: center; /* Center text within content */
}

.input-param-box input.form-control {
    flex: 1; /* Grow to fill available space */
    border: none;
    background: transparent;
    padding: 0.5rem;
    font-size: 0.9rem;
    height: 100%;
    width: auto; /* Fit to container */
    min-width: 80px; /* Minimum width for usability */
}

.input-param-box input.form-control:focus {
    outline: none;
    box-shadow: none;
}

.input-param-box select.form-control {
    flex: 1 1 auto; /* Grow to fill container */
    border: none;
    background: transparent;
    padding: 0.5rem;
    font-size: 0.9rem;
    height: 100%;
    width: 100%; /* Match input-param-box width */
}

/* Full-width transaction type selector on rebalancer */
#transactionType {
    width: 100% !important;
}

.input-param-box select.form-control:focus {
    outline: none;
    box-shadow: none;
}

.section-divider {
    border: 0;
    border-top: 1px solid #000;
    margin: 0;
    opacity: 1;
    width: 100%;
}

/* Tutorial button styling - Gold color, no shadows */
#introButton, #introButtonB {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    flex-shrink: 1;
    margin-left: 0 !important;
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--darkblue) !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

#introButton:hover, #introButtonB:hover {
    background-color: #e6c200 !important;
    border-color: #e6c200 !important;
    color: var(--darkblue) !important;
}

#introButton i, #introButtonB i {
    font-family: "Font Awesome 6 Free" !important;
    font-size: 0.875rem !important;
}

#introButton span, #introButtonB span {
    font-family: 'Spline Sans', sans-serif !important;
}

/* Asset Brand Color Variables */
:root {
    --asset-stock-color: rgb(74, 109, 177);
    --asset-stock-bg: rgba(74, 109, 177, 0.05);
    --asset-bond-color: rgb(11, 18, 46);
    --asset-bond-bg: rgba(11, 18, 46, 0.05);
    --asset-gold-color: rgb(255, 209, 10);
    --asset-gold-bg: rgba(255, 209, 10, 0.05);
}

/* Brand Colors for Asset Classes */
.tickersSTOCK {
    border-left: 4px solid var(--asset-stock-color) !important;
    background-color: var(--asset-stock-bg) !important;
    padding: 10px 0 10px 0;
    margin-bottom: 0 !important;
}

.tickersBOND {
    border-left: 4px solid var(--asset-bond-color) !important;
    background-color: var(--asset-bond-bg) !important;
    padding: 10px 0 10px 0;
    margin-bottom: 0 !important;
}

.tickersGOLD {
    border-left: 4px solid var(--asset-gold-color) !important;
    background-color: var(--asset-gold-bg) !important;
    padding: 10px 0 10px 0;
}

.tickersSTOCK td, .tickersBOND td, .tickersGOLD td {
    background-color: inherit;
    color: inherit;
}

/* Section width control - always 85% desktop, 80% mobile */
.w-85 {
    width: 85% !important; /* Always 85% on desktop */
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Mobile responsive sections - 80% width on mobile phones */
@media (max-width: 768px) {
    .w-85 {
        width: 80% !important; /* 80% width on mobile phones */
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Main section cards - should fill 85% of screen always */
.card.main-section-card {
    width: 100%;
    max-width: 100%;
}

/* Make text-muted paragraph span full width while keeping button inside */
.card-header {
    flex-direction: column !important;
    align-items: stretch !important;
}

.card-header .flex-grow-1 {
    width: 100% !important;
    margin-bottom: 0.5rem;
}

.card-header .text-muted {
    width: 100% !important;
    max-width: 100% !important;
}

.card-header button {
    align-self: flex-end;
    margin-top: 0.5rem;
}

/* Risk slider styling */
.input-param-box input[type="range"] {
    flex: 1; /* Grow to fill available space */
    border: none;
    background: transparent;
    padding: 0.5rem;
    font-size: 0.9rem;
    height: 100%;
}

.input-param-box input[type="range"]:focus {
    outline: none;
    box-shadow: none;
}

.input-group-text {
    background-color: #f8f9fa;
    border-left: 1px solid #000;
    border-right: none;
    border-top: none;
    border-bottom: none;
    color: #dc3545;
    font-weight: bold;
    font-size: 1.2em;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile responsive labels and inputs */
@media (max-width: 480px) {
    .input-param-box label {
        width: auto; /* Fit to content on mobile */
        min-width: auto; /* Fit to content */
        font-size: 0.8rem; /* Smaller font */
    }
    
    .input-param-box input.form-control {
        width: 100px !important; /* Fit to container on mobile */
        min-width: 70px !important; /* Minimum width for mobile */
    }
    
    .input-param-box select.form-control {
        width: 80px !important; /* Smaller width on mobile */
    }
}

@media (max-width: 360px) {
    .input-param-box label {
        width: auto; /* Fit to content on very small phones */
        min-width: auto; /* Fit to content */
        font-size: 0.75rem; /* Even smaller font */
    }
    
    .input-param-box input.form-control {
        width: auto; /* Fit to container on small phones */
        min-width: 60px; /* Minimum width for small phones */
    }
    
    .input-param-box select.form-control {
        width: 60px !important; /* Very small percentage inputs on small phones */
    }
}

/* Asset labels - make them all the same width for consistency */
.input-param-box label[for*="TickerDisplay"] {
    width: 70px !important; /* Fixed width for all asset labels */
    min-width: 70px !important;
    flex-shrink: 0 !important; /* Don't shrink */
}

/* Risk level label - make it wider to fit content */
.input-param-box label[for="riskLevel"] {
    width: auto !important; /* Fit to content */
    min-width: 100px !important; /* Wider minimum width */
    flex-shrink: 0 !important; /* Don't shrink */
}

/* Risk value display styling */
#riskValue {
    font-size: 1.2em !important;
    background-color: #dc3545 !important;
    color: white !important;
    border: none !important;
    border-radius: 0 !important;
    height: 35px !important;
    min-width: 20px !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Pharos Risk panel - horizontal layout for rebalance page */
.rebalance-risk-box {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    width: fit-content !important;
    min-width: auto !important;
}

.rebalance-risk-box .d-flex {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    height: 100% !important;
    border: none !important;
    background-color: transparent !important;
}

.rebalance-risk-box .risk-btn {
    width: 40px !important;
    height: 100% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    border: none !important;
}

.rebalance-risk-box .risk-btn span {
    color: #dc3545 !important;
}

.rebalance-risk-box .risk-btn:hover,
.rebalance-risk-box .risk-btn:active,
.rebalance-risk-box .risk-btn:focus {
    background-color: transparent !important;
    border-color: inherit !important;
    box-shadow: none !important;
}

.rebalance-risk-box .risk-btn:hover span,
.rebalance-risk-box .risk-btn:active span,
.rebalance-risk-box .risk-btn:focus span {
    color: #dc3545 !important;
}

/* - button: remove all border radius for square corners */
.rebalance-risk-box #riskDown {
    border-radius: 0 !important;
    border-left: 1px solid red !important;
}

/* + button: remove all border radius for square corners */
.rebalance-risk-box #riskUp {
    border-radius: 0 !important;
    border-right: 1px solid red !important;
}

.rebalance-risk-box #riskValue {
    min-width: 30px !important;
    font-size: 1.1em !important;
    height: 100% !important;
}

.rebalance-risk-box .risk-help-icon {
    flex-shrink: 0 !important;
    border-right: none !important;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .rebalance-risk-box {
        height: auto !important;
        min-height: 40px !important;
    }
    
    .rebalance-risk-box label {
        font-size: 0.9rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    
    .rebalance-risk-box .risk-btn {
        width: 40px !important;
        height: 40px !important;
    }
    
    .rebalance-risk-box #riskValue {
        font-size: 1em !important;
        height: 40px !important;
        width: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .rebalance-risk-box .d-flex {
        gap: 0 !important;
    }
    
    .rebalance-risk-box .risk-btn {
        width: 40px !important;
        height: 40px !important;
    }
    
    .rebalance-risk-box #riskValue {
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Results tabs styling */
#resultsTabs {
    white-space: nowrap !important;
}

/* Operation cards styling */
.card-body.operation-card {
    font-size: 2.5em !important;
}

.card-footer.operation-detail {
    font-size: 1rem !important;
}

/* Arrow icons in operations - default white, but JavaScript will override for buy/sell */
.operation-arrow {
    color: white;
}

/* Asset Selection Modal Styling */
#assetSelectionModal {
    z-index: 1200;
}

#assetSelectionModal .modal-dialog {
    max-width: 800px;
    max-height: calc(100vh - 2rem);
    margin: 1rem auto;
    display: flex;
    z-index: 1201;
}

#assetSelectionModal .modal-content {
    flex: 1;
    max-height: 100%;
    overflow: hidden;
    z-index: 1202;
}

/* Ensure modal is properly hidden when not shown */
#assetSelectionModal:not(.show) {
    display: none !important;
}

/* Remove any backdrop interference */
.modal-backdrop {
    z-index: 1199;
}

.asset-item {
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

.asset-item:hover {
    border-color: #86b7fe;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transform: translateY(-1px);
}

.asset-item.selected {
    border-color: #0d6efd;
    background-color: #e7f1ff;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.asset-item h6 {
    color: #212529;
    font-weight: 600;
}

.asset-item small {
    font-size: 0.875rem;
}

.asset-item .badge {
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    line-height: 1.2;
}




/* Search input styling */
#assetSearchInput {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
}

#assetSearchInput:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Asset list container */
#assetListContainer {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
}

#assetSelectionModal .modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 2rem - 120px);
}

#assetListContainer::-webkit-scrollbar {
    width: 8px;
}

#assetListContainer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#assetListContainer::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

#assetListContainer::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mobile responsive styles for asset selection modal */
@media (max-width: 768px) {
    #assetSelectionModal .modal-dialog {
        max-width: calc(100vw - 1rem) !important;
        margin: 0.5rem auto !important;
        max-height: calc(100vh - 1rem) !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    #assetSelectionModal .modal-content {
        max-height: calc(100vh - 1rem) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important; /* No scroll on modal-content */
    }
    
    #assetSelectionModal .modal-header {
        flex-shrink: 0 !important;
        padding: 1rem 0.75rem !important;
    }
    
    #assetSelectionModal .modal-body {
        flex-shrink: 0 !important; /* Don't shrink */
        overflow: visible !important; /* No scroll on modal-body */
        padding: 1rem 0.75rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    #assetSelectionModal .modal-footer {
        flex-shrink: 0 !important;
        padding: 0.75rem !important;
        background: white;
        border-top: 1px solid #dee2e6;
        position: sticky;
        bottom: 0;
        z-index: 10;
    }
    
    /* ONLY the asset list container should scroll */
    #assetListContainer {
        max-height: calc(100vh - 320px) !important; /* Account for header, search, filters, footer */
        overflow-y: auto !important;
        flex: 1 1 auto !important;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    #assetSelectionModal .modal-title {
        font-size: 1.1rem !important;
    }
    
    #assetSearchInput {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Exchange filter buttons - 2 per row on mobile */
    .exchange-filter-buttons {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem !important;
        justify-content: center !important;
    }
    
    .exchange-filter-btn {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.75rem !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    #assetSelectionModal .modal-dialog {
        max-width: calc(100vw - 0.5rem) !important;
        margin: 0.25rem auto !important;
        max-height: calc(100vh - 0.5rem) !important;
    }
    
    #assetSelectionModal .modal-content {
        max-height: calc(100vh - 0.5rem) !important;
        overflow: hidden !important;
    }
    
    /* Adjust for smaller screens */
    #assetListContainer {
        max-height: calc(100vh - 300px) !important;
    }
    
    .asset-item {
        padding: 0.75rem !important;
    }
    
    .asset-item h6 {
        font-size: 0.95rem !important;
    }
    
    .asset-item small {
        font-size: 0.8rem !important;
    }
}

/* Loader modal styling - center the modal */
#loaderModal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

#loaderModal .modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

/* Section width control - always 85% desktop */
.w-85 {
    width: 85% !important; /* Always 85% on desktop */
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Normal desktop padding - pt-4 */
.container-fluid.pt-5 {
    padding-top: 1.5rem !important; /* pt-4 equivalent */
}

/* Mobile responsive sections - 100% width on small screens, no rounded corners */
@media (max-width: 768px) {
    .w-85 {
        width: 100% !important; /* Full width on small screens */
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important; /* Remove top padding on small screens */
    }
    
    .card.main-section-card {
        border-radius: 0 !important; /* Remove rounded corners */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Remove container padding on small screens */
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 0 !important; /* Remove top padding on small screens */
    }
    
    /* Shares owned containers match asset input width on small screens */
    .tickersSTOCK .col-auto:last-child,
    .tickersBOND .col-auto:last-child,
    .tickersGOLD .col-auto:last-child {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .tickersSTOCK .col-auto:last-child .input-param-box,
    .tickersBOND .col-auto:last-child .input-param-box,
    .tickersGOLD .col-auto:last-child .input-param-box {
        width: 100% !important;
    }
    
    /* Align shares input right border with search button right border */
    .tickersSTOCK .col-auto:first-child .input-group,
    .tickersBOND .col-auto:first-child .input-group,
    .tickersGOLD .col-auto:first-child .input-group {
        width: 100% !important;
    }
    
    /* Compact search buttons in asset selectors */
    .tickersSTOCK .input-group .btn,
    .tickersBOND .input-group .btn,
    .tickersGOLD .input-group .btn {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    
    .tickersSTOCK .col-auto:last-child .input-param-box,
    .tickersBOND .col-auto:last-child .input-param-box,
    .tickersGOLD .col-auto:last-child .input-param-box {
        width: 100% !important;
    }
    
    /* Apply same styling to section2 results container */
    #rebalanceResultsContainer {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #rebalanceResultsContainer .card.main-section-card {
        border-radius: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Ticker display styling - ensure consistent width for all asset selector inputs */
.asset-selector-input {
    width: auto; /* Match Shares Owned behavior */
    min-width: 110px; /* Requested minimum width */
    max-width: 100%;
}

.ticker-display-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 0.25rem; /* space before badge */
}

.ticker-display-text.placeholder {
    color: #6c757d;
}

.asset-selector-input .ticker-status-badge {
    flex: 0 0 auto;
    flex-shrink: 0;
    margin-left: 0;
}

/* Allow badges to render without being clipped in ticker rows */
.tickersSTOCK .input-param-box,
.tickersBOND .input-param-box,
.tickersGOLD .input-param-box {
    overflow: visible;
}

/* ===========================================
   Batch Rebalancing Comparison Table Styles
   =========================================== */

/* Comparison Table Styling */
#rebalanceComparisonTable {
    font-size: 0.9rem;
}

#rebalanceComparisonTable thead th {
    background-color: rgba(17, 26, 60, 0.05);
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

#rebalanceComparisonTable tbody td {
    vertical-align: middle;
    text-align: center;
}

/* Asset column light background colors */
.rebalance-col-stock,
#rebalanceComparisonTable tbody td:nth-child(2) {
    background-color: rgba(74, 109, 177, 0.08) !important; /* Light blue - stock color */
}

.rebalance-col-bond,
#rebalanceComparisonTable tbody td:nth-child(3) {
    background-color: rgba(11, 18, 46, 0.05) !important; /* Light dark blue - bond color */
}

.rebalance-col-gold,
#rebalanceComparisonTable tbody td:nth-child(4) {
    background-color: rgba(255, 209, 10, 0.12) !important; /* Light gold - gold color */
}

.rebalance-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rebalance-row:hover {
    background-color: rgba(17, 26, 60, 0.03);
}

.rebalance-row.table-primary,
.rebalance-row.table-active {
    background-color: rgba(13, 110, 253, 0.15) !important;
}

/* Risk level badges in table - all red */
#rebalanceComparisonTable .badge {
    font-size: 0.85rem;
    padding: 0.35em 0.5em;
    min-width: 30px;
    background-color: #dc3545 !important; /* Red for all risk badges */
}

/* Radio button styling */
.preference-radio {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
    accent-color: #0d6efd;
}

.preference-radio:checked {
    transform: scale(1.1);
}

/* Submit preference button */
#submitPreferenceBtn {
    min-width: 180px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease;
}

#submitPreferenceBtn:disabled {
    opacity: 0.6;
}

#submitPreferenceBtn:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Selected summary panel */
#selectedSummaryPanel {
    border-top: 2px solid #0d6efd;
    padding-top: 1rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Preference hint text */
#preferenceHint {
    opacity: 0.8;
    transition: opacity 0.2s;
}

/* Responsive table adjustments */
@media (max-width: 767.98px) {
    #rebalanceComparisonTable {
        font-size: 0.8rem;
    }
    
    #rebalanceComparisonTable th,
    #rebalanceComparisonTable td {
        padding: 0.5rem 0.25rem;
    }
    
    #rebalanceComparisonTable .badge {
        font-size: 0.75rem;
        min-width: 25px;
    }
    
    .preference-radio {
        width: 1rem;
        height: 1rem;
    }
    
    #rebalanceComparisonTable small {
        font-size: 0.7rem;
    }
    
    #submitPreferenceBtn {
        width: 100%;
        min-width: unset;
    }
}
