  @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

        
        * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.loading-button {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}


body {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    background-color: #f5f5f5;
    color: #333;
    direction: rtl;

}
* {
    -webkit-touch-callout: none; /* منع قائمة السياق عند الضغط المطول */
    -webkit-user-select: none;   /* لمتصفحات WebKit (سفاري، كروم) */
    -khtml-user-select: none;    /* لمتصفحات قديمة */
    -moz-user-select: none;      /* لفايرفوكس */
    -ms-user-select: none;       /* لإنترنت إكسبلورر/إيدج */
    user-select: none;           /* المعيار الحديث */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* أنماط النماذج */
.login-form, .register-form {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.btn-primary {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.account-type-selector {
    display: flex;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.type-btn {
    flex: 1;
    padding: 10px;
    background-color: #ecf0f1;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.type-btn.active {
    background-color: #3498db;
    color: white;
}

.account-form {
    display: none;
}

.account-form.active {
    display: block;
}

/* أنماط التنقل */
.navbar {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
}

.navbar-nav {
    display: flex;
    list-style: none;
}

.navbar-nav li {
    margin-left: 20px;
}

.navbar-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar-nav a:hover {
    color: #3498db;
}

/* أنماط البطاقات */
.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.card-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

/* أنماط الجداول */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th, .table td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* أنماط الاستجابة */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }
    
    .navbar-nav {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar-nav li {
        margin: 5px 10px;
    }
    
    .login-form, .register-form {
        margin: 20px auto;
        padding: 20px;
    }
}