/* Leanpay Installment Calculator Styles */
.leanpay-container {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
}

.leanpay-main-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.leanpay-logo {
    height: 25px;
    margin-right: 10px;
    margin-top: -4px;
}

.leanpay-installment {
    font-weight: bold;
    color: #2d3537;
    font-size: 16px;
}

.leanpay-trigger {
    background: none;
    border: none;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    display: inline;
}

.leanpay-trigger:hover {
    color: #0056b3;
}

.leanpay-tooltip {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    width: 350px;
    margin-top: 10px;
    right: 0;
}

.leanpay-tooltip-content {
    font-size: 14px;
}

.leanpay-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.leanpay-title img {
    height: 40px;
}

.leanpay-plans {
    margin-top: 10px;
}

.leanpay-plan-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.leanpay-plan-label {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.leanpay-plan-value {
    font-weight: bold;
    color: #2d3537;
    font-size: 15px;
}

.leanpay-slider-container {
    margin: 10px 0;
}

.leanpay-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.leanpay-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.leanpay-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: none;
}

.leanpay-total-info {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 13px;
}

.leanpay-total-label {
    color: #666;
}

.leanpay-total-value {
    font-weight: bold;
}

.leanpay-description {
    margin: 15px 0 10px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.leanpay-footer-links {
    font-size: 13px;
}

.leanpay-footer-links a {
    color: #007bff;
    text-decoration: none;
    margin-right: 5px;
}

.leanpay-footer-links a:hover {
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .leanpay-tooltip {
        width: auto;
        left: 15px !important;
        right: 15px;
    }

    .leanpay-container {
        padding: 20px 10px;
        position: static!important;
    }

    .leanpay-main-display {
        flex-direction: column;
        align-items: flex-start;
    }

    .leanpay-installment {
        margin: 5px 0;
    }
}
