/* assets/css/google-dark.css */

:root {
    --bg-color: #202124;
    --search-bar-bg: #303134;
    --text-primary: #bdc1c6;
    --text-secondary: #9aa0a6;
    --link-blue: #8ab4f8;
    --divider: #3c4043;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Google Sans', Roboto, arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* --- 1. The Search Header --- */
.google-header {
    padding: 20px 16px 0;
    position: sticky;
    top: 0;
    background: var(--bg-color);
    z-index: 100;
    border-bottom: 1px solid var(--divider);
}

.search-bar-container {
    background-color: var(--search-bar-bg);
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    flex-grow: 1;
    margin-left: 12px;
    outline: none;
}

.search-icon { width: 20px; height: 20px; fill: #9aa0a6; }
.mic-icon { width: 20px; height: 20px; fill: #8ab4f8; margin-left: 12px; }

/* Fake Tabs (All, Images, News) */
.search-tabs {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
}

.tab-item {
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
    padding-bottom: 8px;
    border-bottom: 3px solid transparent;
}

.tab-item.active {
    color: #8ab4f8;
    border-color: #8ab4f8;
}

/* Mobile responsiveness for header and tabs */
@media (max-width: 768px) {
    .google-header {
        padding: 12px 10px 0;
    }

    .search-bar-container {
        padding: 8px 10px;
        border-radius: 12px;
    }

    .search-input {
        font-size: 15px;
    }

    .search-tabs {
        gap: 8px;
        padding-bottom: 8px;
    }

    .tab-item {
        padding-bottom: 6px;
        font-size: 13px;
    }

    .site-info { gap: 8px; }
    .site-icon-circle { width: 36px; height: 36px; }
}

/* --- 2. The Result Widget --- */
.result-card {
    padding: 16px;
    margin-bottom: 8px;
}

/* Site Info Row */
.site-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
}

.site-icon-circle {
    width: 28px;
    height: 28px;
    background-color: #000; /* Nexus Black Icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3c4043;
}

.site-name-block {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.site-name { color: var(--text-primary); font-weight: 400; font-size: 14px; }
.site-url { color: var(--text-secondary); font-size: 12px; }

/* Main Link */
.result-title {
    color: var(--link-blue);
    font-size: 20px;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
}
.result-title:hover { text-decoration: underline; }

/* Snippet */
.result-snippet {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.58;
}

/* Discussion Sub-links (Like your Boda screenshot) */
.sub-results {
    margin-top: 12px;
    padding-left: 16px;
    border-left: 2px solid var(--divider);
}
.sub-link {
    display: block;
    color: var(--link-blue);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 4px;
}