/*
 * VMKT Search Pro - Styles
 * Version: 1.0.0
 * Lightweight, mobile-friendly search styles
 */

/* Search Form Styles */
.vmkt-search-form {
    display: block;
    margin: 10px 0;
}

.vmkt-search-form input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.vmkt-search-form input[type="text"]:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

.vmkt-search-form .context-selector {
    display: none; /* Hidden by default for minimalistic approach */
    margin-left: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.vmkt-search-form button[type="submit"] {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 5px;
}

.vmkt-search-form button[type="submit"]:hover {
    background: #005a87;
}

/* Search Results Highlighting */
.vmkt-search-highlight {
    background: #fff3cd;
    padding: 1px 2px;
    border-radius: 2px;
    font-weight: 500;
}

/* Search Result Icons */
.vmkt-icon {
    display: inline-block;
    margin-right: 5px;
    font-size: 14px;
}

.vmkt-icon-topic {
    color: #0073aa;
}

.vmkt-icon-reply {
    color: #666;
    margin-left: 10px;
}

.vmkt-icon-forum {
    color: #d54e21;
}

.vmkt-icon-motm {
    color: #f1c40f;
}

/* Forum Breadcrumbs */
.vmkt-forum-breadcrumb {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.vmkt-forum-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
}

.vmkt-forum-breadcrumb a:hover {
    text-decoration: underline;
}

/* Search Results Layout */
.vmkt-search-results {
    margin: 20px 0;
}

.vmkt-search-result {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.vmkt-search-result:last-child {
    border-bottom: none;
}

.vmkt-search-result-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.vmkt-search-result-title a {
    color: #0073aa;
    text-decoration: none;
}

.vmkt-search-result-title a:hover {
    text-decoration: underline;
}

.vmkt-search-result-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.vmkt-search-result-excerpt {
    line-height: 1.5;
    color: #333;
}

/* ID Search Help */
.vmkt-id-search-help {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
}

.vmkt-id-search-help h4 {
    margin-top: 0;
    color: #495057;
}

.vmkt-id-search-help ul {
    margin-bottom: 0;
}

.vmkt-id-search-help code {
    background: #e9ecef;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .vmkt-search-form input[type="text"] {
        margin-bottom: 10px;
    }
    
    .vmkt-search-form button[type="submit"] {
        margin-left: 0;
        width: 100%;
        max-width: 150px;
    }
    
    .vmkt-search-result-title {
        font-size: 16px;
    }
}

/* Context-specific styles */
.search-context-forum .vmkt-search-form input[type="text"] {
    border-color: #0073aa;
}

.search-context-blog .vmkt-search-form input[type="text"] {
    border-color: #00a32a;
}

.search-context-motm .vmkt-search-form input[type="text"] {
    border-color: #f1c40f;
}

/* Loading state */
.vmkt-search-loading {
    opacity: 0.6;
    pointer-events: none;
}

.vmkt-search-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ccc;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: vmkt-spin 1s linear infinite;
}

@keyframes vmkt-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Advanced Search Form Styles */
.vmkt-advanced-search-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: #f9f9f9;
    margin: 20px 0;
}

/* Simple Search View (Collapsed State) */
.vmkt-simple-search-view {
    padding: 0;
    background: transparent;
}

.vmkt-simple-search-form {
    margin: 0;
}

.vmkt-simple-search-form input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.vmkt-simple-search-form input[type="text"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.vmkt-show-advanced-btn {
    padding: 12px 20px;
    background: rgb(241, 143, 1);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    min-width: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, opacity 0.3s;
}

.vmkt-show-advanced-btn:hover {
    background: rgb(221, 123, 0);
    opacity: 0.9;
}

.vmkt-search-btn {
    padding: 12px 20px;
    background: rgb(241, 143, 1);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    min-width: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, opacity 0.3s;
}

.vmkt-search-btn:hover {
    background: rgb(221, 123, 0);
    opacity: 0.9;
}

.vmkt-search-btn img,
.vmkt-show-advanced-btn img,
.vmkt-toggle-advanced-btn img {
    width: 20px;
    height: 20px;
    display: block;
}

/* Toggle advanced button styles */
.vmkt-toggle-advanced-btn {
    padding: 12px 20px;
    background: rgb(241, 143, 1);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    min-width: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.vmkt-toggle-advanced-btn:hover {
    background: rgb(221, 123, 0);
}

/* When expanded (showing X icon) - red background */
.vmkt-toggle-advanced-btn[aria-expanded="true"] {
    background: #dc3545;
}

.vmkt-toggle-advanced-btn[aria-expanded="true"]:hover {
    background: #c82333;
}

/* Advanced search button (in the expanded form) */
.vmkt-search-btn-advanced {
    padding: 12px 30px;
    background: rgb(241, 143, 1) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.vmkt-search-btn-advanced:hover {
    background: rgb(221, 123, 0) !important;
}

/* Advanced Search View (Expanded State) */
.vmkt-advanced-search-view {
    /* Will be shown/hidden via JavaScript */
}

.vmkt-advanced-search-header h3 {
    margin: 0 0 20px 0;
    padding: 10px 15px;
    background: #0073aa;
    color: white;
    border-radius: 4px;
    text-align: center;
}

.vmkt-search-main-section {
    margin-bottom: 20px;
}

.vmkt-search-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.vmkt-search-field {
    flex: 2;
    min-width: 200px;
}

.vmkt-author-field {
    flex: 1;
    min-width: 150px;
}

.vmkt-wildcards-section {
    flex: 0;
    align-self: flex-end;
}

.vmkt-search-field label,
.vmkt-author-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.vmkt-search-field input,
.vmkt-author-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.vmkt-wildcards-btn {
    background: rgb(241, 143, 1) !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.vmkt-wildcards-btn:hover {
    background: rgb(221, 123, 0) !important;
}

.vmkt-search-options {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.vmkt-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.vmkt-post-number-section {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-bottom: 20px;
}

.vmkt-post-number-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.vmkt-post-number-field {
    flex: 1;
}

.vmkt-post-number-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.vmkt-post-number-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.vmkt-find-post-btn {
    background: rgb(241, 143, 1) !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.vmkt-find-post-btn:hover {
    background: rgb(221, 123, 0) !important;
}

.vmkt-search-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Legacy close button style (now removed from template, but keeping for compatibility) */
.vmkt-close-search-btn {
    background: rgb(241, 143, 1);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.vmkt-close-search-btn:hover {
    background: rgb(221, 123, 0);
}

.vmkt-wildcards-help {
    background: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

.vmkt-wildcards-help h4 {
    margin-top: 0;
    color: #495057;
}

.vmkt-wildcards-help ul {
    margin-bottom: 0;
}

.vmkt-wildcards-help code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
}

/* Mobile responsive for advanced form */
@media (max-width: 768px) {
    /* Simple search view mobile */
    .vmkt-simple-search-form > div {
        flex-direction: column !important;
        max-width: 100% !important;
    }
    
    .vmkt-simple-search-form input[type="text"] {
        margin-bottom: 10px;
    }
    
    .vmkt-simple-search-form button {
        width: 100%;
    }
    
    /* Advanced search view mobile */
    .vmkt-search-row {
        flex-direction: column;
    }
    
    .vmkt-search-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .vmkt-post-number-row {
        flex-direction: column;
    }
    
    .vmkt-search-actions {
        flex-direction: column;
    }
    
    .vmkt-search-btn,
    .vmkt-close-search-btn {
        width: 100%;
    }
}

/* Blog Search Results Styles */
.blog-search-results {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.blog-posts-list.search-results-list {
    display: grid;
    gap: 30px;
}

.blog-post-item.search-result-item {
    display: flex;
    gap: 20px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.blog-post-item.search-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.post-thumbnail {
    flex: 0 0 150px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-content {
    flex: 1;
}

.post-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
}

.post-title a {
    color: #2c5aa0;
    text-decoration: none;
}

.post-title a:hover {
    color: #1e3f73;
    text-decoration: underline;
}

.post-meta {
    margin-bottom: 15px;
    font-size: 13px;
    color: #6c757d;
}

.post-author {
    font-weight: 500;
}

.post-categories a,
.tag-link {
    color: #007cba;
    text-decoration: none;
}

.post-categories a:hover,
.tag-link:hover {
    text-decoration: underline;
}

.post-excerpt {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #495057;
}

.post-tags {
    margin-bottom: 10px;
    font-size: 12px;
}

.tags-label {
    font-weight: 500;
    color: #6c757d;
}

.read-more-link {
    display: inline-block;
    padding: 8px 16px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.read-more-link:hover {
    background: #005a87;
    color: white;
}

/* MOTM Search Results Styles - Archive List Style */
.motm-search-results {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.motm-archive-style .search-results-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

/* MOTM Archive List */
.motm-archive-list {
    margin-top: 30px;
}

.motm-archive-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    gap: 20px;
}

.motm-archive-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.motm-archive-item:hover {
    background-color: #f9f9f9;
}

.motm-archive-date {
    flex-shrink: 0;
    min-width: 180px;
    color: #666;
    font-size: 15px;
    padding-top: 2px;
}

.motm-archive-title {
    flex: 1;
    color: #4a90a4;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.2s;
}

.motm-archive-title:hover {
    color: #2c5a73;
    text-decoration: underline;
}

/* Search term highlighting in MOTM archive */
.motm-archive-title mark.vmkt-search-highlight {
    background: #ffff99;
    color: #333;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600;
}

/* MOTM search results info */
.motm-archive-style .search-results-info {
    background: #f5f5f5;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.motm-archive-style .search-results-count {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Mobile responsive for MOTM archive */
@media (max-width: 768px) {
    .motm-archive-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .motm-archive-date {
        min-width: auto;
        font-weight: 600;
        color: #333;
    }
    
    .motm-archive-title {
        padding-left: 0;
    }
}

.motm-cards-grid.search-results-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.motm-card.search-result-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.motm-card.search-result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #f1c40f;
}

.motm-thumbnail {
    margin-bottom: 15px;
    text-align: center;
}

.motm-thumbnail img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

.motm-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.motm-icon {
    font-size: 24px;
}

.motm-period {
    background: #f1c40f;
    color: #333;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.motm-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.motm-title a {
    color: #2c5aa0;
    text-decoration: none;
}

.motm-title a:hover {
    color: #f1c40f;
}

.motm-excerpt {
    margin-bottom: 15px;
    text-align: center;
    color: #495057;
    line-height: 1.5;
}

.motm-taxonomies {
    margin-bottom: 10px;
    text-align: center;
}

.motm-taxonomy {
    display: inline-block;
    margin: 2px;
    padding: 4px 8px;
    background: #e9ecef;
    border-radius: 12px;
    font-size: 11px;
}

.motm-taxonomy a {
    color: #495057;
    text-decoration: none;
}

.motm-meta {
    text-align: center;
    font-size: 13px;
    color: #6c757d;
}

/* Mixed Search Results Styles */
.mixed-search-results {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.content-type-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.content-filter-btn {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.content-filter-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.content-filter-btn.active {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

.content-type-section {
    margin-bottom: 40px;
}

.content-type-header {
    color: #495057;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dee2e6;
    font-size: 20px;
}

.mixed-result-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}

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

.result-icon {
    font-size: 20px;
    width: 30px;
    text-align: center;
    align-self: flex-start;
}

.result-content {
    flex: 1;
}

.result-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.result-title a {
    color: #2c5aa0;
    text-decoration: none;
}

.result-title a:hover {
    color: #1e3f73;
    text-decoration: underline;
}

.result-meta {
    margin-bottom: 10px;
    font-size: 13px;
    color: #6c757d;
}

.result-excerpt {
    color: #495057;
    line-height: 1.5;
    font-size: 14px;
}

.browse-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.browse-link {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s;
}

.browse-link:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* Mobile responsive for all templates */
@media (max-width: 768px) {
    .blog-post-item.search-result-item {
        flex-direction: column;
    }
    
    .post-thumbnail {
        flex: none;
        align-self: center;
    }
    
    .motm-cards-grid.search-results-list {
        grid-template-columns: 1fr;
    }
    
    .content-type-filters {
        justify-content: flex-start;
    }
    
    .browse-options {
        flex-direction: column;
        align-items: center;
    }
}

/* Forum-Style Search Results */
.forum-search-results {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-results-header {
    margin-bottom: 30px;
}

.search-results-title {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 28px;
}

.search-refine {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.search-results-info {
    margin-bottom: 20px;
    padding: 10px 15px;
    background: #e9ecef;
    border-radius: 4px;
}

.search-results-count {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/* Forum Topic List Style for Search Results */
.forum-topic-list.search-results-list {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.forum-topic-item.search-result-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s;
}

.forum-topic-item.search-result-item:hover {
    background-color: #f8f9fa;
}

.forum-topic-item.search-result-item:last-child {
    border-bottom: none;
}

/* Status indicators */
.topic-status {
    margin-right: 15px;
    align-self: center;
}

.status-indicator {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-indicator.unread {
    background: #17a2b8;
    color: white;
}

.status-indicator.new-reply {
    background: #28a745;
    color: white;
}

/* Topic icon */
.topic-icon {
    margin-right: 15px;
    align-self: flex-start;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Topic content */
.topic-content {
    flex: 1;
    min-width: 0; /* Allows text to wrap properly */
}

.topic-breadcrumb {
    margin-bottom: 5px;
    font-size: 12px;
    color: #6c757d;
}

.topic-breadcrumb a {
    color: #007cba;
    text-decoration: none;
}

.topic-breadcrumb a:hover {
    text-decoration: underline;
}

.topic-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.topic-title a {
    color: #2c5aa0;
    text-decoration: none;
}

.topic-title a:hover {
    color: #1e3f73;
    text-decoration: underline;
}

.topic-meta {
    margin-bottom: 8px;
    font-size: 13px;
    color: #6c757d;
}

.topic-author {
    font-weight: 500;
    color: #495057;
}

.topic-stats,
.post-date {
    color: #6c757d;
}

.topic-excerpt {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #495057;
}

.result-type {
    margin-top: 5px;
}

.post-type-label {
    display: inline-block;
    padding: 2px 8px;
    background: #e9ecef;
    color: #495057;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

/* No results styling */
.no-search-results {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.no-search-results h2 {
    color: #dc3545;
    margin-bottom: 15px;
}

.search-suggestions {
    margin: 30px 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-suggestions h3 {
    color: #495057;
    margin-bottom: 15px;
}

.search-suggestions ul {
    list-style-type: disc;
    padding-left: 20px;
}

.search-suggestions li {
    margin-bottom: 5px;
    color: #6c757d;
}

.search-retry {
    margin-top: 30px;
}

/* Pagination styling */
.search-pagination {
    margin-top: 30px;
    text-align: center;
}

.search-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background: #f8f9fa;
    color: #007cba;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.search-pagination .page-numbers:hover,
.search-pagination .page-numbers.current {
    background: #007cba;
    color: white;
}

/* Mobile responsive for search results */
@media (max-width: 768px) {
    .forum-topic-item.search-result-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .topic-status,
    .topic-icon {
        margin-right: 0;
        margin-bottom: 10px;
        align-self: flex-start;
    }
    
    .topic-title {
        font-size: 15px;
    }
    
    .search-results-info {
        text-align: center;
    }
}

/* AJAX Loading Indicator Styles */
.vmkt-loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.vmkt-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.vmkt-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid rgb(241, 143, 1);
    border-radius: 50%;
    animation: vmkt-spin 1s linear infinite;
}

@keyframes vmkt-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results fade animation */
.vmkt-forum-search-results {
    transition: opacity 0.3s ease-in-out;
}

/* AJAX Pagination Buttons */
.vmkt-ajax-pagination button.vmkt-ajax-page-btn {
    transition: all 0.2s ease;
}

.vmkt-ajax-pagination button.vmkt-ajax-page-btn:hover {
    background: rgb(221, 123, 0) !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.vmkt-ajax-pagination button.vmkt-ajax-page-btn:active {
    transform: translateY(0);
    background: rgb(201, 103, 0) !important;
} 