.property-mortgage-widget {
    background: #f8f9fa;
    padding: 15px 0;
    margin: 20px 0;
}

.mortgage-widget-container {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 172, 94, 0.1);
    border: 1px solid #e9ecef;
}

.widget-header {
    text-align: center;
    margin-bottom: 15px;
}

.widget-header h3 {
    color: #00ac5e;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 18px;
}

.widget-header p {
    color: #666;
    margin: 0;
    font-size: 13px;
}

.mortgage-calc-form {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
}

.mortgage-calc-form label {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    font-size: 13px;
}

.mortgage-calc-form .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 6px 10px;
    font-size: 13px;
    height: auto;
}

.mortgage-calc-form .form-control:focus {
    border-color: #00ac5e;
    box-shadow: 0 0 0 0.1rem rgba(0, 172, 94, 0.25);
}

.results-loader {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 13px;
}

.mortgage-offer-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.mortgage-offer-card:hover {
    border-color: #00ac5e;
    box-shadow: 0 2px 8px rgba(0, 172, 94, 0.1);
}

.mortgage-offer-card.best-offer {
    border-color: #00ac5e;
    background: #f0fff4;
}

.best-offer-badge {
    position: absolute;
    top: -6px;
    right: 12px;
    background: #00ac5e;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.offer-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.offer-bank-logo {
    width: 70px !important;
    height: 70px;
    object-fit: contain;
    margin-right: 10px;
    background: white;
    border-radius: 4px;
    padding: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.offer-bank-info h4 {
    margin: 0;
    font-size: 14px !important;
    font-weight: 600;
    color: #333;
	margin-bottom: 0px !important;
}

.offer-program {
    font-size: 12px;
    color: #666;
    margin-top: 1px;
}

.offer-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.offer-detail-item {
    text-align: center;
    padding: 6px;
    background: #f8f9fa;
    border-radius: 4px;
}

.detail-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #00ac5e;
    margin-bottom: 2px;
}

.detail-label {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
}

.offer-discounts {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
}

.discount-tag {
    display: inline-block;
    background: #e7f5e7;
    color: #00ac5e;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
    margin-right: 4px;
    margin-bottom: 3px;
}

.widget-footer {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

@media (max-width: 768px) {
    .mortgage-widget-container {
        padding: 12px;
    }
    
    .offer-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .detail-value {
        font-size: 13px;
    }
}