     /* =========================================================
        صفحه جستجو - پراجیس
        ========================================================= */

 .search-page {
     background: var(--mind-dark, #041420);
     color: #f2f5f7;
     min-height: 100vh;
     padding: 30px 0 60px;
 }

.search-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- هدر جستجو ---------- */
.search-header {
    text-align: center;
    padding: 20px 0 30px;
}

.search-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-header h1 i {
    color: #e8b923;
}

.search-header .highlight-keyword {
    color: #e8b923;
    background: rgba(232,185,35,.15);
    padding: 4px 16px;
    border-radius: 8px;
}

.search-count {
    color: rgba(242,245,247,.65);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* ---------- فرم جستجو ---------- */
.search-form-wrapper {
    margin: 20px 0 35px;
}

.search-input-group {
    display: flex;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #e8b923;
    box-shadow: 0 0 0 3px rgba(232,185,35,.1);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 20px;
    color: #ffffff;
    font-size: 1.05rem;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255,255,255,.35);
}

.search-btn {
    background: #e8b923;
    border: none;
    padding: 16px 28px;
    color: #041420;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: #f4c948;
}

/* ---------- نتایج ---------- */
.search-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 10px 0 30px;
}

.search-result-item {
    display: flex;
    gap: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 20px 24px;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.06);
    transform: translateX(-4px);
}

.result-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(232,185,35,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #e8b923;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.result-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.result-header h3 a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.result-header h3 a:hover {
    color: #e8b923;
}

.result-type {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 50px;
    background: rgba(232,185,35,.12);
    color: #e8b923;
    border: 1px solid rgba(232,185,35,.15);
    white-space: nowrap;
}

.result-description {
    color: rgba(242,245,247,.65);
    font-size: 0.92rem;
    line-height: 1.8;
    margin: 6px 0 10px;
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.result-link {
    color: #e8b923;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.result-link:hover {
    color: #f4c948;
}

/* ---------- صفحه‌بندی ---------- */
.search-pagination {
    margin-top: 20px;
    padding: 10px 0;
}

.search-pagination .pagination {
    gap: 6px;
}

.search-pagination .page-link {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    color: rgba(242,245,247,.65);
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-pagination .page-link:hover {
    background: rgba(232,185,35,.1);
    border-color: #e8b923;
    color: #e8b923;
}

.search-pagination .active .page-link {
    background: #e8b923;
    border-color: #e8b923;
    color: #041420;
}

.search-pagination .disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ---------- حالت خالی ---------- */
.search-empty {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    color: rgba(232,185,35,.2);
    margin-bottom: 20px;
}

.search-empty h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.search-empty p {
    color: rgba(242,245,247,.65);
    max-width: 500px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.search-suggestions {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    max-width: 400px;
    text-align: right;
}

.search-suggestions li {
    color: rgba(242,245,247,.5);
    padding: 4px 0;
    font-size: 0.9rem;
}

.search-suggestions li::before {
    content: '• ';
    color: #e8b923;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #e8b923;
    color: #041420;
}

.btn-back:hover {
    background: #f4c948;
    color: #041420;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232,185,35,.25);
}

.btn-back i {
    transition: all 0.3s ease;
}

.btn-back:hover i {
    transform: translateX(4px);
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
    .search-header h1 {
        font-size: 1.4rem;
    }

    .search-input {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .search-btn {
        padding: 14px 20px;
    }

    .search-result-item {
        padding: 16px 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .result-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .result-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-empty h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .search-page .container {
        padding: 0 12px;
    }

    .search-header h1 {
        font-size: 1.1rem;
    }

    .search-input {
        font-size: 0.85rem;
        padding: 12px 14px;
    }

    .search-result-item {
        padding: 14px 12px;
    }

    .search-suggestions {
        text-align: center;
    }
}
     /* ---------- فرم جستجو در نوار ---------- */
     .search-form-nav {
         position: relative;
         display: flex;
         align-items: center;
         gap: 6px;
     }

     .search-form-nav .form-control {
         background: rgba(255,255,255,.08);
         border: 1px solid rgba(255,255,255,.1);
         border-radius: 50px;
         color: #ffffff;
         padding: 8px 18px;
         min-width: 200px;
         transition: all 0.3s ease;
         font-family: 'Vazirmatn', 'Tahoma', sans-serif;
         font-size: 0.9rem;
         height: 40px;
     }

     .search-form-nav .form-control:focus {
         background: rgba(255,255,255,.12);
         border-color: #e8b923;
         box-shadow: 0 0 0 3px rgba(232,185,35,.1);
         outline: none;
     }

     .search-form-nav .form-control::placeholder {
         color: rgba(255,255,255,.4);
     }

     .search-form-nav .btn-outline-success {
         border: 1px solid rgba(255,255,255,.2);
         color: rgba(255,255,255,.6);
         border-radius: 50px;
         padding: 8px 16px;
         transition: all 0.3s ease;
         background: transparent;
         height: 40px;
         display: flex;
         align-items: center;
         justify-content: center;
     }

     .search-form-nav .btn-outline-success:hover {
         background: #e8b923;
         border-color: #e8b923;
         color: #041420;
     }

     .search-form-nav .btn-outline-success i {
         font-size: 1rem;
     }

     /* ---------- ریسپانسیو ---------- */
     @media (max-width: 992px) {
         .search-form-nav .form-control {
             min-width: 150px;
             font-size: 0.85rem;
             padding: 6px 14px;
             height: 36px;
         }

         .search-form-nav .btn-outline-success {
             padding: 6px 12px;
             height: 36px;
         }
     }

     @media (max-width: 768px) {
         .search-form-nav {
             width: 100%;
             margin-top: 8px;
             padding-left: 20px;  /* ← اضافه شد: فاصله از سمت چپ */
         }

         .search-form-nav .form-control {
             min-width: auto;
             width: 100%;
             font-size: 0.85rem;
             padding: 8px 16px;
             height: 38px;
             flex: 1;
         }

         .search-form-nav .btn-outline-success {
             padding: 6px 14px;
             height: 38px;
             flex-shrink: 0;
         }
     }

     @media (max-width: 480px) {
         .search-form-nav {
             padding-left: 12px;  /* ← فاصله کمتر در موبایل کوچک */
         }

         .search-form-nav .form-control {
             font-size: 0.8rem;
             padding: 6px 12px;
             height: 34px;
         }

         .search-form-nav .btn-outline-success {
             padding: 6px 10px;
             height: 34px;
         }

         .search-form-nav .btn-outline-success i {
             font-size: 0.85rem;
         }
     }