/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : May 19, 2026, 5:47:18 PM
    Author     : Fatima
*/

        :root {
            --primary-color: #0c3661;  
            --secondary-color: #cbb062; 
            --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
            --text-dark: #222222;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Cairo', sans-serif;
        }

        body {
            background: var(--bg-gradient);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .site-header {
            width: 100%;
            background-color: var(--primary-color);
            border-bottom: 4px solid var(--secondary-color);
            padding: 15px 5%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            z-index: 10;
        }

        .brand-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-placeholder {
            width: 50px;
            height: 50px;
            background: transparent;
            border: 2px solid var(--secondary-color);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--secondary-color);
            font-size: 24px;
        }

        .brand-text {
            color: #ffffff;
        }

        .brand-text h2 {
            font-size: 18px;
            font-weight: 700;
            line-height: 1.2;
        }

        .brand-text p {
            font-size: 12px;
            color: var(--secondary-color);
            letter-spacing: 1px;
        }

        .lang-switch {
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.3);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 13px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s;
        }

        .lang-switch:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-color: var(--secondary-color);
        }

        /* ==================== التصميم المنقسم (Split-Screen Design) ==================== */
        .main-content {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px 20px;
            width: 100%;
        }

        .split-login-wrapper {
            display: flex;
            width: 100%;
            max-width: 950px; 
            background-color: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 45px rgba(12, 54, 97, 0.15);
            border-right: 5px solid var(--secondary-color);
        }

        .login-form-side {
            flex: 1.2;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

         .login-visual-side {
            flex: 1;
            background: linear-gradient(45deg, #07223e 0%, var(--primary-color) 100%);
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: #ffffff;
            position: relative;
        }

        @media (max-width: 768px) {
            .login-visual-side {
                display: none;
            }
            .split-login-wrapper {
                max-width: 480px;
                border-right: none;
                border-top: 5px solid var(--secondary-color);
            }
            .login-form-side {
                padding: 30px 20px;
            }
        }

        /* حاوية الشعار الكبيرة الفاخرة المحدثة */
        .visual-logo-container {
            width: 160px; /* حجم الشعار الكبير المريح للعين */
            height: auto;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }
        
        .visual-logo-container img {
            width: 100%;
            height: auto;
            object-fit: contain;
        }

        .visual-text h3 {
            font-size: 24px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 5px;
        }

        .visual-text .uni-sub {
            font-size: 16px;
            font-weight: 600;
            color: var(--secondary-color); /* اللون الذهبي الجذاب للنص الترحيبي للجامعة */
            margin-bottom: 15px;
        }

        .visual-text p {
            font-size: 13px;
            color: #cbd5e1;
            max-width: 290px;
            line-height: 1.6;
        }

        /* تنسيقات حقول إدخال التصميم الثاني */
        .login-title {
            margin-bottom: 25px;
            color: var(--primary-color);
        }

        .login-title h1 {
            font-size: 24px;
            font-weight: 700;
        }

        .login-title p {
            font-size: 13px;
            color: #666;
            margin-top: 2px;
        }

        .input-group {
            margin-bottom: 18px;
        }

        .input-group label {
            display: block;
            margin-bottom: 6px;
            color: var(--primary-color);
            font-weight: 600;
            font-size: 14px;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-wrapper i {
            position: absolute;
            right: 15px;
            color: var(--primary-color);
            opacity: 0.7;
        }

        .input-wrapper input {
            width: 100%;
            padding: 12px 42px 12px 15px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            font-size: 15px;
            outline: none;
            transition: all 0.3s;
            background-color: #f8fafc;
        }

        .input-wrapper input:focus {
            border-color: var(--primary-color);
            background-color: #ffffff;
            box-shadow: 0 0 0 4px rgba(12, 54, 97, 0.08);
        }

        .captcha-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .captcha-code {
            background: #1e293b;
            color: #38bdf8;
            font-family: monospace;
            font-size: 18px;
            font-weight: bold;
            letter-spacing: 2px;
            padding: 10px 18px;
            border-radius: 8px;
            user-select: none;
        }

        .btn-group {
            display: flex;
            gap: 12px;
            margin-top: 22px;
        }

        .btn {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-primary {
            background-color: var(--primary-color);
            color: #ffffff;
        }

        .btn-primary:hover {
            background-color: #082545;
            box-shadow: 0 4px 12px rgba(12, 54, 97, 0.2);
        }

        .btn-secondary {
            background-color: #f1f5f9;
            color: #475569;
            border: 1px solid #e2e8f0;
        }

        .btn-secondary:hover {
            background-color: #e2e8f0;
        }

        .sanad-login {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 15px;
            padding: 12px;
            background-color: #fffbeb;
            border: 1px solid #fde68a;
            border-radius: 8px;
            color: #b45309;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s;
        }

        .sanad-login:hover {
            background-color: var(--secondary-color);
            color: #ffffff;
            border-color: var(--secondary-color);
        }

        /* شبكة الأزرار الأيقونية المحسّنة أسفل لوحة الإدخال */
        .icon-actions-grid {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            margin-top: 25px;
            border-top: 1px solid #f1f5f9;
            padding-top: 20px;
        }

        .icon-action-btn {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            padding: 8px 4px;
            border-radius: 6px;
            background-color: #f8fafc;
            border: 1px solid #f1f5f9;
            color: #64748b;
            transition: all 0.3s ease;
        }

        .icon-action-btn i {
            font-size: 18px;
            margin-bottom: 4px;
        }

        .icon-action-btn span {
            font-size: 10.5px;
            font-weight: 600;
        }

        .icon-action-btn.forgot-pass:hover { background-color: #fef2f2; color: #ef4444; }
        .icon-action-btn.activation-guide:hover { background-color: #f0fdf4; color: #22c55e; }
        .icon-action-btn.new-programs:hover { background-color: #f0f9ff; color: #3b82f6; }

        /* الفوتر الكحلي الأنيق والجذاب */
        .site-footer {
            width: 100%;
            background-color: var(--primary-color);
            border-top: 4px solid var(--secondary-color);
            color: #ffffff;
            padding: 30px 5% 20px 5%;
            margin-top: auto;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 20px;
            margin-bottom: 15px;
        }

        .footer-info {
            flex: 1;
            min-width: 250px;
        }

        .footer-info p {
            font-size: 13px;
            color: #e2e8f0;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .footer-info p i {
            color: var(--secondary-color);
            width: 16px;
        }

        .footer-social {
            display: flex;
            gap: 12px;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 16px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .social-icon:hover {
            background-color: var(--secondary-color);
            color: var(--primary-color);
            transform: translateY(-4px);
            box-shadow: 0 4px 12px rgba(203, 176, 98, 0.3);
        }

        .footer-copyright {
            text-align: center;
            font-size: 12px;
            color: #a0aec0;
        }
/**********************************/
/* =========================================
   ONLY REQUIRED CSS FOR YOUR HTML
========================================= */

/* ----- MODAL ----- */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: rgba(0,0,0,.5);
}

.modal.show {
    display: block;
}

.modal-dialog {
    width: 600px;
    margin: 30px auto;
}

.modal-content {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.modal-body {
    padding: 15px;
}

.modal-footer {
    padding: 15px;
    border-top: 1px solid #ddd;
    text-align: left;
}

/* ----- NAV TABS ----- */

.nav {
    padding-right: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav-tabs {
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: row-reverse;
}

.nav-tabs li {
    margin-bottom: -1px;
}

.nav-tabs li a {
    display: block;
    padding: 10px 15px;
    border: 1px solid transparent;
    text-decoration: none;
    color: #337ab7;
    background: #f7f7f7;
}

.nav-tabs li.active a {
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

/* ----- TAB CONTENT ----- */

.tab-content {
    padding-top: 15px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* ----- FORM ----- */

.form-group {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.col-sm-12 {
    width: 100%;
}

.col-sm-6 {
    width: 50%;
    padding: 0 10px;
}

.col-sm-5 {
    width: 41.66666667%;
    padding: 0 10px;
}

.col-sm-4 {
    width: 33.33333333%;
    padding: 0 10px;
}

.col-sm-3 {
    width: 25%;
    padding: 0 10px;
}

.col-form-label {
    padding-top: 7px;
    text-align: right;
}

/* ----- INPUTS ----- */

.form-control {
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ----- BUTTONS ----- */
/*
.btn {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
}

.btn:hover {
    background: #eee;
}
*/
/* ----- HELPERS ----- */

img {
    vertical-align: middle;
}
.errMsg{
    display:inline-block;
    position:relative;
    float:right;
    color:red;
    font-size:18px;
    font-weight:bold;
    text-align:center;
    direction:rtl;
}