/* Сброс стилей и базовые настройки */
:root {
    --header-height: 90px; /* Высота хедера */
    --header-height-mobile: 180px; /* Высота хедера на мобильных (увеличено для iPhone) */
    --header-height-small: 200px; /* Высота хедера на маленьких экранах (увеличено) */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #f7fafc;
    padding-top: var(--header-height); /* Отступ для фиксированного хедера */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Хедер */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 0.2rem;
}

.slogan {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Главная секция */
.hero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    color: white;
    padding: 40px 0 80px; /* Уменьшен верхний отступ, так как у body уже есть padding-top */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-additional {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2.5rem !important;
    font-style: italic;
    backdrop-filter: blur(10px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Секции */
section {
    padding: 80px 0;
}

.search-section,
.request-section,
.about-section,
.contact-section {
    background: white;
}

.search-section {
    background: #f8fafc;
}

.request-section {
    background: white;
}

.about-section {
    background: #f8fafc;
}

/* Формы */
.search-form,
.request-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3748;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #718096;
    font-size: 0.9rem;
}

.required {
    color: #e53e3e;
}

/* Результаты поиска */
.search-results {
    margin-top: 2rem;
    position: relative;
}

/* Новые стили для лучшей видимости результатов */
.search-results-highlighted {
    background: linear-gradient(135deg, #fff5f5 0%, #f0fff4 100%);
    border: 3px solid #48bb78;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(72, 187, 120, 0.3);
    animation: highlightResults 0.8s ease;
    position: relative;
}

.search-results-highlighted::before {
    content: '🎯 Результаты поиска';
    position: absolute;
    top: -12px;
    left: 20px;
    background: #48bb78;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

@keyframes highlightResults {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        box-shadow: 0 8px 32px rgba(72, 187, 120, 0);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 12px 40px rgba(72, 187, 120, 0.4);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 32px rgba(72, 187, 120, 0.3);
    }
}

.search-result-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
    border-left: 6px solid #667eea;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #48bb78 100%);
}

.search-result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-left-color: #48bb78;
}

.search-result-item h4 {
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.search-result-meta {
    display: flex;
    gap: 1rem;
    color: #718096;
    font-size: 0.9rem;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-in_captivity {
    background: #fed7d7;
    color: #c53030;
}

.status-exchanged {
    background: #c6f6d5;
    color: #2f855a;
}

.status-unknown {
    background: #e2e8f0;
    color: #4a5568;
}

.status-missing {
    background: #fef5e7;
    color: #d69e2e;
}

/* Стили для неточных совпадений */
.search-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-content h4 {
    color: #856404;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.warning-content p {
    color: #856404;
    margin-bottom: 15px;
    line-height: 1.5;
}

.warning-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.inexact-match {
    border-left-color: #ffc107 !important;
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e1 100%);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.similarity-badge {
    background: #ffc107;
    color: #856404;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.similarity-note {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 6px;
    border-left: 3px solid #ffc107;
}

.similarity-note small {
    color: #856404;
    font-style: italic;
}

/* О нас */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #4a5568;
}

.achievements {
    margin: 3rem 0;
}

.achievements ul {
    list-style: none;
    padding: 0;
}

.achievements li {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 2rem;
}

.achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
    font-size: 1.2rem;
}

.achievements li:last-child {
    border-bottom: none;
}

/* Временная шкала */
.timeline {
    margin: 3rem 0;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-date {
    flex-shrink: 0;
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.timeline-content {
    flex: 1;
    color: #4a5568;
}

/* Контакты */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.contact-item a {
    color: #4a5568;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-item a:hover {
    color: #667eea;
}

.contact-note {
    text-align: center;
    color: #718096;
    font-style: italic;
    margin-top: 2rem;
}

.contact-support {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 1px solid #28a745;
    border-radius: 12px;
    padding: 20px;
    margin-top: 2rem;
    text-align: center;
}

.contact-support p {
    color: #155724;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* Подвал */
.footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    body {
        padding-top: var(--header-height-mobile); /* Увеличенный отступ для мобильных */
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero {
        padding: 20px 0 60px; /* Уменьшен верхний отступ для мобильных */
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .search-form,
    .request-form {
        padding: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-date {
        align-self: flex-start;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    body {
        padding-top: var(--header-height-small); /* Еще больший отступ для маленьких экранов */
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .search-form,
    .request-form {
        padding: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Специальные стили для iPhone и устройств с высоким DPI */
@media only screen 
  and (max-width: 430px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    body {
        padding-top: 220px !important; /* Принудительно увеличенный отступ для iPhone */
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 375px) {
    body {
        padding-top: 240px !important; /* Максимальный отступ для iPhone SE и подобных */
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        border-color: #48bb78;
        box-shadow: 0 8px 32px rgba(72, 187, 120, 0.3);
    }
    50% {
        border-color: #ff6b6b;
        box-shadow: 0 8px 32px rgba(255, 107, 107, 0.5);
    }
    100% {
        border-color: #48bb78;
        box-shadow: 0 8px 32px rgba(72, 187, 120, 0.3);
    }
}

.search-result-item {
    animation: fadeInUp 0.5s ease;
}

/* Анимированное появление результатов по очереди */
.search-result-item:nth-child(1) { animation-delay: 0.1s; }
.search-result-item:nth-child(2) { animation-delay: 0.2s; }
.search-result-item:nth-child(3) { animation-delay: 0.3s; }
.search-result-item:nth-child(4) { animation-delay: 0.4s; }
.search-result-item:nth-child(5) { animation-delay: 0.5s; }

/* Мигающий эффект для привлечения внимания */
.search-results-attention {
    animation: attentionPulse 2s ease-in-out;
}

@keyframes attentionPulse {
    0%, 100% {
        background: linear-gradient(135deg, #fff5f5 0%, #f0fff4 100%);
    }
    25% {
        background: linear-gradient(135deg, #fffbf0 0%, #f0f8ff 100%);
    }
    50% {
        background: linear-gradient(135deg, #fff0f5 0%, #f0ffff 100%);
    }
    75% {
        background: linear-gradient(135deg, #f5fff0 0%, #fff5f0 100%);
    }
}

/* Загрузка */
.loading {
    text-align: center;
    padding: 2rem;
    color: #718096;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

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

/* Уведомления */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1001;
    animation: slideInRight 0.3s ease;
}

.notification.success {
    background: #48bb78;
}

.notification.error {
    background: #e53e3e;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Уведомление о точности данных */
.data-accuracy-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin: 40px 0 30px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.notice-content h4 {
    color: #856404;
    margin-bottom: 10px;
    margin-top: 5px;
    font-size: 1.2rem;
}

.notice-content p {
    color: #856404;
    margin-bottom: 15px;
    line-height: 1.6;
}

.notice-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

/* Секция поддержки проекта */
.support-section {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #28a745;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    border-left: 5px solid #28a745;
}

.support-section h3 {
    color: #155724;
    margin-bottom: 15px;
    text-align: center;
}

.support-section p {
    color: #155724;
    margin-bottom: 20px;
    line-height: 1.6;
}

.crypto-donations {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.crypto-item {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #28a745;
}

.crypto-item strong {
    color: #155724;
    display: block;
    margin-bottom: 5px;
}

.crypto-item code {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
    word-break: break-all;
    display: block;
    border: 1px solid #dee2e6;
}

.support-note {
    text-align: center;
    font-style: italic;
    color: #155724;
    margin-top: 15px;
    font-weight: 500;
}

/* Адаптивность для новых блоков */
@media (max-width: 768px) {
    .data-accuracy-notice {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .notice-actions {
        justify-content: center;
    }
    
    .support-section {
        padding: 20px 15px;
    }
    
    .crypto-item code {
        font-size: 0.8rem;
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .notice-actions {
        flex-direction: column;
    }
    
    .notice-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .crypto-item {
        padding: 8px;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Новые стили для расширенной секции "О нас" */
.appeal-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #2196f3;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    border-left: 5px solid #2196f3;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.1);
}

.appeal-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.appeal-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1565c0;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.detailed-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #667eea;
}

.detailed-info p {
    margin: 0;
    color: #495057;
    line-height: 1.7;
    font-size: 1.05rem;
}

.process-section {
    margin: 30px 0;
}

.process-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2d3748;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.process-item {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.process-item p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
    font-weight: 500;
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
    .appeal-section {
        padding: 20px 15px;
    }
    
    .appeal-text {
        font-size: 1.1rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .process-item {
        padding: 20px 15px;
    }
    
    .detailed-info {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .appeal-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .appeal-text {
        font-size: 1rem;
    }
    
    .process-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .process-item {
        padding: 15px;
    }
    
    .detailed-info p {
        font-size: 1rem;
    }
    
    /* Мобильные стили для поисковых результатов */
    .search-warning {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .warning-actions {
        flex-direction: column;
    }
    
    .warning-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .result-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .similarity-badge {
        align-self: flex-start;
    }
    
    .search-result-meta {
        flex-direction: column;
        gap: 8px;
    }
} 