@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

* {
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
    box-sizing: border-box;
}

.sa-search-widget {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 35px;
    border-radius: 20px;
    border: 2px solid #00ff88;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.4), 0 0 80px rgba(179, 136, 255, 0.2);
    margin: 25px 0;
    color: #fff;
}

.sa-search-widget h3 {
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8em;
}

.sa-search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sa-search-form input,
.sa-search-form select {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #00ff88;
    border-radius: 10px;
    color: #fff;
    font-size: 1em;
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.3s ease;
}

.sa-search-form input:focus,
.sa-search-form select:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    border-color: #b388ff;
}

.sa-search-form input::placeholder {
    color: #888;
}

.sa-search-form select option {
    background: #1a1a2e;
    color: #fff;
}

.sa-search-form button {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    color: #000;
    border: none;
    padding: 14px 35px;
    border-radius: 10px;
    font-size: 1.05em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    transition: all 0.3s ease;
    font-family: 'Vazirmatn', sans-serif;
}

.sa-search-form button:hover {
    transform: scale(1.08);
    box-shadow: 0 0 35px rgba(0, 255, 136, 0.9);
}

.sa-results {
    margin-top: 25px;
}

.result-card {
    background: rgba(26, 26, 46, 0.8);
    padding: 25px;
    margin: 18px 0;
    border-radius: 15px;
    border: 2px solid #b388ff;
    box-shadow: 0 0 20px rgba(179, 136, 255, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(179, 136, 255, 0.7);
    border-color: #00ff88;
}

.result-card h3 {
    margin: 0 0 12px 0;
}

.result-card h3 a {
    color: #00ff88;
    text-decoration: none;
    text-shadow: 0 0 8px #00ff88;
    font-size: 1.3em;
    transition: all 0.3s ease;
}

.result-card h3 a:hover {
    color: #b388ff;
    text-shadow: 0 0 12px #b388ff;
}

.result-card p {
    color: #ddd;
    margin: 0;
    line-height: 1.7;
}

.sa-trending-widget {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #b388ff;
    box-shadow: 0 0 40px rgba(179, 136, 255, 0.4);
    color: #fff;
}

.sa-trending-widget h3 {
    color: #b388ff;
    text-shadow: 0 0 10px #b388ff, 0 0 20px #b388ff;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.6em;
}

.sa-trending-widget .trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sa-trending-widget .neon-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 14px 18px;
    margin: 10px 0;
    border-radius: 10px;
    border-right: 4px solid #b388ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.sa-trending-widget .neon-item:hover {
    background: rgba(179, 136, 255, 0.15);
    transform: translateX(-8px);
    box-shadow: 0 0 15px rgba(179, 136, 255, 0.4);
}

.sa-trending-widget .keyword-text {
    color: #fff;
    font-size: 1.05em;
}

.sa-trending-widget .keyword-count {
    color: #b388ff;
    font-weight: bold;
    text-shadow: 0 0 8px #b388ff;
    background: rgba(179, 136, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid #b388ff;
}

.no-results {
    color: #ff4757;
    text-align: center;
    padding: 25px;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 10px;
    border: 1px solid #ff4757;
}

.loading {
    color: #00ff88;
    text-align: center;
    padding: 20px;
    font-size: 1.2em;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    .sa-search-form {
        flex-direction: column;
    }
    .sa-search-form input,
    .sa-search-form select,
    .sa-search-form button {
        width: 100%;
    }
}
