/* Rates Section Styling */
.rates-section {
    padding: 8rem 6.25rem 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.rates-bg-image {
    background: radial-gradient(100% 100% at 50% 0%, rgba(0, 4, 255, 0.00) 43.44%, #0004FF 100%);
    /* width: 86rem; */
    width: 90%;
    height: 52.5rem;
    border-radius: 86rem;
    /* top: -60%; */
    top: -30rem;
    left: 3%;
    filter: blur(60px);
    z-index: -1;
}

/* .rates-content {
    max-height: 55rem;
} */

.rates-header h3 {
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 1.6875rem;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.03375rem;
}

.rates-header h3 span {
    font-weight: 500;
}

.rates-header .separator {
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 1.6875rem;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.03375rem;
    opacity: 0.3;
    margin: 0 0.3125rem;
}

.rates-header img {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.rates-content .rates-widgets {
    background: rgba(0, 0, 0, 0.25);
    /* max-width: 77.5rem; */
    padding: 1.875rem;
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    border-radius: 1.25rem;
    margin: 1.875rem auto 2.5rem;
    backdrop-filter: blur(60px);
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9375rem;
}

@media (max-width: 1400px) {
    .rates-content .rates-widgets {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .rates-content .rates-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .rates-content .rates-widgets {
        grid-template-columns: repeat(1, 1fr);
    }
}

.rates-widgets .rates-widget {
    background: rgba(255, 255, 255, 0.05);
    /* max-width: 17.71rem; */
    height: 4.5rem;
    padding: 1.25rem 0.9375rem;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.9375rem;
    backdrop-filter: blur(60px);
}

.rates-widget h6 {
    color: #C9C9C9;
    font-family: 'Sherika', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.18125rem;
    margin-bottom: 0.25rem;
}

.rates-widget span {
    color: #C9C9C9;
    font-family: 'Sherika', sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.16875rem;
    width: 10rem;
}

.rates-widget img {
    width: 1.5625rem;
    height: 1.5625rem;
}

.rates-widget .separator {
    background-color: #FFFFFF;
    width: 1.5px;
    height: 1.65625rem;
    margin: 0 0.3125rem;
    opacity: 0.1;
}

.rates-widget .ltv {
    width: 5.25rem;
    padding-left: 0.9375rem;
}

.rates-widget-dropdown {
    border-radius: 0.9375rem;
    cursor: pointer;
    user-select: none;
}

.dropdown-toggle {
    background: rgba(255, 255, 255, 0.05);
    height: 4.5rem;
    padding: 1.25rem 0.9375rem;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.9375rem;
    backdrop-filter: blur(60px);
}

.rates-widget-dropdown.active .dropdown-toggle {
    background: rgba(255, 255, 255, 0.15);
}

.dropdown-toggle h6 {
    color: #C9C9C9;
    font-family: 'Sherika', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.18125rem;
    margin-bottom: 0.25rem;
}

.dropdown-toggle span {
    color: #C9C9C9;
    font-family: 'Sherika', sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.16875rem;
    width: 10rem;
}

.dropdown-toggle img {
    width: 1.5625rem;
    height: 1.5625rem;
    transition: transform 0.3s ease-in-out;
}

.rates-widget-dropdown.active .dropdown-toggle img {
    transform: rotate(180deg);
}

.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.16);
    padding: 0.625rem;
    border-radius: 0.9375rem;
    margin-top: 0.44rem;
    box-shadow: 0px 14px 44px 0px rgba(0, 0, 0, 0.65);
    display: none;
    overflow: hidden;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(27px);
    z-index: -2;
}

.dropdown-menu::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: inherit;
    backdrop-filter: blur(27px);
    z-index: -1;
}

.rates-widget-dropdown.active .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.dropdown-item {
    padding: 0.875rem 0.625rem;
    border-radius: 0.5625rem;
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.0175rem;
    opacity: 0.5;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.07);
    color: #FFFFFF;
}

.dropdown-item.selected {
    background-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.dropdown-item.selected::after {
    content: url(../assets/tick.svg);
}

.rates-widget-dropdown .dropdown-toggle::after {
    content: none !important;
    display: none !important;
}

.rates-widgets a {
    background-color: #0F142A;
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.0175rem;
    height: 3.5rem;
    padding: 0.75rem 1.5625rem;
    border: 1px solid #FFFFFF;
    border-radius: 3.625rem;
    box-shadow: 0px 0px 14px 7px rgba(0, 25, 190, 0.36) inset, 0px 0px 24px 0px rgba(0, 25, 190, 0.85);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.rates-widgets a:hover {
    background-color: #070913;
    box-shadow: 0px 0px 18px 9px rgba(0, 25, 190, 0.5) inset, 0px 0px 30px 4px rgba(0, 25, 190, 1);
}

/* Suggestions Cards Styling */
#suggestions-rates-container {
    display: flex;
}

.suggestions-container h4 {
    color: #FFF;
    font-family: 'Sherika', sans-serif;
    font-size: 1.3125rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.01313rem;
}

.suggestions-container .sort-dropdown {
    color: #FFF;
    font-family: 'Sherika', sans-serif;
    font-size: 1.3125rem;
    font-weight: 300;
    line-height: normal;
    letter-spacing: -0.01313rem;
}

.suggestions-container .sort-dropdown span {
    font-weight: 500;
}

.suggestions-container .sort-dropdown img {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.35rem;
}

/* .suggestion-cards {
    max-height: 30rem;
    padding-top: 1.25rem;
    overflow-y: scroll;
} */

.suggestion-card {
    height: 8.125rem;
    margin-top: 1.25rem;
    gap: 0.1875rem;
}

.suggestion-card .card-left {
    background: rgba(92, 128, 233, 0.15);
    padding: 1.875rem;
    border-radius: 1.25rem 0.25rem 0.25rem 1.25rem;
    gap: 6.25rem;
}

.card-left .logo-lender-info {
    width: 11.9375rem;
}

/* .card-left .lender-logo {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 500;
    width: 3.0625rem;
    height: 3.0625rem;
    padding: 0.6875rem;
    padding-top: 0.5rem;
    border-radius: 2.5rem;
    margin-right: 0.9375rem;
} */

.card-left .logo-lender-info p,
.card-right p {
    color: #C9C9C9;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.26563rem;
    margin-bottom: 0.5rem;
}

.card-left .logo-lender-info h5 {
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.015rem;
}

.card-left .rate-info,
.card-left .points-info {
    min-width: 10rem;
}

.card-left .rate-info p,
.card-left .points-info p {
    color: #C9C9C9;
    font-family: 'SF Pro Display', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.51875rem;
}

.card-left .rate-info h5,
.card-left .points-info h5 {
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.01125rem;
}

.card-right {
    background: rgba(92, 128, 233, 0.20);
    width: 22.5rem;
    padding: 2.5rem 1.875rem;
    border-radius: 0.25rem 1.25rem 1.25rem 0.25rem;
    gap: 1.875rem;
}

.card-right p {
    margin-bottom: 0.3125rem;
}

.card-right h4 {
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.015rem;
}

.card-right a {
    background-color: #0004FF;
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.0175rem;
    height: 3.125rem;
    padding: 0.75rem 1.5625rem;
    border-radius: 1.75rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.card-right a:hover {
    background-color: #0000E6;
    box-shadow: 0px 4px 12px rgba(0, 0, 230, 0.6), 0px 4px 12px rgba(0, 0, 230, 0.4) inset;
}

/* Rates Cards Styling */
.rates-cards {
    padding: 3.75rem 0;
    gap: 1.25rem;
}

.rates-cards .rates-card {
    background: linear-gradient(180deg, #0E1323 0%, #0E0E0E 100%);
    padding: 3.125rem 2.5rem;
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    border-radius: 1.25rem;
    gap: 2.5rem;
}

.rates-cards .rates-card:last-child {
    background: linear-gradient(180deg, rgba(0, 4, 255, 0.20) 0%, #0004FF 100%);
}

.rates-cards .rates-card h5 {
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5rem;
    letter-spacing: -0.015rem;
    margin-bottom: 0.625rem;
}

.rates-cards .rates-card p {
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
    letter-spacing: -0.01rem;
    opacity: 0.7;
}

.rates-cards .rates-card a {
    background: rgba(255, 255, 255, 0.10);
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.56819rem;
    border-radius: 2.55681rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.rates-cards .rates-card a:hover {
    background-color: rgba(255, 255, 255, 0.125);
    box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.1), 0px 4px 12px rgba(255, 255, 255, 0.1) inset;
}

/* Not Found Container Styling */
.not-found-container {
    max-width: 70rem;
    padding: 1.25rem 3.75rem 3.75rem;
    display: none;
}

.not-found-container h4 {
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 1.875rem;
    letter-spacing: -0.01875rem;
    margin-bottom: 0.625rem;
}

.not-found-container p:first-of-type {
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3125rem;
    letter-spacing: -0.00875rem;
    opacity: 0.7;
    max-width: 29.625rem;
    margin-bottom: 1.875rem;
}

.input-fields {
    gap: 0.625rem;
}

.input-fields .input-field {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.25rem 0.9375rem;
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.9375rem;
    backdrop-filter: blur(60px);
}

.input-fields .input-field label {
    color: #C9C9C9;
    font-family: 'Sherika', sans-serif;
    font-size: 0.875rem;
    font-weight: 365;
    line-height: 1.18125rem;
}

.input-fields .input-field input {
    background-color: transparent;
    color: #C9C9C9;
    font-family: 'Sherika', sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.16875rem;
    padding: 0;
    border: 0;
    margin-top: 0.25rem;
    outline: none;
}

.not-found-container p:last-of-type {
    color: rgba(255, 255, 255, 0.60);
    font-family: 'Sherika', sans-serif;
    font-size: 0.625rem;
    font-weight: 500;
    line-height: 0.9375rem;
    letter-spacing: -0.00625rem;
    max-width: 29.625rem;
}

.not-found-container p:last-of-type span {
    color: #FFFFFF;
}

.not-found-container a {
    background-color: #0004FF;
    color: #FFFFFF;
    font-family: 'Sherika', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.0175rem;
    width: 16.25rem;
    height: 3.375rem;
    padding: 0.75rem 1.5625rem;
    border-radius: 1.75rem;
    margin: 2.5rem auto 1.25rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.not-found-container a:hover {
    background-color: #0000E6;
    box-shadow: 0px 4px 12px rgba(0, 0, 230, 0.6), 0px 4px 12px rgba(0, 0, 230, 0.4) inset;
}

@media (max-width: 992px) {
    .rates-section {
        padding: 7rem 5rem 0;
    }
}

@media (max-width: 768px) {
    .rates-section {
        padding: 6.5rem 4rem 0;
    }
}

@media (max-width: 576px) {
    .rates-section {
        padding: 5rem 0.25rem 0;
    }
}