.mip-search-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: #ffffff;
border: 1.5px solid #239181;
border-radius: 24px;
padding: 7px 14px;
color: #1e293b;
font-size: 13.5px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
outline: none;
line-height: 1;
box-shadow: 0 2px 6px rgba(35, 145, 129, 0.1);
}
.mip-search-btn:hover {
background: #239181;
border-color: #239181;
color: #ffffff;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(35, 145, 129, 0.25);
}
.mip-search-btn:active {
transform: translateY(0);
}
.mip-search-btn .mip-search-icon-wrap {
display: inline-flex;
align-items: center;
justify-content: center;
color: #239181;
transition: color 0.2s ease;
}
.mip-search-btn:hover .mip-search-icon-wrap {
color: #ffffff;
}
.mip-search-btn-label {
font-size: 13.5px;
font-weight: 500;
letter-spacing: -0.01em;
}
.mip-search-shortcut {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 2px 6px;
font-size: 10px;
font-weight: 600;
line-height: 1;
color: #239181;
background: #edf4f2;
border-radius: 6px;
border: 1px solid #c8e1dc;
transition: all 0.2s ease;
font-family: inherit;
}
.mip-search-btn:hover .mip-search-shortcut {
background: rgba(255, 255, 255, 0.25);
border-color: rgba(255, 255, 255, 0.4);
color: #ffffff;
}
.mip-search-btn-mobile {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border-radius: 50%;
background: #ffffff;
border: 1.5px solid #239181;
color: #239181;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
outline: none;
padding: 0;
box-shadow: 0 2px 6px rgba(35, 145, 129, 0.1);
}
.mip-search-btn-mobile:hover,
.mip-search-btn-mobile:active {
background: #239181;
color: #ffffff;
transform: scale(1.05);
box-shadow: 0 4px 10px rgba(35, 145, 129, 0.25);
}
.mip-search-btn-mobile svg {
display: block;
}
.mip-spotlight-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999999 !important;
display: none;
align-items: flex-start;
justify-content: center;
padding-top: 10vh;
opacity: 1 !important;
}
.mip-spotlight-overlay.active {
display: flex !important;
}
.mip-spotlight-backdrop {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(15, 23, 42, 0.72);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
.mip-spotlight-dialog {
position: relative;
z-index: 2;
width: 100%;
max-width: 680px;
background: #ffffff;
border-radius: 18px;
box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
overflow: hidden;
display: flex;
flex-direction: column;
max-height: 75vh;
animation: mipScaleUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
opacity: 1 !important;
}
.mip-spotlight-header {
display: flex;
align-items: center;
padding: 16px 20px;
border-bottom: 1px solid #eef2f6;
background: #ffffff;
gap: 12px;
}
.mip-spotlight-icon {
display: inline-flex;
align-items: center;
justify-content: center;
color: #239181;
flex-shrink: 0;
}
.mip-spotlight-input {
flex: 1;
border: none;
outline: none;
font-size: 17px;
color: #1e293b;
background: transparent;
font-family: inherit;
}
.mip-spotlight-input::placeholder {
color: #94a3b8;
}
.mip-spotlight-clear,
.mip-spotlight-close {
background: none;
border: none;
cursor: pointer;
color: #94a3b8;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 4px;
border-radius: 6px;
transition: all 0.15s ease;
}
.mip-spotlight-clear:hover,
.mip-spotlight-close:hover {
color: #1e293b;
background: #f1f5f9;
}
.mip-spotlight-spinner {
width: 18px;
height: 18px;
border: 2px solid #e2e8f0;
border-top-color: #239181;
border-radius: 50%;
animation: mipSpin 0.6s linear infinite;
}
.mip-spotlight-tabs {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 20px;
background: #f8fafc;
border-bottom: 1px solid #eef2f6;
overflow-x: auto;
}
.mip-tab-btn {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 20px;
padding: 5px 12px;
font-size: 12px;
font-weight: 500;
color: #64748b;
cursor: pointer;
transition: all 0.15s ease;
white-space: nowrap;
}
.mip-tab-btn:hover {
color: #1e293b;
border-color: #cbd5e1;
}
.mip-tab-btn.active {
background: #239181;
border-color: #239181;
color: #ffffff;
}
.mip-spotlight-body {
flex: 1;
overflow-y: auto;
padding: 12px 16px;
background: #ffffff;
}
.mip-spotlight-list {
display: flex;
flex-direction: column;
gap: 6px;
}
.mip-spotlight-item {
display: block;
padding: 12px 14px;
border-radius: 12px;
text-decoration: none;
transition: all 0.15s ease;
background: #ffffff;
border: 1px solid transparent;
}
.mip-spotlight-item:hover,
.mip-spotlight-item.active {
background: #f4f9f8;
border-color: #d1e7e2;
}
.mip-spotlight-item-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.mip-spotlight-item-title {
font-size: 15px;
font-weight: 600;
color: #1e293b;
line-height: 1.35;
}
.mip-spotlight-item.active .mip-spotlight-item-title {
color: #239181;
}
.mip-spotlight-item-title mark {
background: rgba(35, 145, 129, 0.18);
color: #166257;
padding: 1px 3px;
border-radius: 3px;
}
.mip-spotlight-badge {
display: inline-flex;
align-items: center;
font-size: 11px;
font-weight: 600;
padding: 3px 8px;
border-radius: 6px;
white-space: nowrap;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.mip-badge-service {
background: #e6f5f2;
color: #239181;
}
.mip-badge-article {
background: #eff6ff;
color: #2563eb;
}
.mip-badge-faq {
background: #fef3c7;
color: #d97706;
}
.mip-badge-page {
background: #f1f5f9;
color: #64748b;
}
.mip-spotlight-item-snippet {
margin-top: 6px;
font-size: 13px;
color: #64748b;
line-height: 1.45;
}
.mip-spotlight-item-snippet mark {
background: rgba(35, 145, 129, 0.18);
color: #166257;
padding: 1px 3px;
border-radius: 3px;
}
.mip-spotlight-empty {
padding: 32px 16px;
text-align: center;
color: #94a3b8;
font-size: 14px;
}
.mip-spotlight-initial {
padding: 24px 16px;
text-align: center;
color: #64748b;
font-size: 13.5px;
line-height: 1.6;
}
.mip-spotlight-initial em {
font-style: normal;
color: #239181;
font-weight: 500;
}
.mip-spotlight-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 20px;
background: #f8fafc;
border-top: 1px solid #eef2f6;
font-size: 12px;
color: #64748b;
}
.mip-shortcut-hint {
display: flex;
align-items: center;
gap: 14px;
}
.mip-shortcut-hint kbd {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 4px;
padding: 2px 5px;
font-size: 10px;
font-weight: 600;
color: #475569;
margin-right: 4px;
}
@keyframes mipScaleUp {
from { transform: scale(0.96) translateY(-8px); opacity: 0; }
to { transform: scale(1) translateY(0); opacity: 1; }
}
@keyframes mipSpin {
to { transform: rotate(360deg); }
}
@media (max-width: 768px) {
.mip-spotlight-overlay {
padding-top: 0;
}
.mip-spotlight-dialog {
max-width: 100%;
max-height: 100vh;
height: 100vh;
border-radius: 0;
}
}