﻿/* ModernApp.css 
    دمج الخطوط الأصلية مع الهوية البصرية الجديدة
*/

/* 1. تعريف الخطوط الخاصة بالكلية (حافظنا عليها كما هي) */
@font-face {
    font-family: myfont1;
    src: url('../Fonts/GE_SS_Two_Bold.otf') format('opentype');
}

@font-face {
    font-family: myfont2;
    src: url('../Fonts/DroidKufi-Regular.ttf') format('truetype');
}

/* 2. أيقونات النظام (Icomoon) */
@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot?x5770m');
    src: url('fonts/icomoon.eot?x5770m#iefix') format('embedded-opentype'), url('fonts/icomoon.ttf?x5770m') format('truetype'), url('fonts/icomoon.woff?x5770m') format('woff'), url('fonts/icomoon.svg?x5770m#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-logo:before {
    content: "\e9ca";
}

.icon-wink2:before {
    content: "\e9e8";
}

/* 3. تنسيقات عامة محدثة لتناسب Bootstrap 5 */
body {
    font-family: myfont2, 'Segoe UI', sans-serif;
    background-color: #f4f7f6;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-family: myfont2;
}

/* استخدام الهوية البصرية في العناصر */
.fontcolor {
    color: var(--primary-color) !important;
}

.backgroundcolor {
    background-color: var(--primary-color) !important;
    color: white;
}

/* تحسين الجداول بناءً على ستايل الكلية القديم لكن بشكل أنظف */
.TableHeader {
    background-color: var(--primary-color);
    color: white;
    font-family: myfont2;
    text-align: center;
}

/* 4. تنسيق الطباعة (مهم جداً للنتائج والكشوفات) */
@media print {
    nav, .sidebar, #sidebarCollapse, footer, .btn, .input-group {
        display: none !important;
    }

    .main-content {
        margin-right: 0 !important;
        padding: 0 !important;
    }

    body {
        background-color: white !important;
        padding-top: 0 !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #eee !important;
    }
}

/* 5. تخصيص المدخلات لتكون متناسقة */
input, select, textarea {
    max-width: 100%; /* جعلناها مرنة لتناسب الكروت الجديدة */
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    padding: 8px 12px !important;
}

    input:focus, select:focus {
        border-color: var(--secondary-color) !important;
        box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
    }
