.firm-subtle-shadow {
    box-shadow: 0 -1px 1px rgb(255 255 255 / 34%);
}
.single-firm-container{
    max-width: 1260px;
    margin: 0 auto;
}

.firm-container-custom {
    max-width: 1260px;
    margin: 0 auto;
}

.firm-single-firm-card {
    background-color: rgb(21, 23, 36);
    border-radius: 20px;
    box-shadow: 1px -1px 1.5px rgb(61, 126, 219);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.firm-single-firm-card.firm-card-fixed-height {
    height: 240px;
    overflow: hidden;
}

.firm-title-container .firm-title{
    /* font-size: 3em; */
    font-weight: 600;
}

.claim-offer-container a, .leave-review-text a{
    font-size: 1em;
    font-weight: 600;
}

.claim-offer-container{
    padding: .8rem 2rem;
    background: linear-gradient(131deg, #3385FF 0, #00B4FF 95%);
}

.leave-review-icon svg{
    width: 30px;
    height: 30px;
}

.firm-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.firm-logo-arrow {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #ffffff 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

.firm-logo-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.3;
    color: #ffffff;
    text-transform: uppercase;
}

.firm-logo-text .firm-trademark {
    font-size: 0.8rem;
    vertical-align: super;
}

.firm-badge-pill {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.firm-metadata-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.firm-metadata-value {
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 400;
}

.firm-company-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0;
    text-align: center;
}

.firm-rating-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}

.firm-stars-container {
    display: flex;
    gap: 0.25rem;
    margin: 0.5rem 0;
}

.firm-star-full {
    color: #3b82f6;
    font-size: 1.25rem;
}

.firm-star-half {
    background: linear-gradient(90deg, #3b82f6 50%, rgba(255, 255, 255, 0.3) 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.25rem;
}

.firm-star-empty {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
}

.firm-review-count {
    font-size: 0.875rem;
    color: #3b82f6;
    margin-top: 0.5rem;
}

.firm-rating-breakdown {
    margin-top: 1.5rem;
}

.firm-rating-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.firm-rating-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 50px;
}

.firm-rating-label .firm-star-icon {
    color: #ffffff;
    font-size: 0.875rem;
}

.firm-progress-bar-custom {
    flex: 1;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.firm-progress-fill {
    height: 100%;
    background-color: #3b82f6;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.firm-progress-fill[data-width="5"] { width: 69%; }
.firm-progress-fill[data-width="4"] { width: 21%; }
.firm-progress-fill[data-width="3"] { width: 6%; }
.firm-progress-fill[data-width="2"] { width: 2%; }
.firm-progress-fill[data-width="1"] { width: 2%; }

.firm-rating-count {
    min-width: 30px;
    text-align: right;
    font-size: 0.875rem;
    color: #ffffff;
}

.firm-trustpilot-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00b67a;
}

.firm-cfd-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 1rem;
}

.firm-metadata-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.firm-metadata-item {
    flex: 1;
    min-width: 120px;
}

.firm-metadata-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.firm-flag-icon {
    width: 16px;
    height: 12px;
    display: inline-block;
    border-radius: 2px;
    object-fit: cover;
}

.firm-offer-section {
    /* background-color: rgb(21, 23, 36); */
    /* border-radius: 20px; */
    /* box-shadow: 0 -1px 0px 0px #376bb5; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    margin-top: 2rem;
}

.firm-offer-section-header-wrapper{
    background-color: rgb(21, 23, 36); 
    border-radius: 20px;
    box-shadow: 0 -1px 1px 0px #376bb5;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 9px 0px 6px;
}

.firm-offer-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1rem 0.5rem 1rem;
    flex: 0 0 auto;
}

.firm-offer-header::after{
    content: " ";
    font-size: 14px;
    position: relative;
    color: #5d5d5d;
    border: 1px solid #66666663;
    height: 44px;
    margin-left: 0.95rem;
    margin-right: 0.95rem;
}

.firm-offer-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.firm-offer-logo {
    width: 200px;
} 

/* 
.firm-offer-company-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.firm-offer-company-name .firm-trademark {
    font-size: 0.7rem;
    vertical-align: super;
}
*/
.firm-offer-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 2% 1.5rem;
    flex: 0 0 auto;
    font-size: 1.5rem;
}

.firm-offer-rating-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.firm-offer-rating-number::after{
    content: "";
    margin-left: 0.6rem;
    font-size: 10px;
    position: relative;
    top: 3px;
    margin-right: .2rem;
    color: #5d5d5d;
    border-right: 1px solid;
    height: 18px;
    display: inline-block;
}

.firm-offer-stars {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.firm-offer-stars i {
    color: #3286FF;
    font-size: 2rem;
}

.firm-offer-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 2% 3% 2% 1.5rem;
    flex: 1 1 auto;
    justify-content: flex-start;
}

.firm-discount-badge {
    border-radius: 20px;
    padding: 0.6rem 1.75rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    /* margin-right: 60px; */
    background: linear-gradient(0deg, #476B9F00 0, #3e5b83 95%);
}

.firm-code-display-separator {
    
    font-size: 14px;
    position: relative;
    color: #5d5d5d;
    border: 1px solid #66666663;
    height: 44px;
    margin-right: 0.95rem;
    margin-left: 0.95rem;
}

/* .firm-discount-badge:after {
    content: " ";
    margin-left: 0.4rem;
    font-size: 14px;
    position: relative;
    color: #5d5d5d;
    border: 1px solid #66666663;
    height: 44px;
} */
.firm-code-display {
    box-shadow: 0 -1px 0 0px rgb(61, 126, 219);
    border-radius: 20px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #dcdcdc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(130deg, #476B9F00 0, #3e5b83 95%);
}

.firm-code-display .code-text{
    font-size: 0.8rem;
}

.firm-code-display .code-text::after{
    content: "|";
    margin-left: 0.2rem;
    font-size: 10px;
    position: relative;
    top: -1px;
    margin-right: .2rem;
}

.firm-code-display-code {
    color: white;
    font-weight: 600;
}

.firm-claim-button {
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    background: linear-gradient(131deg, #3385FF 0, #00B4FF 95%);
    text-decoration: none;
}

.firm-claim-button:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.firm-nav-tabs-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    border-radius: 60px;
    box-shadow: 0 1px 0px 1px #EAF2FD70;
    padding: .8rem 11px 0.8rem 26px;
    max-width: 720px;
    margin: 2rem auto 0;
    flex-basis: 100%;
    width: 100%;
}

.section-container {
    flex-basis: 100%;
    width: 100%;
}

.firm-content-section-container{
    margin-top: 60px;
}

.firm-content-section-container .overview-section-container{
    border-left: 2px solid #3286FF;
}

.firm-nav-tab {
    padding: 0.75rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    flex: 1;
    min-width: none;
}

.firm-nav-tab.active {
    background-color: #3286FF;
    color: #ffffff;
    border-radius: 60px;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.firm-nav-tab:not(.active):hover {
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.05);
}

.firm-tab-content {
    display: none;
    /* margin-top: 2rem; */
}

.firm-tab-content.active {
    display: block;
}

.firm-reviews-section{
    margin-bottom: 5rem;
}

.firm-challenges-section{
    padding-bottom: 3rem;
}

.firm-section-container {
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%) 1;
    border-image-slice: 1;
}

.firm-overview-header {
    background: #1072ff;
    padding: 0.4rem 1.5rem 0.4rem 1rem;
    border-radius: 0;
    margin-bottom: 2rem;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    
}

#overview .firm-overview-header {
    clip-path: polygon(0 0, 100% 0, calc(100% - 6%) 100%, 0% 100%);
}
.firm-overview-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #d8d8d8;
    margin: 0;
    flex-shrink: 0;
}

.firm-overview-header.firm-challenges-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    background: transparent;
}

.firm-filters {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.firm-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    background: linear-gradient(180deg, #4f4f4f57 0, #2f2f2fdb 95%);
    padding: 0.4rem 0.4rem 0.4rem 1rem;
    border-radius: 60px;
    box-shadow: 1px -1px 1.5px rgb(113, 116, 129);
}

.firm-overview-header.firm-challenges-header{
    padding: 0.5rem 1rem 0.5rem 1rem;
}

.firm-filter-label {
    color: #b1b1b1;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.firm-filter-select {
    background: transparent;
    color: #e7e7e7;
    border: 0;
    border-radius: 4px;
    padding: 0.4rem 0rem 0.4rem 0rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    width: 73px;
}

.firm-filter-select:hover {
    background-color: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.firm-filter-select:focus {
    border-color: rgba(255, 255, 255, 0.7);
}

.firm-filter-select option {
    background: #1a1a1a;
    color: #ffffff;
}

.firm-inline-sections-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
    align-items: stretch;
    max-width: 59%;
}

.firm-inline-sections-container .firm-overview-section {
    /* flex: 1; */
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
}

.allowed-market-section{
    flex: 0 0 auto;
}

.firm-inline-sections-container .firm-overview-grid {
    flex: 1;
    display: flex;
    /* grid-template-columns: repeat(auto-fill, minmax(140px, max-content)); */
    gap: 0.3rem;
    align-content: center;
}

.allowed-market-section .firm-overview-section {
    margin-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 2rem;
}

.firm-overview-section-title {
    font-size: 1rem;
    color: #878787;
    text-transform: none;
    letter-spacing: 0.5px;
    /* margin-bottom: 1rem; */
}
.firm-support-channels-container .firm-overview-section-title{
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}
.firm-platforms-section-title{
    color: #878787;
}
.firm-overview-section-title.payment-methods-title {
    margin-top: 41%;
}

.firm-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, max-content));
    gap: 1rem;

}

.firm-overview-card {
    border-radius: 8px;
    padding: 1.2rem 0.8rem;
    margin: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.2s;
    /* border: 1px solid #ffffff03; */
    width: 155px;
    height: 110px;
    background: linear-gradient(178deg, #27272724 0, #333437 95%);
}

.firm-overview-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.firm-overview-card img,
.firm-overview-card svg {
    /* width: 120px;
    height: 82px; */
    /* margin-bottom: 0.6rem; */
    object-fit: contain;
    max-width: 100%;
}

.payment-methods-section .firm-overview-card img,
.payment-methods-section .firm-overview-card svg {
    width: 50px;
    height: auto;
    min-height: 60px;
}

.firm-overview-card-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
}

.firm-support-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(100px, auto);
    gap: 0rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: linear-gradient(178deg, #27272724 0, #333437 95%);
    width: fit-content;
    margin-left: 0.5rem;
}

.firm-support-card {
    /* background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); */
    border-radius: 8px;
    padding: 1rem 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.firm-support-card svg,
.firm-support-card img {
    width: 126px;
    /* height: 101px; */
    margin-bottom: 0.8rem;
    object-fit: contain;
    /* padding-bottom: 0.8rem; */
}

.firm-support-card-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.firm-support-banner {
    background-color: #3b82f6;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    max-width: 295px;
    margin-bottom: 1.2rem;
}

.firm-rating-breakdown-wrapper {
    max-width: 60%;
    margin-top: 0;
}

.firm-platform-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.firm-payout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, max-content));
    gap: 1rem;
}

.firm-text-atas {
    color: #00d4ff;
}

.firm-text-ninja {
    color: #ff6600;
}

.firm-text-rise {
    color: #8b5cf6;
}

.firm-text-wise {
    color: #84cc16;
}

.firm-empty-state-message {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 2rem;
}

.firm-discount-icon {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.6);
}

.firm-copy-icon {
    margin-left: 0.25rem;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.firm-copy-icon.copied {
    animation: copyPulse 0.6s ease;
}

@keyframes copyPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

.firm-section-header-angled {
    background: #1072ff;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    margin-bottom: 1.6rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, calc(100% - 6%) 100%, 0% 100%);
    display: inline-block;
    width: fit-content;
}

.firm-section-header-angled h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.firm-leverage-container {
    margin-bottom: 2.5rem;
    /* padding-left: 3%;
    padding-right: 3%; */
}

.firm-leverage-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.firm-leverage-table {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 1px;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    font-size: 0.85rem;
    padding-left: 1rem;
}

.firm-leverage-column {
    width: fit-content;
}

.firm-leverage-column:nth-child(2) {
    box-shadow: 1px -1px -1px rgb(255 255 255);
}

.firm-leverage-column-header {
    font-size: 1.125rem;
    font-weight: 700;
    color: #3b82f6;
    text-align: center;
    margin-bottom: 1.5rem;
    background: rgba(35, 35, 43, 0.32);
    padding: 0.8rem;
}

.firm-leverage-tier {
    margin-bottom: 1.5rem;
}

.firm-leverage-tier:last-child {
    margin-bottom: 0;
}

.firm-leverage-account {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.firm-leverage-details {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.firm-leverage-cfd-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    padding-left: 1rem;
    padding-bottom: 1rem;
}

.firm-leverage-cfd-content p {
    margin-bottom: 1rem;
}

.firm-leverage-cfd-content ul,
.firm-leverage-cfd-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.firm-leverage-cfd-content li {
    margin-bottom: 0.5rem;
}

.firm-leverage-cfd-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.firm-leverage-cfd-content th,
.firm-leverage-cfd-content td {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.firm-leverage-cfd-content th {
    background: rgba(35, 35, 43, 0.5);
    font-weight: 600;
}

.firm-commissions-content {
    margin-bottom: 2.5rem;
    /* padding-left: 3%;
    padding-right: 3%; */
}

.firm-commissions-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.firm-consistency-content {
    margin-bottom: 2.5rem;
    /* padding-left: 3%;
    padding-right: 3%; */
}

.firm-consistency-rule-title {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.firm-consistency-rule-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.firm-consistency-rules-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.firm-firm-rules-content {
    margin-bottom: 2.5rem;
    /* padding-left: 3%;
    padding-right: 3%; */
}

.firm-firm-rule-item {
    margin-bottom: 2rem;
}

.firm-firm-rule-item:last-child {
    margin-bottom: 0;
}

.firm-firm-rule-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
}

.firm-firm-rule-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.firm-firm-rule-text ul {
    margin: 0;
    padding-left: 1.5rem;
}

.firm-firm-rule-text li {
    margin-bottom: 0.5rem;
}

.firm-firm-rule-note {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #3b82f6;
    margin-top: 0.75rem;
    font-weight: 500;
}

.firm-changelog-content {
    margin-bottom: 2.5rem;
    /* padding-left: 3%;
    padding-right: 3%; */
}

.firm-changelog-entry {
    margin-bottom: 2.5rem;
}

.firm-changelog-entry:last-child {
    margin-bottom: 1.5rem;
}

.firm-changelog-entry-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.5rem;
}

.firm-changelog-entry-date {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.firm-changelog-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.firm-changelog-box {
    border-radius: 8px;
    padding: 1.5rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.firm-changelog-box:first-child {
    background-color: rgba(239, 43, 45, 0.06);
    box-shadow: 0 -1px 1px rgb(86 35 36);
}

.firm-changelog-box:nth-child(2) {
    background: linear-gradient(179deg, rgba(114, 254, 135, 0.06), rgba(114, 254, 135, 0.06));
    box-shadow: 0 -1px 1px rgb(42 80 43);
}

.firm-changelog-box-content {
    text-align: center;
}

.firm-changelog-box-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.firm-changelog-box-label::after {
    content: ' →';
    margin-left: 0.25rem;
}

.firm-changelog-box-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.firm-changelog-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.firm-changelog-nav-button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.firm-changelog-nav-button:hover {
    color: rgba(255, 255, 255, 1);
}

.firm-changelog-nav-button i {
    font-size: 1.25rem;
}

.firm-payout-policy-content {
    /* margin-bottom: 2.5rem; */
    padding-bottom: 2rem;
    /* padding-left: 3%;
    padding-right: 3%; */
}

.firm-payout-plan-item {
    display: flex;
    flex-direction: column;
    gap: 0rem;
    margin-bottom: 1.5rem;
}

.firm-payout-plan-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
}

.firm-payout-plan-label {
    border-radius: 50px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    /* box-shadow: 0 -1px 1px rgb(255 255 255 / 16%); */
    /* background: linear-gradient(178deg, #27272724 0, #333437 95%); */
    /* width: fit-content; */
    flex-basis: 100%;
}

.firm-payout-plan-toggle {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    align-items: center;
    justify-content: center;
}

.firm-payout-plan-toggle:hover {
    color: rgba(255, 255, 255, 1);
}

.firm-payout-plan-toggle .toggle-icon {
    transition: transform 0.3s ease;
}

.firm-payout-plan-item.collapsed .firm-payout-plan-toggle .toggle-icon {
    transform: rotate(-90deg);
}

.firm-payout-plan-description {
    font-size: 0.8rem;
    /* line-height: 1.6; */
    color: rgba(255, 255, 255, 0.85);
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    opacity: 1;
    padding-left: 1rem;
}

.firm-payout-plan-item.collapsed .firm-payout-plan-description {
    max-height: 0;
    opacity: 0;
    margin-top: -2rem;
}

.firm-payout-processing-section {
    margin-top: 2.5rem;
}

.firm-payout-processing-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

.firm-payout-processing-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.firm-kyc-content {
    margin-bottom: 2.5rem;
    /* padding-left: 3%;
    padding-right: 3%; */
}

.firm-kyc-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
}

.firm-kyc-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.firm-kyc-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.firm-restricted-countries-content {
    margin-bottom: 2.5rem;
    /* padding-left: 3%;
    padding-right: 3%; */
}

.firm-countries-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.firm-country-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s;
    box-shadow: 0 -1px 1px rgb(255 255 255 / 34%);
}

.firm-country-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.firm-country-flag {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
}

.firm-country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.firm-country-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 0.86rem;
}

.firm-faq-content {
    margin-bottom: 2.5rem;
    padding-left: 3%;
    padding-right: 3%;
}

.firm-faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.firm-faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.firm-faq-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    margin: 0 auto;
}

.firm-faq-section {
    margin-bottom: 2rem;
}

.firm-faq-section-header {
    padding: 1.5rem 0;
}

.firm-faq-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.firm-faq-items {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.firm-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.firm-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    user-select: none;
}

.firm-faq-question-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.firm-faq-question-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.firm-faq-item.expanded .firm-faq-question-icon {
    transform: rotate(45deg);
}

.firm-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.firm-faq-item.expanded .firm-faq-answer {
    max-height: 500px;
}

.firm-faq-answer-text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0 1.5rem 0;
    margin: 0;
}

.years-in-op .label, .date-created .label{
    font-weight: 600;
    text-transform: uppercase;
}

.date-created-mobile{
    display: none;
}

.firm-offer-card-content {
    display: flex;
    flex-direction: row;
}

.firm-support-channels-container {
    padding-left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.payout-methods-section{
    position: relative;
    top: 3.5rem;
}
.payout-methods-section  .firm-overview-section-title{
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
}

.firm-platforms-section{
    padding-left: 1rem;
}
.firm-firm-rules-content .firm-firm-rules-content, .firm-consistency-rules-text, .firm-commissions-text, .firm-leverage-subtitle, .firm-leverage-tier,
.firm-changelog-entry,
.firm-payout-plan-item,
.firm-countries-grid,
.firm-kyc-text,
.firm-firm-rules-text {
    padding-left: 1rem;
}

.firm-support-channels-container,
.firm-platforms-section{
    margin-bottom: 1em;
}

.payout-grid{
    max-width: 82%;
}
/* ===== Professional Table Styles ===== */
.overview-section-container table {
    width: fit-content;
    background-color: rgba(21, 23, 36, 0.98);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    margin: 0.5rem 0;
}

.overview-section-container table thead {
    background: linear-gradient(180deg, rgba(50, 134, 255, 0.1) 0%, rgba(50, 134, 255, 0.04) 100%);
}

.overview-section-container table thead th {
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(50, 134, 255, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.overview-section-container table thead th:last-child {
    border-right: none;
}

.overview-section-container table thead th:first-child {
    border-top-left-radius: 8px;
}

.overview-section-container table thead th:last-child {
    border-top-right-radius: 8px;
}

.overview-section-container table tbody tr {
    background-color: transparent;
    transition: background-color 0.15s ease;
}

.overview-section-container table tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.01);
}

.overview-section-container table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.08);
}

.overview-section-container table tbody tr:hover {
    background-color: rgba(50, 134, 255, 0.06);
}

.overview-section-container table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.overview-section-container table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.overview-section-container table tbody td {
    padding: 0.4rem 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 400;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    line-height: 1.4;
}

.overview-section-container table tbody td:last-child {
    border-right: none;
}

.overview-section-container table tbody tr:last-child td {
    border-bottom: none;
}

.overview-section-container table tbody td:first-child {
    font-weight: 500;
    color: #ffffff;
}

/* Striped table variant */
.overview-section-container .table-striped tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

.overview-section-container .table-striped tbody tr:nth-child(even):hover {
    background-color: rgba(50, 134, 255, 0.1);
}

/* Bordered table variant */
.overview-section-container .table-bordered {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-section-container .table-bordered th,
.overview-section-container .table-bordered td {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.overview-section-container .table-bordered th:last-child,
.overview-section-container .table-bordered td:last-child {
    border-right: none;
}

/* Compact table variant */
.overview-section-container .table-compact tbody td {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
}

.overview-section-container .table-compact thead th {
    padding: 0.4rem 0.6rem;
    font-size: 0.65rem;
}

/* Table action button */
.overview-section-container table .table-action-btn {
    background: linear-gradient(135deg, #3286ff 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(50, 134, 255, 0.2);
}

.overview-section-container table .table-action-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(50, 134, 255, 0.35);
}

/* Table badges */
.overview-section-container table .table-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.overview-section-container table .table-badge-success {
    background-color: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.overview-section-container table .table-badge-warning {
    background-color: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.overview-section-container table .table-badge-danger {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Highlight cell for important values */
.overview-section-container table .cell-highlight {
    color: #3286ff;
    font-weight: 600;
}

.overview-section-container table .cell-success {
    color: #4ade80;
}

.overview-section-container table .cell-warning {
    color: #fbbf24;
}

.overview-section-container table .cell-muted {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.faq-section .accordion-button {
    background-color: transparent;
    color: #ffffff;
}
.firm-category-title {
    color: #fff;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 600;
}
.overview-section-container ol,
.overview-section-container ul{
    color: #fff;
    font-size: 0.85rem;
    list-style-type: disc;
}
/* ===== Responsive Table Styles ===== */
@media (max-width: 768px) {
    .overview-section-container table {
        font-size: 0.75rem;
        border-radius: 6px;
        margin: 0.4rem 0;
    }

    .overview-section-container table thead th {
        padding: 0.4rem 0.6rem;
        font-size: 0.6rem;
        letter-spacing: 0.4px;
    }

    .overview-section-container table thead th:first-child {
        border-top-left-radius: 6px;
    }

    .overview-section-container table thead th:last-child {
        border-top-right-radius: 6px;
    }

    .overview-section-container table tbody td {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }

    .overview-section-container table tbody tr:last-child td:first-child {
        border-bottom-left-radius: 6px;
    }

    .overview-section-container table tbody tr:last-child td:last-child {
        border-bottom-right-radius: 6px;
    }

    .overview-section-container .table-compact tbody td {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }

    .overview-section-container .table-compact thead th {
        padding: 0.3rem 0.5rem;
    }

    .overview-section-container table .table-badge {
        padding: 0.15rem 0.4rem;
        font-size: 0.55rem;
    }

    .overview-section-container table .table-action-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .firm-offer-header::after {
        height: 6rem;
    }

    .overview-section-container table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        border-radius: 6px;
        scrollbar-width: thin;
        scrollbar-color: rgba(50, 134, 255, 0.3) transparent;
    }

    .overview-section-container table::-webkit-scrollbar {
        height: 4px;
    }

    .overview-section-container table::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 2px;
    }

    .overview-section-container table::-webkit-scrollbar-thumb {
        background: rgba(50, 134, 255, 0.25);
        border-radius: 2px;
    }

    .overview-section-container table::-webkit-scrollbar-thumb:hover {
        background: rgba(50, 134, 255, 0.4);
    }

    .overview-section-container table thead th,
    .overview-section-container table tbody td {
        white-space: nowrap;
        min-width: 60px;
    }

    .overview-section-container table thead th {
        padding: 0.35rem 0.5rem;
        font-size: 0.55rem;
    }

    .overview-section-container table tbody td {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }

    .overview-section-container table thead th:first-child,
    .overview-section-container table thead th:last-child {
        border-radius: 0;
    }

    .overview-section-container table tbody tr:last-child td:first-child,
    .overview-section-container table tbody tr:last-child td:last-child {
        border-radius: 0;
    }
}

@media (max-width: 992px) {
    .firm-single-firm-card {
        margin-bottom: 1.5rem;
    }

    .col-lg-5, .col-lg-2 {
        width: 100%;
    }

    .firm-offer-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .firm-offer-header {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 3%;
        width: 50%;
        position: relative;
    }

    .firm-offer-header::after {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    .firm-offer-logo {
        width: 150px;
    }

    .firm-offer-rating {
        padding: 0 3%;
        width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .firm-offer-actions {
        flex-wrap: wrap;
        width: 100%;
        padding: 0 3% 3% 3%;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .firm-discount-badge {
        margin-right: 0;
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .firm-code-display {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }

    .firm-claim-button {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .firm-nav-tabs-container {
        padding: 0.75rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .firm-nav-tabs-container::-webkit-scrollbar {
        display: none;
    }

    .firm-nav-tab {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .firm-leverage-table {
        grid-template-columns: 1fr;
    }

    .firm-support-grid {
        grid-auto-flow: column;
        grid-auto-columns: minmax(80px, auto);
    }

    .firm-changelog-boxes {
        grid-template-columns: 1fr;
    }

    .firm-payout-plan-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .firm-countries-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .firm-inline-sections-container {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
        padding-left: 1rem;
    }

    .firm-overview-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.2rem;
    }

    .firm-overview-card img,
    .firm-overview-card svg {
        width: 80px;
        height: 80px;
    }

    .firm-overview-card {
        width: 140px;
        height: 110px;
        margin: 0.4rem;
    }

    .firm-faq-title {
        font-size: 2rem;
    }

    .firm-faq-section-title {
        font-size: 1.5rem;
    }

    .firm-faq-question-text {
        font-size: 0.9375rem;
    }

    .firm-section-header-angled {
        margin-left: 0;
        width: 100%;
        width: fit-content;
        clip-path: polygon(0 0, 100% 0, calc(100% - 6%) 100%, 0% 100%);
    }
}

@media (max-width: 768px) {


    .firm-discount-badge {
        font-size: 1rem;
        padding: .60rem 0.6rem;
        width: 97%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 2px auto 5px auto;
    }

    .firm-offer-logo {
        width: 20rem;
    }

    .firm-offer-header {
        flex-direction: row;
        width: 50%;
    }
    .firm-offer-rating {
        font-size: 1.25rem;
        width: 50%;
    }

    .firm-offer-rating {
        font-size: 1.25rem;
        width: 50%;
    }
    
    .firm-offer-rating-number {
        font-size: 1.5rem;
    }

    .firm-offer-stars i {
        font-size: 0.875rem;
    }

    .firm-code-display {
        font-size: 1rem;
        padding: 0.4rem 0.4rem 0.4rem 2rem;
        width: 47%;
        margin-left: 2%;
    }

    .firm-inline-sections-container .firm-overview-grid{
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
        width: fit-content;
    }

    .firm-support-grid {
        grid-auto-flow: column;
        grid-auto-columns: minmax(80px, auto);
    }

    .firm-support-channels-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .firm-support-channels-container .col-lg-6,
    .firm-support-channels-container .col-lg-4 {
        width: 100%;
    }

    .firm-leverage-column-header{
        text-align: left;
        background: rgba(35, 35, 43, 0.32);
        padding: 0.31rem 1rem;
    }

    .firm-changelog-box-text {
        font-size: 0.8rem;
        line-height: 1.1rem;
    }

    .firm-changelog-entry-title {
        font-size: 1rem;
        margin-bottom: 0;
        font-weight: 600;
    }

    .firm-changelog-entry {
        margin-bottom: 0.5rem;
        width: 98%;
    }

    .firm-changelog-entry-date {
        font-size: 0.6125rem;
    }

    .firm-changelog-boxes {
        grid-template-columns: 1fr 1fr;
    }

    /* .firm-changelog-entry {
        padding-left: 1rem;
    } */

    .firm-payout-plan-label{
        width: fit-content;
        padding: 0.6rem 1rem;
    }



    .review-claim-offer-container {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }
    .single-firm-container {
        width: 88%;
    }
    .firm-offer-branding {
        margin-top: 0.8rem;
        width: 100%;
        justify-content: center;
    }
    .firm-overview-header {
        clip-path: none;
        width: fit-content;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0.5rem 3rem 0.5rem 1rem;
    }

    .firm-filters {
        width: 100%;
        flex-wrap: wrap;
    }

    .firm-filter-wrapper {
        flex: 1;
        min-width: 150px;
    }

    .firm-countries-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .firm-platforms-section .firm-overview-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.3rem;
        width: fit-content;
    }



    .payout-grid{
        gap: 0.3rem;
        grid-template-columns: repeat(3, 1fr);
        width: fit-content;
    }

    .firm-overview-card img,
    .firm-overview-card svg {
        width: 70px;
        height: 70px;
    }

    .firm-overview-card {
        padding: 1rem 0.75rem;
        width: 120px;
        height: 95px;
        margin: 0.3rem;
    }

    .firm-offer-logo {
        width: 120px;
    }

    .firm-offer-rating {
        height: auto;
        font-size: 1.2rem;
    }

    .firm-offer-stars i {
        font-size: 1.5rem;
    }

    .firm-discount-badge {
        font-size: 1.2rem;
        padding: 0.8rem 0.75rem;
        flex-direction: row;
        text-align: center;
        gap: 0.1rem;
    }
    .firm-code-display-separator{
        display: none;
    }

    .firm-code-display {
        font-size: 0.8rem;
        padding: 0.6rem 0.5rem;
        display: flex;
        justify-content: center;
    }

    .firm-claim-button {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
        width: 49%;
        justify-content: center;
    }

    .firm-nav-tab {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }

    .firm-overview-section {
        padding-left: 0;
        padding-right: 0;
    }

    
    .firm-inline-sections-container .allowed-market-section,
    .firm-inline-sections-container .payment-methods-section{
        padding-left: 0;
    }

    .firm-leverage-container,
    .firm-commissions-content,
    .firm-consistency-content,
    .firm-firm-rules-content,
    .firm-changelog-content,
    .firm-payout-policy-content,
    .firm-kyc-content,
    .firm-restricted-countries-content {
        padding-left: 0;
        padding-right: 0;
    }
    /* .firm-firm-rules-content .firm-firm-rules-content,
    .firm-consistency-rules-text,
    .firm-commissions-text,
    .firm-leverage-subtitle,
    .firm-leverage-tier{
        padding-left: 1rem;
    } */
    .firm-leverage-column{
        padding: 1rem 0rem;
    }
    /* .firm-leverage-table{
        margin-left: 1rem;
    } */

    .allowed-market-section .firm-overview-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
        width: fit-content;
    }
}

@media (max-width: 576px) {
    .firm-platforms-section .platform-grid{
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
        width: fit-content;
    }
    .firm-countries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .firm-ch-max{
        display: none;
    }
    .firm-ch-profit-fre{
        display: none;
    }
    .firm-ch-payout{
        display: none;
    }
    .firm-countries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .firm-overview-grid {
        grid-template-columns: repeat(3, 0fr);
        gap: 0.3rem;
    }

    .firm-overview-card img,
    .firm-overview-card svg {
        width: 60px;
        height: 60px;
    }

    .firm-overview-card {
        padding: 0.875rem 0.5rem;
        width: 100px;
        height: 80px;
        margin: 0.25rem;
    }

    .firm-overview-card-label {
        font-size: 0.75rem;
    }

    .firm-offer-logo {
        width: 100px;
    }

    .firm-offer-rating-number {
        font-size: 1rem;
    }

    .firm-offer-stars i {
        font-size: 1.2rem;
    }

    .firm-discount-badge {
        font-size: 1rem;
        padding: .60rem 0.6rem;
        width: 97%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 2px auto 5px auto;
    }

    .firm-code-display-separator{
        display: none;
    }

    .firm-code-display {
        font-size: 1rem;
        padding: 0.4rem 0.4rem 0.4rem 2rem;
        width: 47%;
        margin-left: 2%;
    }

    .firm-claim-button {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
        width: 47%;
    }

    .firm-nav-tab {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        
    }

    .firm-overview-header h2 {
        font-size: 1.2rem;
        text-align: center;
    }

    .firm-filter-wrapper {
        padding: 0.4rem 0.75rem 0.3rem 1.3rem;
        min-width: 155px;
        flex: 0;
    }
    
    .firm-filter-wrapper:nth-child(3){
        margin: 0 auto;
    }
    .firm-filter-label {
        font-size: 0.7rem;
    }

    .firm-filter-select {
        font-size: 0.75rem;
        width: 72px;
    }

    .firm-section-header-angled h3 {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }

    .payment-methods-section .firm-overview-card img,
    .payment-methods-section .firm-overview-card svg {
        width: 40px;
    }

    .firm-container-custom{
        margin: 0 auto;
        width: 90%;
    }

    /* .firm-overview-section{
        padding-left: 4%;
    } */
    .firm-inline-sections-container .firm-overview-grid{
        display: flex;
        gap: 0.3rem;
    }

    .firm-support-grid {
        grid-auto-flow: column;
        grid-auto-columns: minmax(60px, auto);
    }
    .firm-support-banner{
        display: none;
    }

    .firm-support-card-label{
        font-size: .70rem;
    }

    .firm-support-card svg, .firm-support-card img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 400px) {
    .firm-countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .firm-overview-grid {
        grid-template-columns: 1fr;
    }

    .firm-overview-card img,
    .firm-overview-card svg {
        width: 80px;
        height: 80px;
    }

    .firm-overview-card {
        width: 140px;
        height: 110px;
        margin: 0.5rem;
    }

    .firm-offer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .firm-discount-badge {
        width: 100%;
        justify-content: center;
    }

    .firm-code-display {
        width: 100%;
        justify-content: center;
    }

    .firm-reviews-header-section {
        gap: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .firm-reviews-title-wrapper {
        gap: 0.75rem;
    }

    .firm-reviews-title {
        font-size: 1.25rem;
    }

    .firm-reviews-count {
        font-size: 1.25rem;
    }

    .firm-reviews-sort {
        gap: 0.5rem;
    }

    .firm-reviews-sort-label {
        font-size: 0.625rem;
    }

    .firm-reviews-sort-dropdown {
        font-size: 0.75rem;
        padding: 0.45rem 0.75rem;
        padding-right: 2rem;
    }

    .firm-reviews-container {
        gap: 0.875rem;
    }

    .firm-review-card {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }

    .firm-review-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .firm-review-left {
        gap: 1rem;
    }

    .firm-review-right {
        gap: 0.875rem;
    }

    .firm-review-top-row {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .firm-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
        margin-bottom: 0.875rem;
    }

    .firm-review-user {
        gap: 0.875rem;
        width: 100%;
        flex-direction: row;
    }

    .firm-review-avatar,
    .firm-review-avatar svg {
        width: 56px;
        height: 56px;
    }

    .firm-review-username {
        font-size: 1.125rem;
    }

    .firm-review-date {
        font-size: 0.8125rem;
    }

    .firm-review-rating-section {
        gap: 0.625rem;
    }

    .firm-review-score {
        font-size: 2rem;
    }

    .firm-review-stars i {
        font-size: 1.125rem;
    }

    .firm-review-platform {
        font-size: 0.875rem;
        gap: 0.375rem;
    }

    .firm-review-trustpilot-icon {
        width: 16px;
        height: 16px;
    }

    .firm-review-content {
        font-size: 0.875rem;
        line-height: 1.65;
    }
}

.single-firm-info {
    height: 204px;
    position: relative;
    overflow: hidden;
}

.single-firm-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/firmpage/single-firm-info-bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.single-firm-info > * {
    position: relative;
    z-index: 1;
}

.single-firm-info .trustpilot{
    color: #fff;
}

.single-firm-logo {
    height: 200px;
}

.single-firm-rating {
    height: 220px;
    position: relative;
    overflow: hidden;
    /* background-image: url(../assets/firmpage/single-firm-info-bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent; */
}

.single-firm-rating::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/firmpage/single-firm-rating-bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.single-firm-rating .rating-stars-container{
    top: -33px;
    position: relative;
}

.single-firm-rating .rating-stars-container .total-reviews{
 color: #fff;
}

.single-firm-rating .rating-stars-container .total-reviews-number{
 color: #4da3ff;
}

.single-firm-rating .rating-stars-container .stars{
 margin-bottom: 0;
}

.single-firm-rating .rating-stars-container .stars i,
.single-firm-rating .rating-row,
.single-firm-rating .rating-row i{
 color: #fff;
}

@media (max-width: 992px) {
    .single-firm-info,
    .single-firm-logo,
    .single-firm-rating {
        height: auto;
        min-height: 150px;
    }
}

@media (max-width: 576px) {
    .single-firm-info,
    .single-firm-logo,
    .single-firm-rating {
        min-height: 120px;
    }

    .single-firm-logo .discount-image--wrapper{
        width: 190px;
        height: 170px;
    }

    .single-firm-logo .firm-category{
        top: 121px;
    }

    .firm-category-title{
        font-size: 1rem;
    }

    .firm-overview-card-label {
        font-size: 0.5rem;
        top: -7px;
        position: relative;
    }

    .single-firm-logo .firm-image{
        max-width: 120px;
    }

    .single-firm-info, .single-firm-rating{
        width: 80%;
        margin: 12px auto 0;
        border: 1px solid #cccccc24;
        border-radius: 20px;
    }

    .single-firm-info{
        background: linear-gradient(267deg, #476B9F00 0, #1b2f49 95%);
    }

    .single-firm-rating{
        background: linear-gradient(91deg, #476B9F00 0, #1b2f49 95%);
    }
    
    .single-firm-info::before,
    .single-firm-rating::before{
        background-image: none;
    }

    .single-firm-rating {
        margin-top: 22px !important;
        flex-direction: row; 
    }

    .single-firm-rating .rating-stars-container{
        top: -20px;
    }

    .rating-left{
        width: 49%;
    }

    .rating-right {
        width: 50%;
        margin-top: 0;
    }

    .rating-left{
        border-right: 1px solid #66666663;
        margin-right: 1rem;
    }

    .rating-left .total-reviews {
        margin-top: 0rem;
    }

    .rating-left .stars i {
        font-size: 1rem;
    }

    .single-firm-info .years-in-op .label, .single-firm-info .trustpilot{
        font-size: .6rem;
    }

    .single-firm-info .trustpilot{
        margin: 0 auto;
    }

    .single-firm-info .firm-title-container{
        text-align: center;
    }

    .single-firm-info .date-created{
        display: none;
    }
    
    .single-firm-info .date-created-mobile{
        display: block;
        font-size: .8rem;
    }
    
    .single-firm-info .date-created-mobile .value, 
    .single-firm-info .date-created-mobile .label{
        font-size: 10px;
    }
    

    .firm-offer-section{
        margin-top: 1rem;
    }

    .details {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        align-items: center;
    }

    .details .years-in-op,
    .details .date-created,
    .details .date-created-mobile,
    .details .trustpilot {
        flex: 0 0 auto;
    }
}

.firm-challenges-container {
    margin-top: 2rem;
    overflow-x: auto;
}

.firm-challenges-container .firm-challenges-header {
    display: grid;
    grid-template-columns: 120px 115px 115px 95px 85px 90px 105px 348px;
    gap: 1rem;
    padding: 1.8rem 1.5rem;
    border-radius: 1rem;
    border-bottom: 0;
    min-width: 1080px;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, rgba(81, 151, 255, 0) 0, rgb(39 47 59) 95%);
    border-top: 1px solid #ffffff12;
}

.firm-challenges-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    /* background-color: rgba(255, 255, 255, 0.05); */
    min-width: 1080px;
}

.firm-challenge-row {
    display: grid;
    grid-template-columns: 120px 115px 115px 95px 85px 90px 105px 348px;
    gap: 1rem;
    padding: 1.5rem;
    background-color: rgba(21, 23, 36, 0.95);
    align-items: center;
    transition: background-color 0.2s;
    box-shadow: 0 -1px 1px 0px #545454cc;
    border-radius: 1rem;
    margin-bottom: 1.3rem;
}

.firm-challenge-row:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.firm-ch-cell {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    border-right: 1px solid #bebebe45;
    height: 3rem;
    padding-right: 1rem;
    font-weight: 700;
}

.firm-ch-cell:last-child {
    border-right: none;
}

.firm-ch-daily{
    color: #757575;
}

.firm-challenges-container .firm-challenges-header .firm-ch-cell {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffffcf;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-right: 1rem;
}

.firm-ch-firm {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-right: 1px solid #bebebe45;
}

.firm-ch-logo {
    width: 7rem;
    /* height: 68px; */
    object-fit: contain;
    border-radius: 4px;
    /* background-color: rgba(255, 255, 255, 0.05); */
    /* padding: 4px; */
}

.firm-ch-account-size {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.firm-ch-info-icon {
    color: rgba(255, 255, 255, 0.4);
    cursor: help;
}

.firm-ch-payout {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: .95rem;
}

.firm-ch-price-container{
    width: 100%;
}

.firm-ch-price-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b82f6;
}

.firm-ch-price-original {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.firm-ch-price-period {
    font-size: 0.75rem;
    color: #fff;
}

.firm-ch-price {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.firm-ch-buy-btn {
    background-color: #3286ff;
    color: #ffffff;
    border: none;
    border-radius: 28px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.firm-ch-buy-btn:hover {
    background-color: #2563eb;
}

.firm-ch-price-history {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    /* background-color: transparent; */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.57rem 0.8rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    background: linear-gradient(180deg, #476B9F00 0, #3f3f3fdb 95%);
}

.firm-ch-price-history:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.firm-ch-price-history i {
    font-size: 0.875rem;
}

@media (max-width: 1200px) {
    .firm-challenges-container {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    .firm-challenges-container .firm-challenges-header,
    .firm-challenges-body {
        min-width: 1080px;
    }
}

@media (max-width: 768px) {
    .firm-challenges-container .firm-challenges-header {
        display: grid;
        grid-template-columns: 100px 100px 100px 90px 90px 100px 120px 200px;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        font-size: 0.7rem;
    }
    
    .firm-challenges-body {
        min-width: 1000px;
    }
    
    .firm-challenge-row {
        grid-template-columns: 100px 100px 100px 90px 90px 100px 120px 200px;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .firm-ch-cell {
        font-size: 0.8rem;
    }

    .firm-ch-price-container {
        width: 100%;
        min-width: 55px;
        margin-left: 2rem;
        line-height: 0.9rem;
    }
    
    .firm-ch-logo {
        width: 32px;
        height: 32px;
    }
    
    .firm-ch-account-size {
        font-size: 0.9rem;
    }
    
    .firm-ch-price-amount {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .firm-challenges-container .firm-challenges-header {
        display: grid;
        grid-template-columns: 62px 62px 200px;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.65rem;
        min-width: 320px
    }
    
    .firm-challenges-body {
        min-width: 360px;
    }
    
    .firm-challenge-row {
        grid-template-columns: 62px 62px 200px;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    .firm-challenges-container .firm-challenges-header .firm-ch-cell{
        font-size: 0.55rem;
        padding-right: 0.50rem;
    }
    /* .firm-ch-cell {
        font-size: 0.75rem;
    } */
    
    .firm-ch-logo {
        width: 55px;
        height: 55px;
    }
    
    .firm-ch-account-size {
        font-size: 0.85rem;
    }
    
    .firm-ch-price-amount, .firm-ch-price-period  {
        font-size: 0.7rem;
    }

    .firm-ch-buy-btn {
        padding: 0.3rem 1rem;
        font-size: 0.6rem;
    }
    
    .firm-ch-price-history {
        font-size: 0.6rem;
        padding: 0.37rem 0.4rem;
        gap: 0.3rem;
    }

    .firm-ch-price-history i {
        font-size: 0.75rem;
    }

    /* .firm-ch-profit,
    .firm-ch-daily,
    .firm-ch-max,
    .firm-ch-profit-fre,
    .firm-ch-payout{
        display: none;
    } */

    .firm-challenges-header .firm-ch-cell:nth-child(n+3):nth-child(-n+7) {
        display: none;
      }
      .firm-challenge-row .firm-ch-cell:nth-child(n+3):nth-child(-n+7) {
        display: none;
      }

}

.firm-reviews-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 0;
}

.firm-reviews-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.firm-reviews-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}

.firm-reviews-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: -0.02em;
}

.firm-reviews-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.firm-reviews-sort-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.firm-reviews-sort-dropdown {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 0.625rem 1rem;
    padding-right: 2.5rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.firm-reviews-sort-dropdown:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.firm-reviews-sort-dropdown:focus {
    outline: none;
    border-color: #5656566b;
    background-color: rgba(255, 255, 255, 0.08);
}

.firm-reviews-sort-dropdown option {
    background-color: #2a2c35;
    color: #ffffff;
    padding: 0.5rem;
}

.firm-reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.firm-review-card {
    background: linear-gradient(135deg, #1e2841 0%, #232b3e 100%);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.firm-review-layout {
    display: grid;
    grid-template-columns: 14rem 1fr;
    gap: 3rem;
}

.firm-review-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.firm-review-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.firm-review-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.75rem;
}

.firm-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.firm-review-user {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.firm-review-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.firm-review-avatar svg {
    width: 80px;
    height: 80px;
    display: block;
}

.firm-review-user-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.25rem;
}

.firm-review-username {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    /* letter-spacing: -0.02em; */
    line-height: 2.2rem;
}

.firm-review-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255);
    margin: 0;
    font-weight: 400;
}

.firm-review-rating-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0;
    background: #5d5959c7;
    border-radius: 60px;
    text-align: center;
    padding: 0.5rem 0rem 0.5rem 1rem;
}

.firm-review-score {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 0 0.7rem 0 0;
    border-radius: 0;
    letter-spacing: -0.03em;
    min-width: auto;
    text-align: left;
    background: transparent;
    border: none;
    color: #ffffff;
    border-right: 1px solid #cccccc38;
}

.firm-review-stars {
    display: flex;
    gap: 0.35rem;
}

.firm-review-stars i {
    color: #00B67A;
    font-size: 1.3rem;
    transition: transform 0.2s;
}

.firm-review-platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding-top: 0.25rem;
}

.firm-review-trustpilot-icon {
    flex-shrink: 0;
}

.firm-review-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.01em;
    font-weight: 400;
}

@media (min-width: 769px) {
    .firm-review-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    /* .firm-review-rating-section {
        align-items: flex-end;
    } */
}

@media (max-width: 992px) {
    .firm-reviews-header-section {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .firm-reviews-header-section {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .firm-reviews-title {
        font-size: 1.625rem;
    }

    .firm-reviews-count {
        font-size: 1.625rem;
    }

    .firm-reviews-sort {
        width: 63%;
        justify-content: space-between;
    }

    .firm-reviews-sort-dropdown {
        flex: 1;
        max-width: 220px;
    }

    .firm-review-card {
        padding: 2rem;
        border-radius: 16px;
    }

    .firm-review-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .firm-review-left {
        gap: 1.5rem;
    }

    .firm-review-right {
        gap: 1.25rem;
    }

    .firm-review-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .firm-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .firm-review-user {
        gap: 1.25rem;
        width: 100%;
    }

    .firm-review-avatar,
    .firm-review-avatar svg {
        width: 70px;
        height: 70px;
    }

    .firm-review-username {
        font-size: 1.375rem;
    }

    .firm-review-date {
        font-size: 0.9375rem;
    }

    .firm-review-rating-section {
        flex-direction: row;
        align-items: center;
        gap: 0.875rem;
    }

    .firm-review-score {
        font-size: 2.5rem;
    }

    .firm-review-stars i {
        font-size: 1.375rem;
    }

    .firm-review-platform {
        font-size: 0.9375rem;
    }

    .firm-review-content {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .firm-reviews-header-section {
        gap: 1rem;
        margin-bottom: 1.75rem;
    }

    .firm-reviews-title {
        font-size: 1.375rem;
    }

    .firm-reviews-count {
        font-size: 1.375rem;
    }

    .firm-reviews-sort-label {
        font-size: 0.6875rem;
    }

    .firm-reviews-sort-dropdown {
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
        border-radius: 40px;
    }

    .firm-reviews-container {
        gap: 1rem;
    }

    .firm-review-card {
        padding: 1.75rem 1.5rem;
        border-radius: 16px;
    }

    .firm-review-layout {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .firm-review-left {
        gap: 1.25rem;
    }

    .firm-review-right {
        gap: 1rem;
    }

    .firm-review-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .firm-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .firm-review-user {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .firm-review-avatar,
    .firm-review-avatar svg {
        width: 64px;
        height: 64px;
    }

    .firm-review-username {
        font-size: 1.25rem;
    }

    .firm-review-date {
        font-size: 0.8rem;
        color: rgb(255 255 255);
    }

    .firm-review-rating-section {
        gap: 0.75rem;
        background: #5d5959c7;
        width: fit-content;
        margin: 0 auto;
        padding: 0.5rem 1rem 0.5rem 1rem;
    }

    .firm-review-score {
        font-size: 1.25rem;
    }

    .firm-review-stars i {
        font-size: 1.25rem;
    }

    .firm-review-platform {
        font-size: 1rem;
        color: #ffffff;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
    }

    .firm-review-user-info{
        gap: 0rem;
    }

    .firm-review-content {
        font-size: 0.9375rem;
        line-height: 1.7;
        text-align: center;
    }
}

.firm-offers-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    /* padding: 0 1rem; */
}

.firm-offers-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.firm-offers-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.firm-offers-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
}

.firm-offers-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.firm-offers-sort-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.firm-offers-sort-dropdown {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 0.5rem 1rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.firm-offers-sort-dropdown:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.firm-offers-sort-dropdown:focus {
    outline: none;
    border-color: #3b82f6;
}

.firm-offers-section-header {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 2.5rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.firm-offers-section-header::after {
    content: '';
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.firm-offers-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.firm-offer-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s;
    box-shadow: 0 -1px 1px 0px #376bb5;
    background: linear-gradient(45deg, rgba(57, 60, 71, 0.06), transparent);
}

/* .firm-offer-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
} */

.firm-offer-logo {
    flex-shrink: 0;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0.5rem;
    max-height: 100px;
    max-width: 200px;
}

.firm-offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.firm-offer-rating-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* gap: 0.5rem; */
    flex-shrink: 0;
    background: #00000030;
    border-radius: 30px;
    width: fit-content;
    padding: 0.1rem 2rem 0.1rem 0;
}

.firm-offer-rating {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    border-radius: 20px;
    padding: 0.1rem 0rem 0.1rem 1rem;
    /* background-color: #30303036; */
    /* height: 46px; */
    /* margin-top: 26px; */
    /* margin-right: 1rem; */
}

.firm-offer-rating-wrapper .firm-offer-rating::after{
    content: "|";
    color: #74747470;
    font-size: 1rem;
}

.firm-offer-stars {
    display: flex;
    gap: 0.25rem;
}

.firm-offer-stars i {
    color: #3b82f6;
    font-size: 1.3rem;
}

.firm-offer-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.firm-offer-account-type {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.firm-offer-discount {
    font-size: 1rem;
    color: #ffffff;
    width: fit-content;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: linear-gradient(0deg, #476B9F00 0, #3e5b83 95%);
}

.firm-offer-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.firm-offer-code-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    background: linear-gradient(130deg, #476B9F00 0, #3e5b83 95%);
    border: 0;
    box-shadow: 0 -1px 0 0px rgb(61, 126, 219);
}

.firm-offer-code-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.firm-offer-code-btn i {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.firm-offer-claim-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.firm-offer-claim-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.firm-offer-claim-btn i {
    font-size: 1rem;
}

.country-container{
    background: linear-gradient(180deg, #476B9F00 0, #3f3f3fdb 95%);
}

.years-in-op .label{
    font-weight: 600;
}

.firm-category {
    position: absolute;
    color: #fff;
    top: 171px;
    border-radius: 42px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    width: 86px;
    height: 35px;
    line-height: 35px;
    background: linear-gradient(180deg, #476B9F00 0, #343d58 95%);
    box-shadow: 0px -1px 0.5px rgb(113, 116, 129);
    font-size: .70rem;
}

.discount-image--wrapper{
    background-image: url('../assets/firmpage/BG2.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    position: relative;
}

.discount-image--wrapper .firm-image{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.discount-image--wrapper::before{
    background: none;
}

@media (max-width: 992px) {
    .firm-offers-header-section {
        padding: 0;
    }

    .firm-offer-card {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .firm-offer-header::after{
        margin-top: 0.8rem;
    }
    .firm-offer-rating{
        margin-top: 0.8rem;
    }
    .firm-offer-stars i {
        font-size: 1.5rem;
    }
    .firm-offer-logo{
        width: 20rem;
    }
    .firm-offers-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .firm-offers-title {
        font-size: 1.5rem;
    }

    .firm-offers-count {
        font-size: 1.5rem;
    }

    .firm-offers-sort {
        width: 100%;
        justify-content: space-between;
    }

    .firm-offers-sort-dropdown {
        flex: 1;
        max-width: 200px;
    }

    .firm-offers-section-header {
        padding-left: 0;
    }

    .firm-offer-card {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1.25rem;
    }

    .firm-offer-details {
        flex: 1;
        min-width: 200px;
    }

    .firm-offer-actions-wrapper {
        width: 100%;
        justify-content: space-between;
    }

    .firm-offer-discount {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .discount-image--wrapper{
        background-size: 92%;
    }
    .single-firm-logo .firm-image {
        max-width: 5rem;
        margin-top: -2rem;
    }


    .firm-offers-title {
        font-size: 1.25rem;
    }

    .firm-offers-count {
        font-size: 1.25rem;
    }

    .firm-offers-sort-label {
        font-size: 0.7rem;
    }

    .firm-offers-sort-dropdown {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .firm-offer-card {
        padding: 1rem;
    }

    .firm-offer-logo {
        height: auto;
        width: 7rem;
    }

    .firm-offer-rating {
        font-size: 1.25rem;
        width: 50%;
    }

    .firm-offer-stars i {
        font-size: 0.875rem;
    }

    .firm-offer-account-type {
        font-size: 0.75rem;
    }

    .firm-offer-discount {
        font-size: 1rem;
    }

    .firm-offer-code-btn,
    .firm-offer-claim-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .firm-offer-actions-wrapper {
        flex-direction: row;
        gap: 0.75rem;
    }

    .firm-offer-code-btn,
    .firm-offer-claim-btn {
        width: 100%;
        justify-content: center;
    }

    .firm-offer-header{
        flex-direction: row;
        width: 50%;
    }

    .firm-offer-card-content {
        display: flex;
        flex-direction: row;
    }
}

.price-history-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.price-history-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-history-modal-content {
    background-color: #131321;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.price-history-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-history-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.price-history-close {
    background: none;
    border: none;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.price-history-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.price-history-modal-body {
    padding: 24px;
}
