.loan-info-button {
    background: none;
    border: none;
    padding: 0;
    margin-left: 8px;
    cursor: pointer;
    color: #43b48f;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.loan-info-button:hover {
    color: #43b48f;
}

.loan-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.loan-modal-content {
    position: relative;
    background-color: #fff;
    margin: 50px auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loan-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    font-weight: bold;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.loan-modal-close:hover {
    background-color: #f0f0f0;
}

.loan-modal-body {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .loan-modal-content {
        margin: 20px;
        width: auto;
    }
}