:root {
  --light-border: #EFF0F6;
}

.loans-container {
    height: 340px;
}

.loan-types {
    min-width: fit-content;
    /* border-right: 2px solid var(--base-theme); */
    flex: 1;
    height: 100%;
    min-width: 200px;
    max-width: 200px;
}

.loan-title {
    font-size: 14px;
}

.loan-amount {
    font-size: 18px;
}

.loan-item {
    width: 100%;
    flex: 1;
    cursor: pointer;
    border: 1px solid var(--light-border);
    border-radius: 16px;
}

.loan-item i {
    font-size: 30px;
}

.loan-item:hover {
    background-color: var(--base-light-green);
    border-color: var(--base-theme);
}

.loan-item.active {
    font-weight: bold;
    font-size: 15px;
    /* color: var(--base-theme); */
    border-color: var(--base-theme);
    /* border-right: 0;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px; */
}

.loan-item.active i {
    font-size: 32px;
}

.loan-desc {
    max-width: 800px;
    border-radius: 16px;
    background: linear-gradient(to bottom, var(--base-light-green) 0%, rgba(76, 175, 80, 0) 100%);
}

.mobile-nav, .loan-types-mobile, .loan-item-list {
    display: none;
}

.nav-btn {
    background: var(--base-theme);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    background: var(--base-dark-green);
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: var(--inactive-step-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

.current-item-indicator {
    font-size: 14px;
    font-weight: 500;
    color: var(--base-theme);
}

@media (max-width: 767.98px) {
    .loan-types {
        display: none !important;
    }
    .loan-types-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 10px;
    }
    .loan-item-list {
        min-width: 0;
        position: relative;
        height: 80px;
    }
    .mobile-loan-item {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }
    .mobile-loan-item.active {
        display: flex;
    }
}