/* ملف النمط الرئيسي للنظام */

/* إعدادات عامة */
body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background-color: #f8f9fa;
}

/* تنسيق للطباعة */
@media print {
    .no-print {
        display: none !important;
    }
    .print-only {
        display: block !important;
    }
    .container {
        width: 100%;
        max-width: 100%;
    }
}

.print-only {
    display: none;
}

/* تنسيق النماذج */
.form-header {
    border-bottom: 2px solid #0d6efd;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

/* تنسيق البطاقات والجداول */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* تنسيق للمستندات المطبوعة */
.document-container {
    background-color: white;
    border: 1px solid #ddd;
    padding: 30px;
    margin-bottom: 20px;
    position: relative;
}

.document-header {
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-logo {
    height: 80px;
}

.document-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.document-info {
    margin-bottom: 30px;
}

.document-footer {
    margin-top: 50px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

.signature-area {
    text-align: center;
    width: 200px;
}

.signature-image {
    height: 60px;
    margin-bottom: 10px;
}

.stamp-image {
    height: 100px;
    position: absolute;
    bottom: 70px;
    right: 50px;
    opacity: 0.7;
}

/* تنسيق بطاقة العامل */
.worker-card {
    width: 350px;
    height: 200px;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 15px;
    position: relative;
    background-color: white;
}

.worker-card-front {
    display: flex;
}

.worker-card-logo {
    width: 80px;
    height: auto;
}

.worker-card-details {
    margin-right: 10px;
}

.worker-card-photo {
    width: 80px;
    height: 100px;
    border: 1px solid #ddd;
    position: absolute;
    left: 15px;
    top: 15px;
}

.worker-card-barcode {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 100px;
    height: 30px;
}

.worker-card-back {
    padding: 10px;
    font-size: 12px;
}

/* تنسيق للواجهة العربية */
.arabic-ui {
    direction: rtl;
    text-align: right;
}
