.ai-search-container {
    padding: 60px 0;
    background: var(--blue);
    min-height: 100vh;
}

.ai-search-form {
    width: 100%;
    /* background: white; */
    padding: 50px;
    border-radius: 25px;
    /* box-shadow: 0 25px 50px rgba(0,0,0,0.15); */
    margin: 0 auto 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#searchForm
{
    display: flex;
    justify-content: space-between;
}
.ai-search-input {
    width: 80%;
    padding: 20px 25px;
    border: 3px solid #e1e5e9;
    border-right: none;
    border-radius: 15px;
    font-size: 18px;
    transition: all 0.4s ease;
    margin-bottom: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 70px;
}

.ai-search-input:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    background: white;
}

.ai-search-input::placeholder {
    color: #a0a0a0;
    font-style: italic;
}

.ai-search-button {
    width: 20%;
    background: var(--blue);
    color: #fff;
    border: 3px solid #e1e5e9;
    border-left: none;
    /* padding: 20px 40px; */
    border-radius: 15px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    height: 70px;
}

.ai-search-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.ai-search-button:hover::before {
    left: 100%;
}

.ai-search-button:hover {
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.bloggers-table {
    width: 98%;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.1); */
}

.table-header {
    background: #667eea;
    color: white;
    padding: 20px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #f8f9ff;
    color: #333;
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e1e5e9;
    font-size: 14px;
}

.data-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.data-table tr:hover {
    background: #f8f9ff;
}

.blogger-name {
    font-weight: 600;
    color: #333;
}
.blogger-name a
{
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    &:hover {
        color: #667eea;
        text-decoration: underline;
    }
}

.blogger-username {
    color: #666;
    font-size: 13px;
}

.blogger-category {
    background: #e8f2ff;
    color: #667eea;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.followers-count {
    font-weight: 600;
    color: #333;
}

.engagement-rate {
    color: #28a745;
    font-weight: 600;
}

.price-per-post {
    color: #667eea;
    font-weight: 700;
}

.verified-badge {
    color: #28a745;
    font-size: 12px;
    margin-left: 5px;
}

.platform-badge {
    background: #f0f0f0;
    color: #666;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* Loader styles */
.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    color: #667eea;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.loader-subtext {
    color: #666;
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
    opacity: 0.8;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.search-animation {
    animation: searchPulse 0.6s ease-in-out;
}

@keyframes searchPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.form-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table-fade-in {
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

.table-container {
    display: none;
}

.table-container.show {
    display: block;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results h3 {
    color: #333;
    margin-bottom: 10px;
}

.search-results-count {
    background: #f8f9ff;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #667eea;
    font-weight: 600;
}

@media (max-width: 768px) {
    .data-table {
        font-size: 12px;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 5px;
    }
    
    .table-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .ai-search-form {
        padding: 20px;
    }
    
    .ai-search-button {
        margin: 10px 0 0 0;
        width: 100%;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    #searchForm
    {
        flex-direction: column;
    }
    .ai-search-input
    {
        width: 100%;
        border: 3px solid #e1e5e9;
        border-radius: 15px 15px 0 0;
        height: 60px;
        margin-bottom: 0;
    }
    .ai-search-button
    {
        height: 60px;
        margin-top: 0;
        border: 3px solid #e1e5e9;
        border-top: 0;
        border-radius: 0 0 15px 15px;
        width: 100%;
    }
}



.data-table
{
    scrollbar-width: none;
  }