/* Breadcrumb */
.bg-breadcrumb {
    background: #f8f8f8;
    padding: 10px 0;
}

.breadcrumb ul {
    display: block;
    white-space: normal;
}

.breadcrumb ul li{
    display: inline;
}

.breadcrumb ul li a{
    color: #9f9f9f;
}

.breadcrumb ul li a:hover{
    color: #096831;
}

.breadcrumb ul li:not(:last-child) {
    position: relative;
    padding-right: 15px;
}

.breadcrumb ul li:not(:last-child)::before{
    content: '/';
    color: #9f9f9f;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 4px;
}
/* End breadcrumb  */

/* Content cho editor  */
.noidung{
    font-size: 16px;
    text-align: justify;
}

.noidung p{
    margin-bottom: 10px;
}

.noidung h2{
    font-size: 24px;
    margin-bottom: 20px;
}

.noidung h3{
    font-size: 20px;
    margin-bottom: 15px;
}

.noidung hr{
    margin: 15px 0;
}

.noidung img{
    margin: 15px 0;
    border-radius: 20px;
}

.noidung blockquote{
    border-left: 5px solid #ddd;
    padding: 8px 0 8px 15px;
    margin-bottom: 15px;
}

.noidung blockquote h3,
.noidung blockquote h2{
    margin-bottom: 0;
}

.noidung ul li {
    list-style: disc;
}

.noidung ol li {
    list-style: decimal;
}

.noidung ul,
.noidung ol {
    margin-left: 20px;
}
/* end  */

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 5px 12px 6px 12px;
    margin-left: -1px;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    border-radius: 0.25rem;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #096831;
    border-color: #096831;
}

/* Add styling for broker rating stars */
.text-warning {
    color: #ffc107 !important;
}

.broker-rating {
    margin-top: 10px;
}

.stars-display {
    font-size: 16px;
    margin-bottom: 5px;
}

.stars-display i {
    margin-right: 2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rating-text {
    font-size: 12px;
    opacity: 0.9;
}

/* Interactive rating button and modal styles */
.rating-button {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    color: #333;
    font-weight: 600;
    font-size: 12px;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.rating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    color: #333;
}

.rating-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rating-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}

.interactive-stars {
    font-size: 32px;
    text-align: center;
    margin: 20px 0;
}

.interactive-stars i {
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #ddd;
}

.interactive-stars i:hover,
.interactive-stars i.active {
    color: #ffd700;
    transform: scale(1.1);
}

.interactive-stars i:hover ~ i {
    color: #ddd;
}

.rating-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.rating-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

.rating-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
