/* استایل‌های اصلی پلاگین واچر بیمه مسافرتی پارسیان */

/* ریست استایل‌ها */
.parsian-insurance-widget * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.parsian-insurance-widget {
    font-family: 'Vazirmatn', 'Samim', sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.5;
    padding: 10px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    direction: rtl;
}

/* انیمیشن‌ها */
@keyframes parsian-pulse {
    0% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.05); }
    100% { transform: translateY(-50%) scale(1); }
}

@keyframes parsian-float {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-55%); }
}

@keyframes parsian-glow {
    from { box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5); }
    to { box-shadow: 0 6px 25px rgba(245, 158, 11, 0.8); }
}

@keyframes parsian-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes parsian-slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* استایل‌های اضافی برای جدول‌ها */
.parsian-compact-table th i,
.parsian-compact-table td i {
    margin-left: 5px;
    font-size: 10px;
}

/* دکمه‌های عملیاتی */
.parsian-action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.parsian-action-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Vazirmatn', sans-serif;
}

.parsian-action-btn.save {
    background: linear-gradient(to right, #10b981, #059669);
    color: white;
}

.parsian-action-btn.download {
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    color: white;
}

.parsian-action-btn.share {
    background: linear-gradient(to right, #8b5cf6, #7c3aed);
    color: white;
}

.parsian-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* اطلاعات اضافی */
.parsian-additional-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    font-size: 11px;
    color: #4b5563;
}

.parsian-additional-info h4 {
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 13px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
}

.parsian-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.parsian-info-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.parsian-info-item:last-child {
    border-bottom: none;
}

.parsian-info-label {
    font-weight: 700;
    color: #1e3c72;
}

.parsian-info-value {
    color: #374151;
}

/* تگ‌های وضعیت */
.parsian-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    margin: 2px;
}

.parsian-tag.urgent {
    background: #fee2e2;
    color: #dc2626;
}

.parsian-tag.normal {
    background: #dbeafe;
    color: #1d4ed8;
}

.parsian-tag.completed {
    background: #d1fae5;
    color: #065f46;
}

/* آیکون‌های ویژه */
.parsian-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f7ff;
    color: #3b82f6;
    margin-left: 5px;
}

/* هایلایت‌های خاص */
.parsian-special-highlight {
    background: linear-gradient(120deg, #fef3c7 0%, #fef3c7 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 90%;
    border-radius: 4px;
    padding: 0 2px;
    font-weight: 900;
    color: #92400e;
}

/* رسپانسیو */
@media (max-width: 768px) {
    .parsian-insurance-widget {
        padding: 5px;
    }
    
    .parsian-info-grid {
        grid-template-columns: 1fr;
    }
    
    .parsian-download-languages {
        flex-direction: column;
        align-items: center;
    }
    
    .parsian-download-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media print {
    .parsian-action-buttons,
    .parsian-floating-coverage-btn,
    .parsian-floating-btn-label,
    .parsian-additional-info {
        display: none !important;
    }
}