*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family: Tahoma, sans-serif;

    direction: rtl;

    background:
    linear-gradient(
        to bottom,
        #f7f9fc,
        #edf2f7
    );

    overflow-x:hidden;
}


a{
    text-decoration:none;
}

ul{
    list-style:none;
}



/* ================= NAVBAR ================= */

.navbar{

    position:fixed;

    top:0;
    right:0;
    left:0;

    height:90px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 60px;

    background: rgba(5, 16, 35, 0.78);

    backdrop-filter: blur(14px);

    border-bottom:
    1px solid rgba(255,255,255,.06);

    box-shadow:
    0 8px 30px rgba(0,0,0,.18);

    
    z-index: 10000;

}


/* اللوجو */

.logo{

    color:#c8a96b;

    font-size:38px;

    font-weight:bold;

    letter-spacing:1px;
}


/* الروابط */

.nav-links{

    display:flex;
    align-items:center;

    gap:38px;
}


.nav-links li{

    position:relative;
}


.nav-links a,
.drop-btn,
.logout-btn{

    color:white;

    background:none;

    border:none;

    cursor:pointer;

    font-size:21px;

    font-weight:500;

    transition:.3s;
}


/* Hover */

.nav-links a:hover,
.drop-btn:hover,
.logout-btn:hover{

    color:#c8a96b;
}



/* ================= DROPDOWN ================= */

.dropdown{

    position:relative;
}


.drop-btn{

    display:flex;
    align-items:center;

    gap:8px;
}


.drop-btn i{

    font-size:12px;

    transition:.3s;
}


.dropdown:hover .drop-btn i{

    transform:rotate(180deg);
}



/* القائمة */

.dropdown-menu{

    position:absolute;

    top:145%;
    right:0;

    min-width:270px;

    background:
    rgba(4, 18, 42, 0.96);

    backdrop-filter: blur(18px);

    border:
    1px solid rgba(200,169,107,.22);

    border-radius:20px;

    overflow:hidden;

    box-shadow:
    0 15px 40px rgba(0,0,0,.35);

    opacity:0;
    visibility:hidden;

    transform:
    translateY(18px)
    scale(.97);

    transition:
    .28s ease;

    z-index:999;
}


/* ظهور القائمة */

.dropdown:hover .dropdown-menu{

    opacity:1;
    visibility:visible;

    transform:
    translateY(0)
    scale(1);
}


/* العناصر */

.dropdown-menu li a{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 24px;

    color:white;

    font-size:19px;

    border-bottom:
    1px solid rgba(255,255,255,.05);

    transition:.25s;
}


.dropdown-menu li:last-child a{

    border-bottom:none;
}


/* Hover العناصر */

.dropdown-menu li a:hover{

    background:
    linear-gradient(
        to left,
        rgba(200,169,107,.15),
        rgba(255,255,255,.03)
    );

    color:#c8a96b;

    padding-right:34px;
}



/* ================= NOTIFICATION ================= */

.notification-icon{

    position:relative;

    font-size:26px;
}


.notification-badge{

    position:absolute;

    top:-8px;
    right:-10px;

    width:20px;
    height:20px;

    border-radius:50%;

    background:#d62828;

    color:white;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:11px;

    font-weight:bold;
}



/* ================= HERO ================= */

.hero-section{

    position:relative;

    width:100%;

    margin-top:90px;

    overflow:hidden;
}

.hero-section img{

    width:100%;

    height:650px;

    object-fit:cover;

    filter:brightness(.55);
}
@media(max-width:768px){

    .hero-section img{
        height:180px;
    }

}


/* Overlay */

.hero-section::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to bottom,
        rgba(2,12,27,.45),
        rgba(2,12,27,.55)
    );
}



/* ================= CV SECTION ================= */

.cv-section{

    padding:130px 80px;

    background:white;
}


.cv-container{

    display:flex;

    justify-content:center;
    align-items:center;

    gap:120px;
}



/* صورة السيرة الذاتية */

.cv-image img{

    width:430px;

    max-width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

    border-radius:26px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.18);

    transition:.4s ease;
}


/* Hover الصورة */

.cv-image img:hover{

    transform:
    translateY(-10px)
    scale(1.02);
}



/* النص */

.cv-text{

    max-width:620px;
}


.cv-text h2{

    font-size:58px;

    color:#071529;

    margin-bottom:22px;
}


/* الخط الذهبي */

.line{

    width:130px;
    height:5px;

    background:#c8a96b;

    border-radius:20px;

    margin-bottom:40px;
}


.cv-text p{

    font-size:26px;

    line-height:2.2;

    color:#444;
}



/* ================= FOOTER ================= */

.footer{

    background:
    linear-gradient(
        to bottom,
        rgba(5, 14, 30, 0.98),
        rgba(8, 20, 44, 1)
    );

    color:white;

    padding-top:90px;

    margin-top:80px;
}


/* المحتوى */

.footer-content{

    text-align:center;

    max-width:900px;

    margin:auto;

    padding:0 20px;
}


.footer-content h2{

    font-size:42px;

    margin-bottom:25px;

    color:#c8a96b;
}


.footer-content p{

    font-size:25px;

    line-height:2;

    color:#d8dce2;

    margin-bottom:70px;
}


/* آخر الفوتر */

.footer-bottom{

    border-top:
    1px solid rgba(255,255,255,.08);

    text-align:center;

    padding:28px;

    font-size:22px;

    color:#b8bec8;
}


.footer-bottom span{

    color:#c8a96b;

    font-weight:bold;
}



/* ================= RESPONSIVE ================= */

@media(max-width:1200px){

    .cv-container{

        flex-direction:column;

        text-align:center;
    }

    .line{

        margin:
        0 auto 40px;
    }
}



@media(max-width:900px){

    .navbar{

        padding:0 18px;
    }

    .nav-links{

        gap:18px;
    }

    .nav-links a,
    .drop-btn,
    .logout-btn{

        font-size:16px;
    }

    .logo{

        font-size:26px;
    }

    .cv-section{

        padding:100px 30px;
    }

    .cv-text h2{

        font-size:42px;
    }

    .cv-text p{

        font-size:21px;
    }

    .footer-content h2{

        font-size:32px;
    }

    .footer-content p{

        font-size:20px;
    }
}

/* ================= CASES PAGE ================= */

.cases-page{

    padding:
    150px 60px 80px;
}



/* Header */

.cases-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-bottom:40px;
}



/* Search */

.search-box{

    width:420px;

    position:relative;
}


.search-box input{

    width:100%;

    height:60px;

    border:none;

    outline:none;

    border-radius:18px;

    background:white;

    padding:
    0 65px 0 20px;

    font-size:19px;

    box-shadow:
    0 8px 20px rgba(0,0,0,.08);
}


.search-box button{

    position:absolute;

    left:10px;
    top:50%;

    transform:translateY(-50%);

    width:45px;
    height:45px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    background:#071529;

    color:white;

    font-size:18px;
}



/* Add Button */

.add-case-btn{

    display:flex;

    align-items:center;

    gap:10px;

    background:#071529;

    color:white;

    padding:16px 28px;

    border-radius:16px;

    font-size:20px;

    transition:.3s;
}


.add-case-btn:hover{

    background:#0d2447;

    transform:translateY(-3px);
}



/* Table */

.table-responsive{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}


.cases-table{

    width:100%;

    border-collapse:collapse;
}



/* Header */

.cases-table thead{

    background:#071529;
}


.cases-table thead th{

    color:white;

    padding:22px;

    font-size:20px;

    font-weight:500;
}



/* Rows */

.cases-table tbody tr{

    border-bottom:
    1px solid rgba(0,0,0,.06);

    transition:.25s;
}


.cases-table tbody tr:hover{

    background:#f7f9fc;
}



/* Cells */

.cases-table td{

    text-align:center;

    padding:24px 18px;

    font-size:18px;

    color:#333;
}



/* Action Buttons */

.download-btn,
.edit-btn,
.delete-btn{

    width:45px;
    height:45px;

    border:none;

    border-radius:12px;

    display:flex;

    justify-content:center;
    align-items:center;

    margin:auto;

    cursor:pointer;

    transition:.25s;

    color:white;

    font-size:18px;
}



/* Download */

.download-btn{

    background:#0f766e;
}


.download-btn:hover{

    background:#115e59;

    transform:translateY(-3px);
}



/* Edit */

.edit-btn{

    background:#c8a96b;
}


.edit-btn:hover{

    background:#b18f4f;

    transform:translateY(-3px);
}



/* Delete */

.delete-btn{

    background:#c1121f;
}


.delete-btn:hover{

    background:#9b0d17;

    transform:translateY(-3px);
}
/* ================= CREATE CASE PAGE ================= */

.create-case-page{

    padding:
    150px 20px 80px;
}



/* Container */

.create-case-container{

    max-width:900px;

    margin:auto;

    background:white;

    border-radius:28px;

    padding:50px;

    box-shadow:
    0 12px 35px rgba(0,0,0,.08);
}



/* Header */

.form-header{

    text-align:center;

    margin-bottom:50px;
}


.form-header h1{

    font-size:42px;

    color:#071529;

    margin-bottom:15px;
}


.form-header p{

    font-size:20px;

    color:#666;
}



/* Form */

.case-form{

    display:grid;

    grid-template-columns:
    repeat(2, 1fr);

    gap:30px;
}



/* Group */

.form-group{

    display:flex;

    flex-direction:column;

    gap:12px;
}



/* Labels */

.form-group label{

    font-size:19px;

    color:#071529;

    font-weight:600;
}



/* Inputs */

.form-group input,
.form-group select{

    height:60px;

    border:none;

    outline:none;

    border-radius:18px;

    background:#f7f9fc;

    padding:0 18px;

    font-size:18px;

    transition:.25s;

    border:
    1px solid transparent;
}



/* Focus */

.form-group input:focus,
.form-group select:focus{

    border:
    1px solid #c8a96b;

    background:white;

    box-shadow:
    0 0 0 4px rgba(200,169,107,.12);
}



/* File Input */

.file-input{

    padding-top:16px !important;
}



/* Submit Button */

.submit-btn{

    grid-column:span 2;

    height:65px;

    border:none;

    border-radius:18px;

    background:
    linear-gradient(
        to left,
        #071529,
        #0d2447
    );

    color:white;

    font-size:22px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

    margin-top:10px;
}


.submit-btn:hover{

    transform:translateY(-4px);

    box-shadow:
    0 12px 25px rgba(0,0,0,.18);
}



/* Responsive */

@media(max-width:900px){

    .case-form{

        grid-template-columns:1fr;
    }

    .submit-btn{

        grid-column:span 1;
    }

    .create-case-container{

        padding:35px 20px;
    }

    .form-header h1{

        font-size:32px;
    }
}
/* ================= DOCUMENTS PAGE ================= */

.documents-page{

    padding:
    150px 60px 80px;
}



/* Header */

.documents-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-bottom:40px;
}



/* Add Button */

.add-document-btn{

    display:flex;

    align-items:center;

    gap:10px;

    background:#071529;

    color:white;

    padding:16px 28px;

    border-radius:16px;

    font-size:20px;

    transition:.3s;
}


.add-document-btn:hover{

    background:#0d2447;

    transform:translateY(-3px);
}



/* Table */

.documents-table{

    width:100%;

    border-collapse:collapse;
}


.documents-table thead{

    background:#071529;
}


.documents-table thead th{

    color:white;

    padding:22px;

    font-size:19px;

    font-weight:500;
}


.documents-table tbody tr{

    border-bottom:
    1px solid rgba(0,0,0,.06);

    transition:.25s;
}


.documents-table tbody tr:hover{

    background:#f8fafc;
}


.documents-table td{

    text-align:center;

    padding:22px 18px;

    font-size:17px;

    color:#333;
}

/* ================= CREATE DOCUMENT PAGE ================= */

.create-document-page{

    padding:
    150px 20px 80px;
}



/* Container */

.create-document-container{

    max-width:900px;

    margin:auto;

    background:white;

    border-radius:28px;

    padding:50px;

    box-shadow:
    0 12px 35px rgba(0,0,0,.08);
}



/* Header */

.form-header{

    text-align:center;

    margin-bottom:50px;
}


.form-header h1{

    font-size:42px;

    color:#071529;

    margin-bottom:15px;
}


.form-header p{

    font-size:20px;

    color:#666;
}



/* Form */

.document-form{

    display:grid;

    grid-template-columns:
    repeat(2, 1fr);

    gap:30px;
}



/* Group */

.form-group{

    display:flex;

    flex-direction:column;

    gap:12px;
}



/* Labels */

.form-group label{

    font-size:19px;

    color:#071529;

    font-weight:600;
}



/* Inputs */

.form-group input,
.form-group select{

    height:60px;

    border:none;

    outline:none;

    border-radius:18px;

    background:#f7f9fc;

    padding:0 18px;

    font-size:18px;

    transition:.25s;

    border:
    1px solid transparent;
}



/* Focus */

.form-group input:focus,
.form-group select:focus{

    border:
    1px solid #c8a96b;

    background:white;

    box-shadow:
    0 0 0 4px rgba(200,169,107,.12);
}



/* File Input */

.file-input{

    padding-top:16px !important;
}



/* Submit Button */

.submit-btn{

    grid-column:span 2;

    height:65px;

    border:none;

    border-radius:18px;

    background:
    linear-gradient(
        to left,
        #071529,
        #0d2447
    );

    color:white;

    font-size:22px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

    margin-top:10px;
}


.submit-btn:hover{

    transform:translateY(-4px);

    box-shadow:
    0 12px 25px rgba(0,0,0,.18);
}



/* Responsive */

@media(max-width:900px){

    .document-form{

        grid-template-columns:1fr;
    }

    .submit-btn{

        grid-column:span 1;
    }

    .create-document-container{

        padding:35px 20px;
    }

    .form-header h1{

        font-size:32px;
    }
}
/* ================= SESSIONS PAGE ================= */

.sessions-page{

    padding:
    150px 60px 80px;
}



/* Header */

.sessions-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-bottom:40px;
}



/* Add Session Button */

.add-session-btn{

    display:flex;

    align-items:center;

    gap:10px;

    background:#071529;

    color:white;

    padding:16px 28px;

    border-radius:16px;

    font-size:20px;

    transition:.3s;
}


.add-session-btn:hover{

    background:#0d2447;

    transform:translateY(-3px);
}



/* Table */

.sessions-table{

    width:100%;

    border-collapse:collapse;
}


.sessions-table thead{

    background:#071529;
}


.sessions-table thead th{

    color:white;

    padding:22px;

    font-size:19px;

    font-weight:500;
}


.sessions-table tbody tr{

    border-bottom:
    1px solid rgba(0,0,0,.06);

    transition:.25s;
}


.sessions-table tbody tr:hover{

    background:#f8fafc;
}


.sessions-table td{

    text-align:center;

    padding:22px 18px;

    font-size:17px;

    color:#333;
}



/* Session Status */

.session-status{

    padding:10px 18px;

    border-radius:30px;

    font-size:15px;

    font-weight:600;
}



/* Pending */

.pending{

    background:
    rgba(255,193,7,.15);

    color:#b78103;
}



/* Completed */

.completed{

    background:
    rgba(25,135,84,.15);

    color:#198754;
}



/* Case Link */

.case-link{

    color:#0d6efd;

    font-weight:600;

    transition:.25s;
}


.case-link:hover{

    color:#084298;

    text-decoration:underline;
}

/* ================= CREATE SESSION PAGE ================= */

.create-session-page{

    padding:
    150px 20px 80px;
}



/* Container */

.create-session-container{

    max-width:850px;

    margin:auto;

    background:white;

    border-radius:28px;

    padding:50px;

    box-shadow:
    0 12px 35px rgba(0,0,0,.08);
}



/* Form */

.session-form{

    display:grid;

    grid-template-columns:
    repeat(2, 1fr);

    gap:30px;
}



/* Responsive */

@media(max-width:900px){

    .session-form{

        grid-template-columns:1fr;
    }

}

/* ================= LOGIN PAGE ================= */

.login-page{

    position:relative;

    width:100%;
    height:100vh;

    display:flex;

    justify-content:center;
    align-items:center;

    overflow:hidden;

    background:
    url('../images/hero.jpg')
    center/cover no-repeat;
}



/* Overlay */

.login-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to bottom,
        rgba(3, 12, 27, 0.82),
        rgba(3, 12, 27, 0.9)
    );
}



/* Container */

.login-container{

    position:relative;

    width:460px;

    background:
    rgba(5, 16, 35, 0.82);

    backdrop-filter: blur(16px);

    border:
    1px solid rgba(255,255,255,.08);

    border-radius:30px;

    padding:50px 40px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.35);

    z-index:2;
}



/* Logo */

.login-logo{

    text-align:center;

    margin-bottom:40px;
}


.login-logo h1{

    color:#c8a96b;

    font-size:42px;

    margin-bottom:12px;
}


.login-logo p{

    color:#d7dce5;

    font-size:18px;
}



/* Form */

.login-form{

    display:flex;

    flex-direction:column;

    gap:28px;
}



/* Group */

.input-group{

    display:flex;

    flex-direction:column;

    gap:12px;
}



/* Label */

.input-group label{

    color:white;

    font-size:18px;

    font-weight:600;
}



/* Input Box */

.input-box{

    position:relative;
}


.input-box i{

    position:absolute;

    top:50%;
    right:18px;

    transform:translateY(-50%);

    color:#c8a96b;

    font-size:18px;
}



/* Input */

.input-box input{

    width:100%;

    height:60px;

    border:none;

    outline:none;

    border-radius:18px;

    background:
    rgba(255,255,255,.08);

    color:white;

    font-size:17px;

    padding:
    0 55px 0 18px;

    transition:.3s;
}


.input-box input::placeholder{

    color:#c4cad4;
}



/* Focus */

.input-box input:focus{

    border:
    1px solid rgba(200,169,107,.5);

    background:
    rgba(255,255,255,.12);

    box-shadow:
    0 0 0 4px rgba(200,169,107,.08);
}



/* Button */

.login-btn{

    height:62px;

    border:none;

    border-radius:18px;

    background:
    linear-gradient(
        to left,
        #c8a96b,
        #b8934d
    );

    color:#071529;

    font-size:21px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

    margin-top:10px;
}


.login-btn:hover{

    transform:
    translateY(-4px);

    box-shadow:
    0 12px 25px rgba(0,0,0,.22);
}



/* Responsive */

@media(max-width:600px){

    .login-container{

        width:95%;

        padding:40px 20px;
    }

    .login-logo h1{

        font-size:34px;
    }
}
/* =========================
   Profile Page
========================= */

.profile-page{
    padding: 40px 20px;
}

.profile-container{
    max-width: 900px;
    margin: auto;
}

/* Header */

.page-header{
    margin-bottom: 30px;
}

.page-header h1{
    font-size: 32px;
    color: #222;
    margin-bottom: 10px;
}

.page-header p{
    color: #777;
    font-size: 15px;
}

/* Cards */

.profile-card{
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.card-header{
    margin-bottom: 25px;
}

.card-header h2{
    font-size: 22px;
    color: #222;
}

/* Form */

.form-group{
    margin-bottom: 20px;
}

.form-group label{
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input{
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
    font-size: 15px;
}

.form-group input:focus{
    border-color: #111827;
}

/* Buttons */

.save-btn{
    background: #111827;
    color: #fff;
    border: none;
    padding: 13px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

.save-btn:hover{
    background: #000;
}

.delete-btn{
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 13px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

.delete-btn:hover{
    background: #b91c1c;
}

/* Alerts */

.success-alert{
    background: #dcfce7;
    color: #166534;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.error-text{
    color: #dc2626;
    font-size: 14px;
    margin-top: 6px;
    display: block;
}

/* Danger */

.danger-card{
    border: 1px solid #fecaca;
}

.danger-text{
    color: #991b1b;
    margin-bottom: 20px;
}

/* Responsive */

@media(max-width:768px){

    .profile-card{
        padding: 20px;
    }

    .page-header h1{
        font-size: 26px;
    }

}
/* ================= PROFILE DROPDOWN ================= */

.dropdown-logout-btn{

    width:100%;

    display:flex;

    justify-content:space-between;
    align-items:center;

    padding:20px 24px;

    background:none;

    border:none;

    color:white;

    font-size:19px;

    cursor:pointer;

    transition:.25s;
}


.dropdown-logout-btn:hover{

    background:
    linear-gradient(
        to left,
        rgba(200,169,107,.15),
        rgba(255,255,255,.03)
    );

    color:#c8a96b;

    padding-right:34px;
}
.alert-success{

    display:flex;
    align-items:center;
    gap:12px;

    background:#ecfdf3;

    border:1px solid #bbf7d0;

    color:#166534;

    padding:14px 18px;

    border-radius:14px;

    margin-bottom:20px;

    font-size:15px;

    font-weight:600;

    box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

.alert-icon{

    width:38px;
    height:38px;

    border-radius:50%;

    background:#22c55e;

    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:16px;

    flex-shrink:0;
}
/* ================= NOTIFICATION DROPDOWN ================= */

.notification-dropdown{
    position: relative;
}

.notification-icon{
    background: none;
    border: none;
    cursor: pointer;
    color: white;
}

.notification-menu{

    position: absolute;

    top: 60px;
    left: 0;

    width: 380px;
    max-height: 500px;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.15);

    border: 1px solid #e5e7eb;

    padding: 10px;

    z-index: 9999;
}

.notification-menu::-webkit-scrollbar{
    width: 6px;
}

.notification-menu::-webkit-scrollbar-thumb{
    background: #d1d5db;
    border-radius: 10px;
}

/* عنوان القائمة */

.notification-header{

    padding: 12px 15px;

    font-size: 18px;

    font-weight: bold;

    color: #111827;

    border-bottom: 1px solid #e5e7eb;

    margin-bottom: 10px;
}

/* العنصر */

.notification-item{

    display: flex;

    flex-direction: column;

    gap: 10px;

    padding: 15px;

    border-radius: 12px;

    transition: .3s;

    margin-bottom: 8px;

    background: #f8fafc;
}

.notification-item:hover{

    background: #eef2ff;
}

/* النص */

.notification-text{

    color: #1f2937;

    font-size: 15px;

    line-height: 1.8;

    font-weight: 500;
}

/* التفاصيل */

.notification-actions{

    display: flex;

    justify-content: flex-end;
}

.notification-actions a{

    background: #071529;

    color: white !important;

    padding: 8px 14px;

    border-radius: 8px;

    font-size: 14px;

    transition: .3s;
}

.notification-actions a:hover{

    background: #0d2447;

    color: white !important;
}

/* لا توجد إشعارات */

.notification-empty{

    text-align: center;

    padding: 25px;

    color: #6b7280;

    font-size: 15px;
}

/* العداد */

.notification-badge{

    position:absolute;

    top:-8px;
    right:-10px;

    min-width:20px;
    height:20px;

    padding:0 5px;

    border-radius:50px;

    background:#ef4444;

    color:white;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:11px;

    font-weight:bold;
}
/* إشعار جديد */

.notification-unread{

    background: #eff6ff;

    border-right: 5px solid #2563eb;

    position: relative;
}

.notification-unread:hover{

    background: #dbeafe;
}

/* نقطة زرقاء */

.notification-unread::before{

    content: "";

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #2563eb;

    position: absolute;

    top: 18px;
    left: 15px;
}

/* إشعار مقروء */

.notification-item{

    background: #f8fafc;
}


/* ================= VALIDATION ERRORS ================= */

.error-message,
.error,
.text-danger {

    display: block !important;

    margin-top: 6px !important;

    color: #ff0000 !important;

    font-size: 14px !important;

    font-weight: 200 !important;

    text-align: right !important;
}
/* ================= logo name ================= */
.logo
{
    text-align: center;
}

.logo-main
{
    display: block;

    font-size: 2rem;
    font-weight: 900;

    color: #c9a227;

    letter-spacing: 2px;
}

.logo-sub
{
    display: block;

    font-size: .7rem;

    color: #999;

    letter-spacing: 3px;

    margin-top: 2px;
}
.logo
{
    font-family: 'Cairo', sans-serif;
}

/*pagination*/
.pagination-nav{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    margin-top:30px;
}

.page-btn{

    width:45px;
    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    background:#fff;

    color:#071529;

    font-weight:700;

    border:1px solid #e5e7eb;

    transition:.25s;

    box-shadow:
    0 5px 15px rgba(0,0,0,.08);
}

.page-btn:hover{

    background:#071529;

    color:#fff;

    transform:translateY(-2px);
}

.page-btn.active{

    background:#c8a96b;

    color:#fff;

    border-color:#c8a96b;
}

.page-btn.disabled{

    opacity:.35;

    cursor:not-allowed;
}
/* ملفات القضية */

.issue-file-link{

    margin-bottom:8px;
}

.issue-file-link a{

    display:flex;

    align-items:center;

    gap:8px;

    padding:8px 12px;

    border-radius:8px;

    background:#eef6ff;

    border:1px solid #c7ddff;

    color:#0d6efd;

    font-size:14px;

    font-weight:600;

    text-decoration:none;

    transition:.3s;
}

.issue-file-link a:hover{

    background:#0d6efd;

    color:#fff;

    transform:translateY(-2px);
}

.issue-file-link a::before{

    content:"📄";

    font-size:16px;
}

.no-files{

    display:block;

    color:#dc3545;

    margin-bottom:10px;

    font-weight:600;
}

.add-file-btn{

    display:inline-block;

    padding:6px 12px;

    border-radius:6px;

    background:#198754;

    color:#fff;

    text-decoration:none;

    font-size:13px;

    transition:.3s;
}

.add-file-btn:hover{

    background:#146c43;
}
/*delete btn*/ 
.issue-file-item{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;

    margin-bottom:10px;

    padding:10px;

    border:1px solid #e5e7eb;

    border-radius:8px;

    background:#f8fafc;
}

.file-view-link{

    color:#0d6efd;

    text-decoration:none;

    font-weight:600;
}

.file-view-link:hover{

    text-decoration:underline;
}

.delete-file-btn{

    border:none;

    background:#dc3545;

    color:#fff;

    width:35px;

    height:35px;

    border-radius:6px;

    cursor:pointer;

    transition:.3s;
}

.delete-file-btn:hover{

    background:#bb2d3b;
}
/*edit files*/
.current-files{

    margin-top:20px;
}

.issue-file-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:12px 15px;

    margin-bottom:10px;

    border:1px solid #e5e7eb;

    border-radius:10px;

    background:#f8fafc;
}

.file-info{

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:600;
}

.file-info i{

    color:#c8a96b;

    font-size:18px;
}

.file-actions{

    display:flex;

    gap:8px;
}

.view-file-btn{

    background:#198754;

    color:#fff;

    padding:6px 12px;

    border-radius:6px;

    text-decoration:none;
}

.delete-file-btn{

    background:#dc3545;

    color:#fff;

    border:none;

    padding:6px 12px;

    border-radius:6px;

    cursor:pointer;
}
/*password*/
.input-box .toggle-password{
    right:15px;
    left:auto;
}
.toggle-password{
    width:20px;
    text-align:center;
}

#password{
    direction: ltr;
    text-align: left;
    padding-right: 45px;
    padding-left: 45px;
}
/*profile password*/
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-left: 45px;
    padding-right: 12px;
    direction: ltr;
}

.toggle-password {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    color: #777;
}
/* ================= MOBILE NAVBAR ================= */

.menu-toggle{
    display:none;
    font-size:30px;
    background:none;
    border:none;
    color:white;
    cursor:pointer;
}

/* موبايل */
@media(max-width:900px){

    .menu-toggle{
        display:block;
    }

    .nav-links{

        position:absolute;
        top:90px;
        right:0;
        left:0;

        background: rgba(5, 16, 35, 0.98);

        flex-direction:column;

        align-items:flex-start;

        padding:20px;

        gap:15px;

        display:none;
    }

    .nav-links.active{
        display:flex;
    }

    .nav-links li{
        width:100%;
    }

    .nav-links a,
    .drop-btn{
        font-size:18px;
        width:100%;
        text-align:right;
    }

    .dropdown-menu{
        position:static;
        opacity:1;
        visibility:visible;
        transform:none;
        background:transparent;
        border:none;
        box-shadow:none;
    }
}

/* ================= GLOBAL TABLE RESPONSIVE ================= */

.table-container{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* يمنع انهيار الأعمدة */
.cases-table,
.documents-table,
.sessions-table{
    min-width: 1000px;
    border-collapse: collapse;
}

/* تحسين الموبايل */
@media(max-width:900px){

    .table-container{
        padding: 10px;
    }

    .cases-table,
    .documents-table,
    .sessions-table{
        min-width: 750px;
    }

    .cases-table thead th,
    .documents-table thead th,
    .sessions-table thead th{
        font-size: 13px;
        padding: 10px;
    }

    .cases-table td,
    .documents-table td,
    .sessions-table td{
        font-size: 12px;
        padding: 10px;
    }
}
/* ===================================
   Responsive Design
=================================== */

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}


/* =====================
   CV Section
===================== */

.cv-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cv-text,
.cv-image {
    flex: 1;
}

.cv-image img {
    width: 100%;
    border-radius: 12px;
}

/* =====================
   Tables
===================== */

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
}

/* =====================
   Forms
===================== */

input,
select,
textarea {
    width: 100%;
    max-width: 100%;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row>* {
    flex: 1;
}

/* =====================
   Buttons
===================== */

.actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ===================================
   Tablet
=================================== */

@media (max-width: 992px) {

    .cv-container {
        flex-direction: column;
        text-align: center;
    }

    .cv-image {
        max-width: 500px;
    }

    table {
        min-width: 700px;
    }
}

/* ===================================
   Mobile
=================================== */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .hero-section img {
        max-height: 250px;
        object-fit: cover;
    }

    .cv-section {
        padding: 40px 15px;
    }

    .cv-container {
        gap: 25px;
    }

    .cv-text h2 {
        font-size: 24px;
    }

    .cv-text p {
        font-size: 15px;
        line-height: 1.9;
    }

    .form-row {
        flex-direction: column;
    }

    .actions {
        flex-direction: column;
    }

    .actions a,
    .actions button {
        width: 100%;
    }

    table {
        min-width: 650px;
    }
}

/* ===================================
   Small Phones
=================================== */

@media (max-width: 480px) {

    .hero-section img {
        max-height: 180px;
    }

    .cv-text h2 {
        font-size: 20px;
    }

    .cv-text p {
        font-size: 14px;
    }

    .line {
        margin-inline: auto;
    }
}
@media(max-width:768px){

    .cases-page,
    .documents-page,
    .sessions-page{
        padding:120px 10px 40px;
    }

    .cases-header,
    .documents-header,
    .sessions-header{

        flex-direction:column;
        align-items:stretch;
    }

    .search-box{
        width:100%;
    }

    .add-case-btn,
    .add-document-btn,
    .add-session-btn{

        width:100%;
        justify-content:center;
    }

}
/* ================= MOBILE ONLY ================= */

@media(max-width:768px){

    .hero-section img{
        height:180px;
    }

    .cv-container{
        flex-direction:column;
        text-align:center;
        gap:40px;
    }

    .line{
        margin:0 auto 30px;
    }

    .cv-section{
        padding:70px 20px;
    }

    .cv-text h2{
        font-size:34px;
    }

    .cv-text p{
        font-size:18px;
        line-height:1.9;
    }

    .cases-page,
    .documents-page,
    .sessions-page{
        padding:130px 10px 40px;
    }

    .cases-header,
    .documents-header,
    .sessions-header{
        flex-direction:column;
        align-items:stretch;
    }

    .search-box{
        width:100%;
    }

    .add-case-btn,
    .add-document-btn,
    .add-session-btn{
        width:100%;
        justify-content:center;
    }

    .table-responsive{
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }

    .cases-table,
    .documents-table,
    .sessions-table{
        min-width:1200px;
    }
}