/* style.css */

/* تحسين تنسيق الصفحة بالكامل */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    color: #ef4656;
    text-align: center;
    margin-top: 20px;
    font-size: 28px;
}

#upload-section {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}

/* تحسين مظهر الرفع والتنسيق */
.qq-uploader {
    width: 100%;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* تنسيق قائمة الملفات بحيث تظهر 6 ملفات في الصف */
.qq-upload-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qq-upload-list li {
    flex: 1 1 calc(16.66% - 10px); /* عرض كل ملف يكون حوالي 16.66% ليظهر 6 ملفات في الصف */
    max-width: calc(16.66% - 10px); /* نفس العرض كما في flex */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
}

/* تحسين مظهر الأزرار */
.qq-upload-list button {
    background-color: #ee456b;
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    font-size: 12px;
}

.qq-upload-list button.hidden {
    display: none; /* إخفاء زر إعادة إذا نجح الرفع */
}

.qq-upload-list button:hover {
    background-color: #ee456b;
}

/* تحسين مظهر شريط التقدم */
.qq-progress-bar {
    background-color: #ef4656;
    height: 20px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.qq-upload-list img {
    border-radius: 5px;
    max-height: 120px;
    max-width: 120px;
    margin-bottom: 10px;
}
/* تكبير منطقة إسقاط الملفات */
.qq-upload-drop-area {
    border: 100px dashed #ef4656;
    background-color: #f9f9f9;
    color: #ef4656;
    text-align: center;
    padding: 20px;
    font-size: 18px; /* تكبير حجم النص */
    border-radius: 8px;
    margin-top: 20px;
}

/* تحسين مظهر زر رفع الملفات */
.qq-upload-button {
    background-color: #283C6B;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    margin: 10px 0;
}

.qq-upload-button:hover {
    background-color: #23365e;
}

/* تحسين النص داخل منطقة الإسقاط */
.qq-upload-drop-area-text-selector {
    font-size: 18px;
    color: #FF5E8E;
    font-weight: bold;
}

/* تحسين مظهر النصوص */
.qq-upload-file, 
.qq-upload-size {
    text-align: center;
}

/* إخفاء زر إعادة المحاولة افتراضيًا */
.qq-upload-retry.hidden {
    display: none;
}

