
.logo img {
    height: 40px;
}

.web_group, .mobil_group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-icon, .Contact-icon, .Lgin-icon {
    position: relative;
}

.home-icon a, .Contact-icon a, .Lgin-icon a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.home-icon a:hover, .Contact-icon a:hover, .Lgin-icon a:hover {
    color: #4CAF50;
}

.green {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.home-icon:hover .green, .Contact-icon:hover .green, .Lgin-icon:hover .green {
    width: 100%;
}

.login-icon-wrapper a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.login-icon-wrapper a:hover {
    color: #4CAF50;
}

.minu_icon {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

.mobil_group {
    display: none;
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background-color: #333;
    transition: right 0.3s ease;
    padding-top: 60px;
}

.mobil_group nav ul {
    list-style: none;
    padding: 0;
}

.mobil_group nav ul li {
    margin: 15px 0;
}

.mobil_group nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.mobil_group nav ul li a:hover {
    background-color: #4CAF50;
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .web_group {
        display: none;
    }

    .minu_icon {
        display: block;
    }

    .mobil_group.active {
        right: 0;
    }
}



/* أنماط عامة لرسائل الخطأ */
.error-message, .warning-message {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb; /* لون الحدود */
    border-radius: 4px;
    background-color: #f8d7da; /* لون الخلفية */
    color: #721c24; /* لون النص */
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* إضافة ظل */
}

.warning-message {
    background-color: #028673; /* لون الخلفية */
    color: #ffffff; /* لون النص */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* إضافة ظل */
}

/* تأثيرات التحويم (Hover) */
.error-message:hover, .warning-message:hover {
    opacity: 0.9;
}

/* زر الإغلاق (اختياري) */
.error-message .close, .warning-message .close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #721c24;
}

.error-message .close:hover, .warning-message .close:hover {
    color: #000;
}

