@import url('https://fonts.googleapis.com/css2?family=Vazir:wght@400;500;700&display=swap');

* {
    font-family: 'Vazir', Arial, sans-serif;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.drop-zone {
    border: 3px dashed #dee2e6;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.drop-zone:hover {
    border-color: #667eea;
    background: #e7f3ff;
}

.drop-zone.dragover {
    border-color: #667eea;
    background: #e7f3ff;
    transform: scale(1.02);
}

.border-dashed {
    border-style: dashed !important;
}

.file-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s;
}

.file-preview:hover {
    transform: scale(1.05);
}

.file-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.file-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.file-remove:hover {
    background: rgba(220, 53, 69, 1);
}

.stat-box {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.progress {
    border-radius: 25px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-bar {
    border-radius: 25px;
}

.card {
    border-radius: 15px;
}

.btn {
    border-radius: 25px;
    font-weight: 500;
}

.form-range::-webkit-slider-thumb {
    background: #667eea;
}

.form-range::-moz-range-thumb {
    background: #667eea;
    border: none;
}

.badge {
    border-radius: 15px;
    padding: 8px 16px;
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .drop-zone {
        padding: 30px 15px !important;
    }
    
    .stat-box {
        margin-bottom: 15px;
    }
}
