.quotation-main-content {
    position: relative;
}

.quotation-main-content .content-wrapper {
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.nav.nav-tabs.tabs li {
    width: 50%;
    text-align: center;
}

.nav.nav-tabs.tabs li>a>strong {
    font-size: 18px;
}

.nav.nav-tabs.tabs li.active>a>strong {
    color: #C70B27 !important;
}

.search-box {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-status-tab {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.search-status-tab span {
    font-size: 24px;
    color: #C70B27;
    margin-right: 10px;
}

.select-date-preset {
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0;
    box-shadow: none;
}

.select-date-preset select {
    width: 100%;
    padding: 8px 12px;
    border: none;
    background-color: transparent;
    border-radius: 4px;
    height: 100%;
}

.select-need {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.search-radio-hidden {
    display: none;
}

.select-need label {
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: normal;
}

.search-radio-hidden:checked+label {
    background-color: #C70B27;
    color: #fff;
    border-color: #C70B27;
}

.search-field {
    margin-bottom: 15px;
    width: 100%;
    overflow: hidden;
}

.search-field label {
    display: block;
    font-weight: bold;
    color: #666;
}

.search-field input[type="text"],
.search-field input[type="date"],
.search-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.input-group {
    display: flex;
    width: 100%;
}

.input-group input {
    flex: 1;
    min-width: 0;
}

.input-group-addon {
    padding: 8px 12px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.btn-extra {
    background-color: #C70B27;
    color: #fff;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 44px;
}

.btn-extra:hover {
    background-color: #a00a20;
}

.m-r-5 {
    margin-right: 5px;
}

@media (max-width: 767px) {
    .search-container {
        flex-direction: column
    }

    .search-status-tab {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

.search-field .bootstrap-select,
.search-field .dropdown {
    width: 100% !important;
}

.search-field .bootstrap-select>.dropdown-toggle,
.search-field .dropdown>.dropdown-toggle {
    width: 100% !important;
}

/* The problem section starts here */
.quotation-main-content {
    position: relative;
    /* Remove 'overflow: hidden;' from here */
}

.quotation-main-content .content-wrapper {
    max-height: 150px;
    overflow: hidden; /* This is the key for collapsing */
    transition: max-height 0.3s ease-out;
}

.quotation-main-content .read-more {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 70%);
    cursor: pointer;
    text-align: center;
    z-index: 10;
    display: none;
}

.quotation-main-content .read-more::before {
    font-family: Oswald, sans-serif;
    content: 'ĐỌC THÊM';
    font-size: 13px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    z-index: 11;
}

.quotation-main-content .read-more.expanded {
    background: none;
    position: static;
    height: auto;
    margin-top: 10px;
    display: block;
}

.quotation-main-content .read-more.expanded::before {
    content: 'THU GỌN';
    position: static;
    transform: none;
    color: #337ab7;
    display: inline-block;
    text-decoration: underline;
}

.quotation-main-content .read-more:hover::before {
    color: #0056b3;
}