.search-container {
    margin-top:20px;
    width: 100%;
    background: white;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.search-container .logo {
    text-align: center;
    margin-bottom: 30px;
    display: block;
}

.logo h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.logo p {
    color: #5f6368;
    font-size: 1.1rem;
}

.search-box {
    display: flex;
    gap: 2px;
    margin: 0 auto;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}


.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1.1rem;
    border: 2px solid var(--light);
}
.search-box input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}
.search-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s;
}

.search-button:hover {
    background: var(--primary-dark);
}

.hot-searches {
    margin-bottom: 25px;
}

.hot-searches h3 {
    color: #5f6368;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.hot-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-search-tags a {
    background: #f1f3f4;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.hot-search-tags a:hover {
    background: #e8f0fe;
    color: var(--primary);
}

.advanced-search-toggle {
    display: flex;
    justify-content: center;
}

.toggle-btn {
    background: transparent;
    border: 1px solid #dadce0;
    color: #5f6368;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.toggle-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary);
    color: var(--primary);
}

.toggle-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.toggle-btn.expanded i {
    transform: rotate(180deg);
}

.advanced-options {
    display: none;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-top: 10px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.advanced-options h3 {
    color: #3c4043;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.option-group {
    margin-bottom: 0;
}

.option-group label {
    display: block;
    margin-bottom: 8px;
    color: #5f6368;
    font-weight: 500;
    font-size: 0.9rem;
}

.search-scope {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-scope label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.search-scope input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

select, input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #3c4043;
    background: white;
}

.date-range {
    display: flex;
    gap: 15px;
}

.date-range .option-group {
    flex: 1;
}

.advanced-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.advanced-actions button {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.advanced-actions .apply-btn {
    background: var(--primary);
    color: white;
    border: none;
}

.advanced-actions .apply-btn:hover {
    background: #3367d6;
}

.advanced-actions .reset-btn {
    background: white;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.advanced-actions .reset-btn:hover {
    background: #f8f9fa;
}

.search-result{
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.error{
    color:red;
}
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .date-range {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-scope {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .search-container {
        padding: 20px;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .search-button {
        padding: 12px;
        border-radius: 0 0 10px 10px;
    }
    
    .hot-search-tags {
        justify-content: center;
    }
}