
/* Instant Quote Calculator Widget Styles */
.quote-widget-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.quote-widget-trigger:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

.quote-widget-trigger i {
    font-size: 18px;
}

.instant-quote-widget {
    position: fixed;
    bottom: -600px;
    right: 30px;
    width: 400px;
    max-width: calc(100vw - 60px);
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: bottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.instant-quote-widget.active {
    bottom: 30px;
}

.quote-widget-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-widget-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.quote-widget-header i.fa-calculator {
    margin-right: 8px;
}

.widget-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.widget-close:hover {
    transform: rotate(90deg);
}

.quote-widget-body {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.quote-widget-body .form-group {
    margin-bottom: 15px;
}

.quote-widget-body label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 5px;
    display: block;
}

.quote-widget-body .form-control {
    width: 100%;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.quote-widget-body .form-control:focus {
    outline: none;
    border-color: #10b981;
}

.quote-result {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.quote-result.fade-in {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-display {
    margin-bottom: 15px;
}

.price-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #059669;
    font-weight: 600;
    margin-bottom: 5px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #065f46;
    line-height: 1.2;
}

.price-period {
    font-size: 14px;
    color: #6b7280;
    margin-top: 5px;
}

.price-breakdown {
    padding-top: 15px;
    border-top: 1px solid #d1fae5;
}

.price-breakdown small {
    color: #6b7280;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .instant-quote-widget {
        width: calc(100vw - 30px);
        right: 15px;
    }
    
    .instant-quote-widget.active {
        bottom: 15px;
    }
    
    .quote-widget-trigger {
        right: 15px;
        bottom: 15px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .quote-widget-trigger span {
        display: none;
    }
}
