/* Reset Values */
button:hover,
button:focus {
    outline: none !important;
    /* border:0px !important; */
    box-shadow: none !important;
}

/* Label In Login & Signup & Reset Password .. etc */
.col-lg-6.col-xl-5.bg-white label {
    color: #888 !important;
    font-weight: bold;
    /* display: none; */
}


/* Logo in Side Bar */
body.sidenav-toggled .desktop-logo.logo-dark {
    display: none !important;
}

body.sidenav-toggled-open a.desktop-logo,
body:not(.sidenav-toggled) a.desktop-logo {
    height: 100%;

    width: 100%;
    margin: 0px !important;
    padding: 5px;
}

body.sidenav-toggled-open a.desktop-logo img,
body:not(.sidenav-toggled) a.desktop-logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}


/* Icon in side bar / mobile screen */
@media (max-width: 767px) {
    .app.sidenav-toggled .side-menu .side-menu__icon {
        margin-left: 13px !important;
        margin-right: 0px !important;
    }
}



/* Dark & Light Mode Button */
.theme-toggle-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.theme-toggle-btn:hover {
    border-color: #888;
    background: #f0f4ff;


}

.dark-theme .theme-toggle-btn {
    background: #1e293b;
    border-color: #334155;
    color: #fbbf24;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark-theme .theme-toggle-btn:hover {
    border-color: #fbbf24;
    background: #0f172a;

}



/* تنسيقات مخصصة لصفحة 404 */
/* تنسيقات مخصصة لصفحة 500 */
.error-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f7fa;
    /* خلفية فاتحة مريحة */
    padding: 15px;
    /* مسافة أمان على الموبايل */
}

.error-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    /* ظل ناعم */
    max-width: 600px;
    width: 100%;
    text-align: center;
    border: 1px solid #eaeaea;
    /* مسافة إضافية للموبايل */
    margin: 15px;
}

/* تعديلات خاصة للشاشات الصغيرة */
@media (max-width: 576px) {
    .error-card {
        padding: 30px 20px;
        /* تقليل الحشوة الداخلية للموبايل */
        margin: 10px;
    }

    .error-code {
        font-size: 90px;
        /* تصغير الرقم 404 قليلاً للموبايل */
    }

    .error-logo {
        height: 90px;
    }
}

.error-logo {
    height: 120px;
    margin-bottom: 20px;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    color: #1a56db;
    /* لون أزرق احترافي */
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -2px;
    text-shadow: 2px 2px 4px rgba(26, 86, 219, 0.2);
}

.error-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
}

.error-desc {
    font-size: 16px;
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-home {
    background-color: #1a56db;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-home:hover {
    background-color: #1e429f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}
