/**
 * Brand Service Widget Styles
 * Professional and customizable design
 */

/* Container */
.bsw-container {
    width: 100%;
}

/* ===================
   INFO CARDS
   =================== */
.bsw-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.bsw-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 20px;
}

.bsw-card-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EDE9FE;
    color: #7C3AED;
}

.bsw-card-icon i {
    font-size: 20px;
}

.bsw-card-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.bsw-card-content {
    flex: 1;
}

.bsw-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1A202C;
    margin-bottom: 6px;
    line-height: 1.4;
}

.bsw-card-desc {
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
}

/* ===================
   BANNER
   =================== */
.bsw-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background-color: #7C3AED;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.bsw-banner-content {
    flex: 1;
}

.bsw-banner-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.bsw-banner-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.bsw-badge {
    flex-shrink: 0;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 20px 25px;
    text-align: center;
    min-width: 140px;
}

.bsw-badge-icon {
    font-size: 32px;
    color: #F59E0B;
    margin-bottom: 8px;
}

.bsw-badge-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.bsw-badge-text {
    font-size: 12px;
    font-weight: 600;
    color: #7C3AED;
    line-height: 1.4;
}

/* ===================
   BRAND SERVICE CENTER
   =================== */
.bsw-brands-section {
    background-color: #FFFFFF;
    padding: 25px 0;
}

.bsw-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.bsw-section-line {
    width: 30px;
    height: 3px;
    background-color: #7C3AED;
    border-radius: 2px;
}

.bsw-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A202C;
    margin: 0;
    padding: 0;
    letter-spacing: 0.5px;
}

.bsw-section-desc {
    font-size: 13px;
    color: #718096;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

/* Brands Grid */
.bsw-brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.bsw-brand-card {
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.bsw-brand-card:hover {
    border-color: #7C3AED;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

.bsw-brand-name {
    font-size: 16px;
    font-weight: 600;
    color: #1A202C;
    margin-bottom: 10px;
    line-height: 1.3;
}

.bsw-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bsw-brand-link:hover {
    color: #2563EB;
    text-decoration: underline;
}

.bsw-brand-link i {
    font-size: 10px;
}

/* ===================
   RESPONSIVE - TABLET
   =================== */
@media (max-width: 1024px) {
    .bsw-info-cards {
        gap: 15px;
    }

    .bsw-info-card {
        padding: 15px;
    }

    .bsw-card-icon {
        width: 40px;
        height: 40px;
    }

    .bsw-card-icon i {
        font-size: 18px;
    }

    .bsw-card-title {
        font-size: 14px;
    }

    .bsw-card-desc {
        font-size: 12px;
    }

    .bsw-banner {
        padding: 25px;
        gap: 20px;
    }

    .bsw-banner-title {
        font-size: 20px;
    }

    .bsw-banner-desc {
        font-size: 13px;
    }

    .bsw-badge {
        padding: 15px 20px;
        min-width: 120px;
    }

    .bsw-badge-icon {
        font-size: 28px;
    }

    .bsw-brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================
   RESPONSIVE - MOBILE
   =================== */
@media (max-width: 767px) {
    .bsw-info-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 15px;
    }

    .bsw-info-card {
        padding: 12px;
        gap: 12px;
    }

    .bsw-card-icon {
        width: 36px;
        height: 36px;
    }

    .bsw-card-icon i {
        font-size: 16px;
    }

    .bsw-card-title {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .bsw-card-desc {
        font-size: 11px;
    }

    .bsw-banner {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        text-align: center;
        margin-bottom: 20px;
    }

    .bsw-banner-title {
        font-size: 18px;
    }

    .bsw-banner-desc {
        font-size: 12px;
    }

    .bsw-badge {
        width: 100%;
        max-width: 200px;
    }

    .bsw-section-title {
        font-size: 16px;
    }

    .bsw-section-desc {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .bsw-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .bsw-brand-card {
        padding: 15px 10px;
    }

    .bsw-brand-name {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .bsw-brand-link {
        font-size: 11px;
    }
}