/* ===== Driver Download Widget Styles ===== */
.driver-download-box {
    font-family: 'YekanBakhFaNum', 'Segoe UI', Tahoma, sans-serif;
    direction: rtl;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* هدر */
.driver-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.driver-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* رنگ‌های برندها */
.driver-header.canon { background: linear-gradient(135deg, #c8102e 0%, #e31837 100%); }
.driver-header.hp { background: linear-gradient(135deg, #0096d6 0%, #00b388 100%); }
.driver-header.epson { background: linear-gradient(135deg, #004b87 0%, #0067b1 100%); }
.driver-header.konica { background: linear-gradient(135deg, #002855 0%, #003d7a 100%); }
.driver-header.ricoh { background: linear-gradient(135deg, #cc0000 0%, #ff0000 100%); }
.driver-header.kyocera { background: linear-gradient(135deg, #e4002b 0%, #b8002a 100%); }
.driver-header.brother { background: linear-gradient(135deg, #0066b3 0%, #004c99 100%); }
.driver-header.samsung { background: linear-gradient(135deg, #1428a0 0%, #0d1b7a 100%); }
.driver-header.xerox { background: linear-gradient(135deg, #c8102e 0%, #e31837 100%); }
.driver-header.sharp { background: linear-gradient(135deg, #cc0000 0%, #990000 100%); }
.driver-header.toshiba { background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); }

.device-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.device-icon svg {
    width: 45px;
    height: 45px;
    fill: #fff;
}

.device-name {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    position: relative;
    z-index: 1;
}

.device-model {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    position: relative;
    z-index: 1;
}

.device-badge {
    display: inline-block;
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 15px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    position: relative;
    z-index: 1;
}

/* محتوا */
.driver-content {
    padding: 30px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.section-title svg {
    width: 22px;
    height: 22px;
    fill: #3b82f6;
}

/* لیست دانلود */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.download-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.os-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.os-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.os-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.os-icon.win11 { background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%); }
.os-icon.win10 { background: linear-gradient(135deg, #00a4ef 0%, #0078d4 100%); }
.os-icon.win8 { background: linear-gradient(135deg, #00bcf2 0%, #00a4ef 100%); }
.os-icon.win7 { background: linear-gradient(135deg, #f25022 0%, #ffb900 100%); }

.os-details h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.os-details span {
    font-size: 13px;
    color: #64748b;
}

.os-meta {
    display: flex;
    gap: 15px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #94a3b8;
}

.meta-item svg {
    width: 14px;
    height: 14px;
    fill: #94a3b8;
}

/* دکمه دانلود */
.download-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.download-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: #fff !important;
}

.download-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* باکس اطلاعات */
.info-box {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    border-right: 4px solid #3b82f6;
}

.info-box h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 15px;
    color: #1e40af;
}

.info-box ul {
    margin: 0;
    padding: 0 20px 0 0;
    list-style: none;
}

.info-box li {
    position: relative;
    padding: 5px 15px 5px 0;
    font-size: 14px;
    color: #3b82f6;
}

.info-box li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #10b981;
    font-weight: 700;
}

/* فوتر */
.driver-footer {
    padding: 20px 30px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.driver-footer p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .os-info {
        flex-direction: column;
    }
    
    .os-meta {
        justify-content: center;
    }
    
    .device-name {
        font-size: 22px;
    }
    
    .driver-header,
    .driver-content {
        padding: 20px;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* اضافه کنید به driver-style.css */
.os-details h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.section-title {
    /* تغییر h2 */
}

h2.section-title {
    font-size: 18px;
}