body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #333;
}

.search-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.search-header {
    padding: 20px 0;
    border-bottom: 1px solid #dfe1e5;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #4285F4; /* Google Blue */
    margin-bottom: 15px;
    text-align: center;
}

.logo .logo-ai {
    color: #EA4335; /* Google Red */
}


.search-bar-wrapper {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    box-shadow: 0 1px 6px rgba(32,33,36,0.1);
    padding: 5px 15px;
    margin-bottom: 15px;
}

#searchQueryInput {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 10px 5px;
    background-color: transparent;
}

.search-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #4285F4;
}

.search-button svg {
    display: block;
}

.header-menu {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #5f6368;
    padding-left: 5px; /* Align with search results potentially */
}
.header-menu span {
    cursor: pointer;
}
.header-menu span:first-child {
    color: #1a0dab; /* Active tab color */
    border-bottom: 3px solid #1a0dab;
    padding-bottom: 8px;
}


.results-container {
    padding-top: 10px;
}

.ai-summary-section {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ai-summary-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.ai-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.ai-summary-section h3 {
    margin: 0;
    font-size: 18px;
    color: #202124;
}

.ai-summary-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #5f6368;
}

.search-results-list .result-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.result-item h4 {
    margin: 0 0 5px 0;
}

.result-item h4 a {
    font-size: 20px;
    color: #1a0dab;
    text-decoration: none;
    font-weight: normal;
}

.result-item h4 a:hover {
    text-decoration: underline;
}

.result-url-line {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 5px;
}

.result-url {
    color: #006621; /* Greenish color for URLs */
    text-decoration: none;
    margin-right: 8px;
}

.veracity-icon {
    width: 16px;
    height: 16px;
}

.result-description {
    font-size: 14px;
    color: #545454;
    line-height: 1.5;
}

.search-footer {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #70757a;
    border-top: 1px solid #dfe1e5;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .logo {
        font-size: 24px;
    }
    #searchQueryInput {
        font-size: 14px;
    }
    .header-menu {
        font-size: 13px;
        gap: 10px;
        flex-wrap: wrap; /* Allow wrapping on small screens */
    }
    .ai-summary-section h3 {
        font-size: 16px;
    }
    .ai-summary-section p, .result-description, .result-url-line {
        font-size: 13px;
    }
    .result-item h4 a {
        font-size: 18px;
    }
}

