/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col ul li span[aria-hidden="true"] {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.9rem;
}

.social-links a span {
    pointer-events: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Live Search Section */
.live-search-section {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.search-header p {
    color: var(--text-secondary);
}

.search-box-container {
    max-width: 900px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.search-input-wrapper input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input-wrapper button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#liveSearchBtn {
    background: var(--primary-color);
    color: white;
}

#liveSearchBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#clearSearchBtn {
    background: rgba(37, 99, 235, 0.12);
    color: var(--primary-color);
    display: none;
}

#clearSearchBtn:hover {
    background: rgba(37, 99, 235, 0.22);
}

.form-hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: var(--danger-color);
    min-height: 1rem;
}

.search-input-wrapper input.input-invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

#liveSearchBtn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

#clearSearchBtn {
    background: var(--danger-color);
    color: white;
}

#clearSearchBtn:hover {
    background: #dc2626;
}

/* Scraper Status */
.scraper-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.scraper-item {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.scraper-item.active {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.scraper-item.completed {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.scraper-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.scraper-item.active .scraper-icon {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}


