/* ==============================================
   global.css - التنسيقات المشتركة والأساسية لـ WesamFiles
   ============================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&display=swap');

/* --- الألوان الجديدة للوجو --- */
/* Brand Primary: #00bcd4 (أزرق سماوي/سماوي فاتح) */
/* Accent/Success: #8bc34a (أخضر زاهٍ) */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    direction: rtl;
    text-align: right;
    min-height: 100vh;
}

/* --- التخطيط العام --- */
.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* --- الأزرار والتفاعلات --- */
.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #00bcd4; /* اللون الأزرق الجديد */
    color: white;
    box-shadow: 0 4px 6px rgba(0, 188, 212, 0.3);
}

.btn-primary:hover {
    background-color: #008ba3;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 188, 212, 0.4);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* --- رأس الصفحة (Header) --- */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #00bcd4; 
    font-size: 30px;
    font-weight: 900;
}

.logo img {
    height: 35px; /* حجم صورة اللوجو */
    margin-left: 10px;
}

/* --- الفوتر (Footer) --- */
.main-footer {
    background-color: #343a40;
    color: #adb5bd;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    margin-top: 40px;
}

/* --- نماذج الإدخال العامة --- */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.25);
    outline: none;
}
/* ==============================================
   global.css - (تحديث لتنسيق الجدول الأساسي)
   ============================================== */

/* --- تنسيق الجدول الأساسي --- */
.file-table {
    width: 100%;
    border-collapse: separate; /*  هام: استخدام border-collapse: separate; */
    border-spacing: 0 5px; /*  إضافة مسافة عمودية بين الصفوف */
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.file-table th, .file-table td {
    padding: 14px 15px; /*  زيادة التباعد الأفقي والعمودي */
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.file-table th {
    background-color: #f1f3f5;
    font-weight: 700;
    color: #343a40;
}

/*  تحسين ظهور الصفوف داخل البطاقات */
.file-table tbody tr {
    transition: background-color 0.2s;
    background-color: #ffffff;
    border-radius: 4px; 
}
.file-table tbody tr:hover {
    background-color: #f5f5f5; /* لون خفيف عند المرور */
}