﻿mark {
	font-size: 1.15rem;
}
.search-results {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    margin-top: 12px;
    max-height: 480px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    border: 1px solid #eee;
    text-align: left;
}

.search-results.visible {
    display: block;
    animation: fadeIn 0.4s ease;
}

.result-item {
    padding: 2px 10px;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    transition: background 0.25s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-item:hover {
    background: #f8f9ff;
}

.result-title {
    font-weight: 600;
    font-size: 1.15rem;
    color: #2c3e50;
    flex: 1;
    padding: 3px 10px;
}

.result-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 8px 0;
}

.result-title a:hover {
    color: #3498db;
    text-decoration: underline;
}

.result-type {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: 15px;
    min-width: 80px;
    text-align: center;
}

.no-results {
    padding: 30px;
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
}

.loading {
    padding: 30px;
    text-align: center;
    color: #4b6584;
    font-size: 1.1rem;
}

.loading i {
    animation: spin 1.2s linear infinite;
    margin-right: 12px;
    font-size: 1.4rem;
}

.searchselect {
    display: inline-block;
    width: 130px;
    position: relative;
    float: right;
    top: -42px;
    right: 50px;
    vertical-align: middle;
    padding: 0;
    overflow: hidden;
    color: #555;
    text-shadow: none;
    z-index: 2;
}

.searchselect:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.searchselect:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #888;
    top: 14px;
    right: 6px;
    cursor: pointer;
    z-index: -2;
}

.searchselect select {
    cursor: pointer;
    height: 1.9em;
    width: 100%;
    border: none;
    padding: 4px;
    background: transparent;
    background-image: none;
    font-weight: 800;
    color: #888;
    font-size: 1.1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.searchselect select:focus {
    outline: none;
    cursor: pointer;
}

.searchselect option {
    cursor: pointer;
}