/* Custom Styles */

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Search Box Styles */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transform: translateY(-2px);
}

/* Result Card Styles */
.result-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Loading Animation */
.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #2563eb;
    animation: spin 1s linear infinite;
}

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

/* Responsive Adjustments */
@media (max-width: 640px) {
    .search-container {
        width: 90%;
    }
}

/* Website Icon Styles */
.site-favicon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

/* Data Label Styles */
.data-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.data-value {
    font-weight: 500;
}

/* Visit Button Styles */
.visit-button {
    transition: all 0.2s ease;
}

.visit-button:hover {
    transform: translateY(-2px);
}

/* Language Switcher Styles */
.lang-active {
    font-weight: bold;
    text-decoration: underline;
}

/* Error Message Styles */
.error-message {
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    padding: 1rem;
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: transform, opacity;
}

.cookie-consent-banner.hidden {
    transform: translate(-50%, 150%);
    opacity: 0;
    display: none;
}

.cookie-consent-banner .cookie-text {
    font-size: 0.9rem;
    color: #4b5563;
}

.cookie-consent-banner .cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn-primary {
    background-color: #2563eb;
    color: white;
}

.cookie-btn-primary:hover {
    background-color: #1d4ed8;
}

.cookie-btn-secondary {
    background-color: #e5e7eb;
    color: #4b5563;
}

.cookie-btn-secondary:hover {
    background-color: #d1d5db;
}

.cookie-btn-tertiary {
    background-color: transparent;
    color: #6b7280;
    text-decoration: underline;
}

.cookie-btn-tertiary:hover {
    color: #4b5563;
}

.error-message {
    color: #b91c1c;
}

/* Success Message Styles */
.success-message {
    background-color: #dcfce7;
    border-left: 4px solid #22c55e;
    padding: 1rem;
    color: #166534;
}
