/* ---------------------------------------------------
    Investment Case Styles
----------------------------------------------------- */

.table-financial-info {
    width: 45%;
    background-color: var(--mid-grey);
    border-radius: 3vw;
}

.range-dcf {
    width: 90%;
}

.range-dcf::-webkit-slider-thumb {
    background-color: var(--section-grey) !important;
    border: var(--border-cyan) solid 0.1vw;
    min-height: 0.5vw;
}

.range-dcf::-webkit-slider-thumb:hover {
    background-color: var(--mid-grey) !important;
    border: var(--border-cyan) solid 0.1vw;
}

.range-dcf-span {
    display: block;
    text-align: center;
    color: var(--text-grey);
}


.wrapper {
    display: flex;
    width: 100%;
}

.menu-left-side a {
    text-decoration: none;
}

.menu-left-side a.active, .menu-left-side a:hover {
    text-decoration: none;
    color: var(--border-cyan);
}

#sidebar {
    width: 250px;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.inactive {
    margin-left: -250px;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid var(--mid-grey);
}

#sidebar ul li a {
    padding: 5px 20px;
    display: block;
}

#sidebar ul li a:hover {
    color: rgb(11, 100, 85);
    border-left: 2px #fff solid;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); /* Soft white glow */
    transition: background-color 0.3s, box-shadow 0.3s; /* Smooth effect */
}

#sidebar ul li.active > a,
a[aria-expanded="true"] {

    color: rgb(11, 100, 85);
    border-left: 2px #fff solid;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    padding-left: 30px !important;
    background: var(--mid-grey);
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */


.dark-red {
    color: darkred;
}

.height-100vh {
    height: 100vh;
}


/* Apply a smaller fixed width to the table cells */
#ajaxResponseTable th,
#ajaxResponseTable td {
    width: 80px; /* Adjust this value as needed (smaller values will accommodate more columns) */
}


/* Make the first column wider */
#ajaxResponseTable th:first-child,
#ajaxResponseTable td:first-child {
    width: 150px; /* Adjust this value as needed */
}

/* Make the table's container scrollable horizontally */
#ajaxResponse {
    overflow-x: auto;
}


#transcript-container {
    padding: 20px;
}


.paragraphs {
    background-color: transparent; /* Just for text */
}


@media (min-width: 1300px) {
    .main-container {
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
    }

    #subscroll-section {
        width: 95%;
        padding: 20px;
        min-height: 150vh;
        transition: all 0.3s;
        margin-right: 5%;
    }

    .highlight-box {
        background-color: white; /* Highlights section */
        padding: 10px;
        width: 45%;
        float: right; /* Puts it on the right and makes text flow around */
        margin-left: 20px; /* Adds space between text and box */
        margin-bottom: 20px; /* Adds space between text and box */
        border-radius: 10px; /* Soft corners like in your image */
        box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3); /* Subtle shadow */
    }

    .porter-chart-box {
        padding: 10px;
        width: 55%;
        float: left;
        margin-right: 20px;
        margin-bottom: 20px;
        box-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
    }
}

@media (max-width: 1300px) {
    .main-container {
        width: 95%;
        margin-left: 2.5%;
        margin-right: 2.5%;
        padding:0;
    }

    #subscroll-section {
        width: 100%;
        padding: 0;
        min-height: 150vh;
        transition: all 0.3s;
        margin-right: 0%;
    }

    .highlight-box {
        background-color: white; /* Highlights section */
        padding: 10px;
        margin-bottom: 20px;
        border-radius: 10px; /* Soft corners like in your image */
        box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3); /* Subtle shadow */
    }

    .porter-chart-box {
        padding: 10px;
        width: 100%;
        margin-bottom: 20px;
        box-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
    }
}


@media (max-width: 600px) {
    .main-container {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

}

.description-box, .insight-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.text-truncate-multiline {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 6;
    line-height: 1.5em;
    max-height: calc(1.5em * 6);
    transition: max-height 0.3s ease;
}

.text-expanded {
    display: block;
    -webkit-line-clamp: unset;
    max-height: none;
    overflow: visible;
    transition: max-height 0.3s ease;
}

.toggle-link {
    cursor: pointer;
    margin-top: auto;
    align-self: flex-start;
}

.card-stock-fx {
    height: 50%;
    border-radius: 3vw;
    margin-bottom: 1px;
    cursor: pointer;
}

.rounded-circle-watchlist {
    background-color: black;
    height: 35px;
    width: 35px;
}