    .basicinvest-calc-isolated {
        all: initial;
        font-family: Arial, sans-serif;
    }

    .basicinvest-calc-isolated {
        --bg-color: #f4f6f9;
        --card-bg: #ffffff;
        --text-main: #2d3748;
        --text-muted: #718096;
        --primary: #3182ce;
        --primary-hover: #2b6cb0;
        --success: #38a169;
        --just: #7f9935;
        --error: #e53e3e;
        --border: #e2e8f0;
        --warning-bg: #fffaf0;
        --warning-border: #feebc8;
        --warning-text: #c05621;
    }

    /*@media /*(prefers-color-scheme: dark)*/
    /*{
        :root {
            --bg-color: #1a202c;
            --card-bg: #2d3748;
            --text-main: #edf2f7;
            --text-muted: #a0aec0;
            --primary: #4299e1;
            --border: #4a5568;
            --warning-bg: #2c251e;
            --warning-border: #4c3017;
            --warning-text: #fbd38d;
        }
    }*/










    .basicinvest-calc-isolated .calc_header {
        font-size: 1.4rem;
        margin-bottom: 15px;
        text-align: center;
        font-weight: 700;
        color: #3861cb;
        background: none;
    }

    .basicinvest-calc-isolated .container {
        background: var(--card-bg);
        width: 100%;
        max-width: 500px;
        padding: 25px;
        border-radius: 16px;
        box-sizing: border-box;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--border);
        margin: auto;
    }

    .basicinvest-calc-isolated {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    }



    .basicinvest-calc-isolated h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        text-align: center;
        font-weight: 700;
    }

    .basicinvest-calc-isolated .preset-buttons {
        display: flex;
        gap: 10px;
        margin-bottom: 25px;
        justify-content: center;
    }

    .basicinvest-calc-isolated .btn {
        padding: 6px 12px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.85rem;
        font-weight: 500;
        transition: background 0.2s;
    }

    .basicinvest-calc-isolated .btn-primary {
        background: var(--primary);
        color: white;
    }

    .basicinvest-calc-isolated .btn-primary:hover {
        background: var(--primary-hover);
    }

    .basicinvest-calc-isolated .btn-secondary {
        background: var(--border);
        color: var(--text-main);
        width: 100%;
        margin-top: 15px;
        font-weight: 500;
    }

    .basicinvest-calc-isolated .form-group {
        margin-bottom: 16px;
    }

    .basicinvest-calc-isolated label {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 6px;
        color: var(--text-main);
    }

    .basicinvest-calc-isolated input,
    .basicinvest-calc-isolated select {
        width: 100%;
        padding: 3px 5px;
        border: 1px solid var(--border);
        box-shadow: none;
        text-align: left;
        margin: 0px;
        box-sizing: border-box;
        border-radius: 8px;
        background: transparent;
        color: var(--text-main);
        font-size: 15px;
        outline: none;
        transition: border 0.2s;
        line-height: 20px;
        height: 30px;

    }

    .basicinvest-calc-isolated input:focus,
    .basicinvest-calc-isolated select:focus {
        border-color: var(--primary);
    }

    .basicinvest-calc-isolated .slider-box {
        background: rgba(0, 0, 0, 0.02);
        padding: 12px;
        border-radius: 8px;
        border: 1px dashed var(--border);
        margin-top: 8px;
    }

    .basicinvest-calc-isolated .slider-header {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        font-weight: bold;
        margin-bottom: 6px;
    }

    .basicinvest-calc-isolated .slider {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 100%;
        height: 6px;
        background: var(--border);
        border-radius: 3px;
        outline: none;
    }

    .basicinvest-calc-isolated .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: var(--primary);
        cursor: pointer;
    }

    .basicinvest-calc-isolated .alert-box {
        display: none;
        background: var(--warning-bg);
        border: 1px solid var(--warning-border);
        color: var(--warning-text);
        padding: 12px;
        border-radius: 8px;
        font-size: 0.85rem;
        line-height: 1.4;
        margin-top: 16px;
    }

    .basicinvest-calc-isolated .results {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 2px solid var(--border);
    }

    .basicinvest-calc-isolated .metric {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        font-size: 0.9rem;
        color: var(--text-muted);
    }

    .basicinvest-calc-isolated .metric-title {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .basicinvest-calc-isolated .metric span:last-child {
        font-weight: 600;
        color: var(--text-main);
    }

    .basicinvest-calc-isolated .final-score {
        text-align: center;
        padding: 15px;
        border-radius: 12px;
        margin-top: 15px;
        font-size: 1.1rem;
        font-weight: 700;
        transition: all 0.3s;
    }

    .basicinvest-calc-isolated .undervalued {
        background: rgba(56, 161, 105, 0.15);
        color: var(--success);
    }

    .basicinvest-calc-isolated .impartial {
        background: rgba(196, 231, 67, 0.15);
        color: var(--just);
    }

    .basicinvest-calc-isolated .overvalued {
        background: rgba(229, 62, 62, 0.15);
        color: var(--error);
    }

    .basicinvest-calc-isolated .help-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 16px;
        height: 16px;
        background: var(--border);
        color: var(--text-muted);
        border-radius: 50%;
        font-size: 0.7rem;
        cursor: pointer;
        font-weight: bold;
        user-select: none;
    }

    .basicinvest-calc-isolated .help-icon:hover {
        background: var(--primary);
        color: white;
    }

    .basicinvest-calc-isolated .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        padding: 20px;
    }

    .basicinvest-calc-isolated .modal-content {
        background: var(--card-bg);
        padding: 20px;
        border-radius: 12px;
        max-width: 400px;
        width: 100%;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        border: 1px solid var(--border);
        position: relative;
    }

    .basicinvest-calc-isolated .modal-title {
        font-weight: 700;
        margin-bottom: 10px;
        font-size: 1.05rem;
    }

    .basicinvest-calc-isolated .modal-text {
        font-size: 0.9rem;
        color: var(--text-muted);
        line-height: 1.4;
    }

    .basicinvest-calc-isolated .comp_name {
        display: inline-block;
        font-size: 13px;
        padding: 5px;
        width: 250px;
        margin: auto;

    }