﻿@charset "UTF-8";

/* ============================================================
   استيراد Font Awesome
   ============================================================ */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');
@import url('../fontawesome-free/css/all.min.css');
@import url('../fonts/fontawesome-free/css/all.css');

/* ============================================================
   تعريفات الخطوط
   ============================================================ */

@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../fonts/noto_kufi_arabic/notokufiarabic-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../fonts/noto_kufi_arabic/notokufiarabic-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../noto_kufi_arabic/notokufiarabic-black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../fonts/noto_kufi_arabic/notokufiarabic-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* ============================================================
   تنسيق أيقونات Font Awesome
   ============================================================ */
.fas, .far, .fab {
    font-size: 18px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

/* أيقونات بحجم أكبر */
.fa-2x {
    font-size: 24px;
}

.fa-3x {
    font-size: 32px;
}

/* أيقونات في الأزرار */
.btn i, button i, .btn-glowing i, .view-all-link i {
    margin-left: 8px;
}

/* أيقونات في الروابط */
a i {
    transition: transform 0.3s ease;
}

a:hover i {
    transform: translateX(-3px);
}


body {
    background: linear-gradient(135deg, #f7f9fb, #f7f9fb);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Kufi Arabic', sans-serif;
}

.login-wrapper {
    margin: 20px;
}

/* دعم الوضع المظلم */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

    body.dark-mode .filter-card {
        background: #1e1e2f;
        border: 1px solid rgba(255, 255, 255, 0.25);
    }

    body.dark-mode .filter-header {
        background: #2d2d3f;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

        body.dark-mode .filter-header h5,
        body.dark-mode .filter-header .filter-icon i {
            color: #fff;
        }

    body.dark-mode .filter-label {
        color: #a0a0a0;
    }

    body.dark-mode .modern-input {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.2);
        background-color: transparent;
    }

        body.dark-mode .modern-input:focus {
            border-color: #e91e63;
        }

    body.dark-mode .link-register {
        color: #0074b7;
    }

    body.dark-mode .text-muted {
        color: #a0a0a0 !important;
    }

    body.dark-mode hr {
        border-color: rgba(255, 255, 255, 0.1);
    }

/* أيقونات المدخلات */
.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a0a0;
    font-size: 16px;
    pointer-events: none;
}

.input-icon-wrapper .modern-input {
   
}

/* زر تسجيل الدخول المخصص */
.btn-login-custom {
    background: linear-gradient(135deg, #0074b7, #003b73);
    border: none;
    border-radius: 12px;
    padding: 8px;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    color: white;
    transition: all 0.3s;
}

    .btn-login-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

body.dark-mode .btn-login-custom {
    background: linear-gradient(135deg, #a0a0a0 0%, #6c6c73 100%);
}

/* رابط إنشاء حساب */
.link-register {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

    .link-register:hover {
        text-decoration: underline;
    }

/* رابط دخول المشرفين */
.admin-link {
    color: #065584;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #91bfda;
}

    .admin-link:hover {
        color: #289312;
    }

/*        body.dark-mode .admin-link {
            color: #0074b7;
        }*/

/* زر تبديل الوضع المظلم */
.dark-mode-toggle {
    position: fixed;
    top: 12px;
    /*left: 20px;*/
    background: rgba(17, 17, 17, 0.89);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

    .dark-mode-toggle:hover {
        transform: scale(1.1);
        background: #67686c;
    }

    .dark-mode-toggle i {
        font-size: 1.3rem;
        color: #e7e7f4;
    }

body.dark-mode .dark-mode-toggle {
    background: rgba(0, 0, 0, 0.5);
}

.ck71 {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 6px;
    border-right: 4px solid #0074b7;
}

.ck72 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


/* تنسيقات إضافية خاصة بصفحة التسجيل */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.filter-group-full {
    grid-column: span 2;
}

/* رسائل التحقق */
.validator-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

    .validator-error.show {
        display: block;
    }

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-group-full {
        grid-column: span 1;
    }
}

/* زر التسجيل */
.btn-register-custom {
    background: linear-gradient(135deg, #0074b7, #003b73);
    border: none;
    border-radius: 12px;
    padding: 10px;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    color: white;
    transition: all 0.3s;
    cursor: pointer;
}

    .btn-register-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 116, 183, 0.3);
        background: linear-gradient(135deg, #0088d4, #004a80);
    }

body.dark-mode .btn-register-custom {
    background: linear-gradient(135deg, #a0a0a0 0%, #6c6c73 100%);
}

    body.dark-mode .btn-register-custom:hover {
        background: linear-gradient(135deg, #f06292, #c2185b);
        box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
    }

/* رابط تسجيل الدخول */
.login-link {
    color: #0074b7;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .login-link:hover {
        color: #e91e63;
        text-decoration: underline;
    }

body.dark-mode .login-link {
    color: #0074b7;
}

/* علامة النجمة للحقول الإجبارية */
.required-star {
    color: #dc3545;
    margin-right: 3px;
}

/* تعديل مكان زر الوضع المظلم */
.dark-mode-toggle {
    position: fixed;
    top: 35px;
    background: rgba(17, 17, 17, 0.89);
    backdrop-filter: blur(10px);
    border: 1px solid #75889c;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

    .dark-mode-toggle:hover {
        transform: scale(1.1);
        background: #67686c;
    }

    .dark-mode-toggle i {
        font-size: 1.3rem;
        color: #e7e7f4;
    }

body.dark-mode .dark-mode-toggle {
    background: rgba(0, 0, 0, 0.5);
}

/* تحسين المسافات */
.login-wrapper {
    margin: 20px auto;
    max-width: 650px;
}
