   :root {
            --maincolor: #1a5276;
            --secondcolor: #3498db;
            --thirdcolor: #2ecc71;
            --light-color: #f8f9fa;
            --dark-color: #2c3e50;
        }

        body {
            font-family: 'Tajawal', sans-serif;
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
            direction: rtl;
        }




        .section-title {
            position: relative;
            margin-bottom: 2rem;
            padding-bottom: 0.5rem;
            font-weight: 700;
            color: var(--maincolor);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 60px;
            height: 3px;
            background-color: var(--thirdcolor);
        }

        .card {
            border: none;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
            margin-bottom: 20px;
            /* height: 100%; */
        }

        .card:hover {
            transform: translateY(-5px);
        }
        .card-icon {
            font-size: 2.5rem;
            color: var(--secondcolor);
            margin-bottom: 1rem;
        }

        .stats-section {
            background-color: var(--maincolor);
            color: white;
            padding: 60px 0;
        }

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }
        .feature-box {
            text-align: center;
            padding: 30px 20px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            height: 100%;
            transition: transform 0.3s ease;
        }

        .feature-box:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 2.5rem;
            color: var(--thirdcolor);
            margin-bottom: 1rem;
        }



        .btn-primary {
            background-color: var(--secondcolor);
            border-color: var(--secondcolor);
            padding: 10px 25px;
            border-radius: 5px;
            font-weight: 500;
        }

        .btn-primary:hover {
            background-color: var(--maincolor);
            border-color: var(--maincolor);
        }

        .btn-outline-light {
            border-radius: 30px;
            padding: 10px 25px;
            font-weight: 500;
        }

        .latest-issue {
            background-color: var(--light-color);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
        }

        .badge-custom {
            background-color: var(--thirdcolor);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
        }
/* صفحة المجلات */

        .page-header {
            background: linear-gradient(rgba(176, 196, 184, 0.9), rgba(90, 113, 104, 0.95)), url('https://images.unsplash.com/photo-1589998059171-988d887df646?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: black;
            padding: 40px 0 60px;
            text-align: center;
        }
        .journal-cover {
            height: 200px;
            background-size: cover;
            background-position: center;
            border-top-right-radius: 10px;
            border-top-left-radius: 10px;
        }
        .journal-logo {
            width: 80px;
            height: 80px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: -40px auto 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            font-size: 2rem;
            color: var(--maincolor);
        }
        .filter-section {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }
        .stats-box {
            text-align: center;
            padding: 20px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            /* margin-bottom: 20px; */
        }
        .btn-outline-primary {
            border-radius: 30px;
            padding: 10px 25px;
            font-weight: 500;
        }

    .btn-group>.btn-group:not(:last-child)>.btn, .btn-group>.btn.dropdown-toggle-split:first-child, .btn-group>.btn:not(:last-child):not(.dropdown-toggle) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
     /* border-top-right-radius: 10px;
    border-bottom-right-radius: 10px; */
}
.btn-group>.btn-group:not(:first-child)>.btn, .btn-group>.btn:nth-child(n+3), .btn-group>:not(.btn-check)+.btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
        .pagination .page-link {
            color: var(--maincolor);
            border: none;
            padding: 10px 15px;
            margin: 0 5px;
            border-radius: 5px;
        }

        .pagination .page-item.active .page-link {
            background-color: var(--maincolor);
            border-color: var(--maincolor);
        }

        @media (max-width: 768px) {
            .page-header {
                padding: 60px 0 40px;
            }

            .page-header h1 {
                font-size: 2rem;
            }
        }
        .input-group .btn
        {


            margin-right: -1px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
        }
        .bg-main
        {
background-color: var(--maincolor);
        }
        .bg-third
        {
background-color: var(--thirdcolor);
        }
/* نهاية صفحة المجلات */
/* تصميم صفحة تفاصيل مجلة */

        .journal-header {
            background: linear-gradient(rgba(129, 148, 134, 0.9), rgba(101, 121, 107, 0.95)), url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 80px 0 60px;

        }

        .journal-logo {
            width: 120px;
            height: 120px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            font-size: 3rem;
            color: var(--maincolor);
        }



        .sidebar-widget {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }


        .issue-cover {
            height: 180px;
            background-size: cover;
            background-position: center;
            border-top-right-radius: 10px;
            border-top-left-radius: 10px;
        }

        .editor-card {
            text-align: center;
            padding: 20px;
            border-radius: 10px;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
            height: 100%;
        }

        .editor-card:hover {
            transform: translateY(-5px);
        }

        .editor-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 15px;
            border: 3px solid var(--secondcolor);
        }


        .nav-tabs .nav-link {
            color: var(--dark-color);
            border: none;
            padding: 12px 25px;
            font-weight: 500;
        }

        .nav-tabs .nav-link.active {
            color: var(--maincolor);
            background-color: transparent;
            border-bottom: 3px solid var(--maincolor);
        }

        .timeline {
            position: relative;
            padding: 20px 0;
        }

        .timeline::before {
            content: '';
            position: absolute;
            right: 30px;
            top: 0;
            bottom: 0;
            width: 2px;
            background-color: #e9ecef;
        }

        .timeline-item {
            position: relative;
            margin-bottom: 30px;
            padding-right: 60px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            right: 22px;
            top: 5px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background-color: var(--secondcolor);
            z-index: 1;
        }

        .metric-card {
            text-align: center;
            padding: 20px;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
        }

        .metric-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--maincolor);
            margin-bottom: 0.5rem;
        }

        @media (max-width: 768px) {
            .journal-header {
                padding: 60px 0 40px;
            }

            .journal-header h1 {
                font-size: 2rem;
            }

            .timeline::before {
                right: 20px;
            }

            .timeline-item {
                padding-right: 40px;
            }
        }
        /* نهاية تصميم تفاصيل مجلة */
        /* تصميم صفحة تفاصيل العدد */
        .breadcrumb {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 30px;
            padding: 10px 20px;
        }
        .breadcrumb-item a {
            color: white;
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: #e0e0e0;
        }
        .issue-cover {
            height: 400px;
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
.card-Journal{
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    padding: 10px;


}

.btn-outline-primary
{
   background-color: #fff;
       --bs-btn-color: var(--maincolor);
    --bs-btn-border-color: var(--maincolor);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--maincolor);
    --bs-btn-hover-border-color: var(--maincolor);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--maincolor);
    --bs-btn-active-border-color: var(--maincolor);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--maincolor);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--maincolor);
    --bs-gradient: none;
}

        .volume-badge {
            background-color: var(--maincolor);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
        }





        .article-item {
            padding: 20px;
            border-bottom: 1px solid #eee;
            transition: background-color 0.3s ease;
        }

        .article-item:hover {
            background-color: #f8f9fa;
        }

        .article-item:last-child {
            border-bottom: none;
        }

        .authors-list {
            color: #666;
            font-size: 0.9rem;
        }

        .download-badge {
            background-color: #f8f9fa;
            color: var(--maincolor);
            border: 1px solid #dee2e6;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .download-badge:hover {
            background-color: var(--maincolor);
            color: white;
        }




        .issue-navigation {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }
 .social-links  {
            display: inline-block;
            /* width: 40px; */
            height: 40px;
            background-color: var(--maincolor);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin-left: 10px;
            color: white;
            transition: all 0.3s ease;
        }

        .social-links:hover {
            background-color: var(--secondcolor);
            transform: translateY(-3px);
            color:white;
        }
        @media (max-width: 768px) {


            .issue-cover {
                height: 250px;
                margin-bottom: 20px;
            }
        }
        /* نهاية تصميم تفاصيل العدد */
        /* تصميم صفحة جميع الاصدارات التابعة لمجلة */

        .social-links a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin-left: 10px;
            color: white;
            transition: all 0.3s ease;
        }
        .social-links a:hover {
            background-color: var(--secondcolor);
            transform: translateY(-3px);
        }
        .year-section {
            margin-bottom: 3rem;
        }
        .year-title {
            border-bottom: 2px solid var(--secondcolor);
            padding-bottom: 10px;
            margin-bottom: 20px;
            color: var(--maincolor);
        }

        /* .pagination .page-link {
            color: var(--maincolor);
            border: none;
            padding: 10px 15px;
            margin: 0 5px;
            border-radius: 5px;
        }

        .pagination .page-item.active .page-link {
            background-color: var(--maincolor);
            border-color: var(--maincolor);
        } */
/* تصميم صفحة تفاصيل ورقة بحثية */
 .abstract-box {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 30px;
            border-right: 4px solid var(--secondcolor);
        }

        .citation-box {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            font-family: monospace;
            font-size: 0.9rem;
        }

        .keyword-badge {
            background-color: #e9ecef;
            color: var(--dark-color);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-left: 5px;
            margin-bottom: 5px;
            display: inline-block;
        }

        .figure-box {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 20px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .figure-img {
            max-width: 100%;
            border-radius: 5px;
            margin-bottom: 10px;
        }

        .reference-item {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }

        .reference-item:last-child {
            border-bottom: none;
        }

        .metric-badge {
            background-color: white;
            color: var(--maincolor);
            border: 1px solid #dee2e6;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-left: 5px;
        }
/* نهاية تصميم تفاصيل ورقة بحثية */
/* صفحة تصميم الاوراق البحثية التابعة لاصدار */

 .card-paper {

    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fff;
        }
 .paper-border {
            border-left: 4px solid var(--secondcolor);

        }
         .read-more-btn {
            background: none;
            border: none;
            color: var(--secondcolor);
            cursor: pointer;
            padding: 0;
            margin-top: 10px;
            font-size: 0.9rem;
        }
 .paper-metrics {
            border-top: 1px solid #eee;
            padding-top: 15px;
            margin-top: 15px;
        }

        .abstract {
            position: relative;
            max-height: 120px;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .abstract.expanded {
            max-height: 1000px;
        }

        .abstract-fade {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            height: 50px;
            background: linear-gradient(transparent, white);
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .abstract.expanded .abstract-fade {
            opacity: 0;
        }

        .read-more-btn {
            background: none;
            border: none;
            color: var(--secondcolor);
            cursor: pointer;
            padding: 0;
            margin-top: 10px;
            font-size: 0.9rem;
        }
        /* نهاية تصميم صفحة جميع اوراق العدد */
        /* تصميم صفحة جميع الاوراق البحثية */
      /* نهاية تصميم صفحة جميع الاوراق البحثية */
      /* تصميم صفحة تفاصيل المؤتمر */
       .conference-hero {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }

        .countdown-box {
            background: linear-gradient(135deg, var(--maincolor), var(--secondcolor));
            color: white;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            margin-bottom: 20px;
        }

        .countdown-number {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.2rem;
        }

        .countdown-label {
            font-size: 0.9rem;
            opacity: 0.9;
        }


        .speaker-card {
            text-align: center;
            padding: 20px;
            border-radius: 10px;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
            height: 100%;
        }

        .speaker-card:hover {
            transform: translateY(-5px);
        }

        .speaker-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 15px;
            border: 3px solid var(--secondcolor);
        }

        .venue-map {
            height: 300px;
            background-color: #f8f9fa;
            border-radius: 10px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--maincolor);
            font-weight: 500;
        }

/* نهاية تصميم تفاصيل المؤتمر */
/* تصميم صفحة  المؤتمرات */
 .conference-card {
            border-left: 4px solid var(--secondcolor);
        }

        .upcoming-conference {
            border-left: 4px solid var(--thirdcolor);
        }



        .conference-date {
            background-color: var(--light-color);
            border-radius: 8px;
            padding: 10px 15px;
            text-align: center;
            margin-bottom: 15px;
        }

        .date-day {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--maincolor);
        }

        .date-month {
            font-size: 0.9rem;
            color: var(--dark-color);
        }



        .conference-type {
            position: absolute;
            top: 15px;
            left: 15px;
            background-color: var(--maincolor);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.7rem;
        }
/* نهاية تصميم صفحة المؤتمرات */
/* تصميم صفحة ارسال بحث لمجله */
   .form-section {
            background-color: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }

        .author-item {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            position: relative;
            transition: all 0.3s ease;
        }

        .author-item:hover {
            background-color: #e9ecef;
        }

        .file-upload {
            border: 2px dashed #dee2e6;
            border-radius: 8px;
            padding: 30px;
            text-align: center;
            margin-bottom: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .file-upload:hover {
            border-color: var(--secondcolor);
            background-color: #f8f9fa;
        }

        .file-upload i {
            font-size: 3rem;
            color: var(--secondcolor);
            margin-bottom: 15px;
        }

        .journal-selector {
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }

        .journal-option {
            border: 2px solid #e9ecef;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .journal-option:hover {
            border-color: var(--secondcolor);
            transform: translateY(-3px);
        }

        .journal-option.selected {
            border-color: var(--thirdcolor);
            background-color: #f0f9ff;
        }

        .process-step {
            text-align: center;
            padding: 20px;
            border-radius: 10px;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
            height: 100%;
            transition: all 0.3s ease;
        }

        .process-step:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .step-number {
            width: 40px;
            height: 40px;
            background-color: var(--secondcolor);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            font-weight: 700;
        }

        .progress-container {
            position: relative;
            margin: 40px 0;
        }

        .progress-bar-custom {
            height: 8px;
            background-color: #e9ecef;
            border-radius: 10px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background-color: var(--thirdcolor);
            width: 25%;
            transition: width 0.5s ease;
        }

        .progress-steps {
            display: flex;
            justify-content: space-between;
            position: absolute;
            top: -10px;
            width: 100%;
        }

        .progress-step {
            width: 30px;
            height: 30px;
            background-color: #e9ecef;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: #6c757d;
            z-index: 1;
        }

        .progress-step.active {
            background-color: var(--thirdcolor);
            color: white;
        }

        .progress-step.completed {
            background-color: var(--secondcolor);
            color: white;
        }

        .form-step {
            display: none;
        }

        .form-step.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .form-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }

        .form-actions {
            display: flex;
            gap: 10px;
        }

        .success-message {
            background-color: #d4edda;
            border: 1px solid #c3e6cb;
            color: #155724;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
        }

        .file-preview {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-top: 10px;
            display: none;
        }

        .file-preview-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            border-bottom: 1px solid #dee2e6;
        }

        .file-preview-item:last-child {
            border-bottom: none;
        }

        .file-info {
            display: flex;
            align-items: center;
        }

        .file-icon {
            margin-left: 10px;
            font-size: 1.5rem;
            color: var(--secondcolor);
        }

        .file-actions button {
            background: none;
            border: none;
            color: #dc3545;
            cursor: pointer;
        }

        .required-field::after {
            content: " *";
            color: #dc3545;
        }
                @media (max-width: 768px) {

            .form-navigation {
                flex-direction: column;
                gap: 15px;
            }

            .form-actions {
                width: 100%;
                justify-content: space-between;
            }
        }
/* نهاية تصميم ارسال بحث لمجله */
/* تصميم صفحة ابحاثي */
/* في ملف CSS الخاص */
.badge {
    font-size: 0.8em;
    padding: 0.4em 0.8em;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.btn-group .btn {
    margin: 0 2px;
}

.file-upload {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.file-upload:hover {
    border-color: var(--thirdcolor);
    background-color: rgba(13, 110, 253, 0.05);
}
/* نهاية تصميم صفحة ابحاثي */
/* تصميم صفحة التسجيل في مؤتمر */
 .registration-step {
            text-align: center;
            padding: 20px;
            border-radius: 10px;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
            height: 100%;
        }
/* نهاية التسجيل في مؤتمر */

/* تصميم المجلات العالمية scopus */
/* المتغيرات */
:root {
    --success: #27ae60;
    --gray: #95a5a6;
    --border: #e1e8ed;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --fontcolor:
}

/* قسم الفلترة */
.filter-section {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.search-container {
    position: relative;
    margin-bottom: 30px;
}

.search-input-wrapper {
    position: relative;
    max-width: 600px;
}

.search-input-wrapper i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 1.2rem;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 60px 10px 25px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 1.1rem;
    transition: var(--transition);

}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--secondcolor);
    background: white;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.filter-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: white;
    color: var(--dark-color);
    font-size: 1rem;
    cursor: pointer;
    min-width: 200px;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--secondcolor);
}

.status-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-label {
    color: var(--dark-color);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition);
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--success);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

/* شبكة البطاقات */
.journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.journal-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.journal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.badge-scopus {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--secondcolor), var(--thirdcolor));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.status-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 2;
}



.card-content {
    padding: 80px 30px 30px;
    position: relative;
}

.journal-icon {
    position: absolute;
    top: -30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondcolor), #2980b9);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}

.journal-title {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 0 0 25px 0;
    line-height: 1.4;
    font-weight: 700;
    min-height: 60px;
}

.journal-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    transition: var(--transition);
}

.meta-item:hover {
    background: rgba(52, 152, 219, 0.05);
    transform: translateX(5px);
}

.meta-icon {
    width: 40px;
    height: 40px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondcolor);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.meta-content {
    flex: 1;
}

.meta-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 4px;
    font-weight: 500;
}

.meta-value {
    display: block;
    font-size: 1.1rem;
    color: var(--fontcolor);
    font-weight: 600;
    line-height: 1.3;
}

.card-footer {
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.01);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.visit-btn, .details-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.visit-btn {
    background: linear-gradient(135deg, var(--maincolor), var(--dark-color));
    color: white;
    text-decoration: none;
}

.visit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(44, 62, 80, 0.2);
    color:var(--light-color);
}

.details-btn {
    background: white;
    color: var(--dark-color);
    border: 2px solid var(--border);
}

.details-btn:hover {
    background: var(--light-color);
    border-color: var(--secondcolor);
    color: var(--secondcolor);
}

.corner-effect {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
}

.corner-line {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(52, 152, 219, 0.1) 50%);
    transform: rotate(45deg);
}

/* رسالة عدم وجود نتائج */
.no-results {
    text-align: center;
    padding: 80px 20px;
    display: none;
}

.no-results-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 30px;
}

.no-results h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.no-results p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* زر تحميل المزيد */
.load-more-container {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    padding: 20px 50px;
    background: white;
    border: 2px solid var(--secondcolor);
    color: var(--secondcolor);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    min-width: 300px;
    justify-content: center;
}

.load-more-btn:hover {
    background: var(--secondcolor);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
}

.load-more-btn .loading-spinner {
    display: none;
}

/* النافذة المنبثقة */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-container {
    background: white;
    border-radius: var(--radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, var(--dark-color), var(--dark-color));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

/* التجاوب */
@media (max-width: 1200px) {
    .journals-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 992px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .header-stats {
        min-width: 100%;
    }

    .filter-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .scopus-journals-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .journals-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .load-more-btn {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .icon-container {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-radius: 15px;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }
}
/* ================نهاية تصميم============== */

