/**
 * Styles pour les widgets de la barre latérale
 */

/* Style général des widgets */
.sidebar-widget {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.widget-header {
    background: linear-gradient(to right, #38b6ff, #5ce1e6);
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
}

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

.widget-content {
    padding: 15px;
}

/* Widget de devis */
.quote-widget .btn-devis {
    background-color: #38b6ff;
    border-color: #38b6ff;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quote-widget .btn-devis:hover {
    background-color: #2e9bda;
    border-color: #2e9bda;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(56, 182, 255, 0.3);
}

/* Widget de remboursement */
.reimbursement-widget .widget-list {
    list-style: none;
    padding-left: 5px;
    margin-bottom: 15px;
}

.reimbursement-widget .widget-list li {
    margin-bottom: 8px;
    padding-left: 5px;
}

.reimbursement-widget .widget-list i {
    margin-right: 8px;
}

/* Widget de contact */
.contact-widget .contact-info {
    background-color: rgba(56, 182, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.contact-widget .contact-info i {
    color: #38b6ff;
}

/* Widget des articles populaires */
.popular-posts-list {
    list-style: none;
    padding-left: 0;
}

.popular-posts-list li {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.popular-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-thumb {
    flex: 0 0 80px;
    margin-right: 10px;
}

.post-thumb img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.post-info {
    flex: 1;
}

.post-title {
    font-size: 14px;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #38b6ff;
}

/* Widget de témoignages */
.testimonials-widget .carousel-inner {
    padding: 10px 0;
}

.testimonial {
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.testimonial-author {
    margin-top: 10px;
    color: #333;
}

.testimonials-widget .carousel-indicators {
    bottom: -10px;
    margin-bottom: 0;
}

.testimonials-widget .carousel-indicators li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
}

.testimonials-widget .carousel-indicators li.active {
    background-color: #38b6ff;
}

/* Widget de newsletter */
.newsletter-form .form-control {
    border-radius: 4px;
    height: 40px;
}

.newsletter-form .btn {
    padding: 8px 20px;
    background-color: #5ce1e6;
    border-color: #5ce1e6;
}

.newsletter-form .btn:hover {
    background-color: #4bc5c9;
    border-color: #4bc5c9;
}

/* Widget de devis personnalisé */
.custom-quote-widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f8ff 100%);
    border: none;
    text-align: center;
}

.custom-quote-widget .widget-content {
    padding: 20px;
}

.logo-container {
    margin-bottom: 15px;
}

.btn-custom-quote {
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-custom-quote:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar-widget {
        margin-top: 30px;
    }
}