/**
 * Front Page Styles
 * Simple header, search container, and search form - front page only
 * Mobile-first approach
 */

/* Simple Header for Front Page - Mobile Base */
.site-header-simple {
    padding: 16px 20px 0;
    display: flex;
    justify-content: flex-end;
}

.header-simple-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-simple-right a {
    color: #1A0DAB;
    text-decoration: none;
    font-size: 13px;
}

.header-simple-right a:hover {
    text-decoration: underline;
}

.header-apps-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.header-apps-icon:hover {
    background-color: rgba(60, 64, 67, 0.08);
}

.header-apps-icon svg {
    width: 20px;
    height: 20px;
}

.header-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1A73E8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

/* Search Container - Mobile Base */
.search-container {
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: -60px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-container svg {
    display: block;
    width: 180px;
    height: auto;
}

.search-box {
    width: 100%;
    max-width: 100%;
}

/* Search Form - Mobile Base */
.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    border: 1px solid #DADCE0;
    border-radius: 22px;
    padding: 0 14px;
    background: #FFFFFF;
    transition: box-shadow 0.2s;
    gap: 12px;
}

.search-form:hover {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.search-form:focus-within {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    border-color: transparent;
}

.search-icon {
    flex-shrink: 0;
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #202124;
    background: transparent;
}

.search-field::placeholder {
    color: #9AA0A6;
}

.mic-icon {
    flex-shrink: 0;
    cursor: pointer;
}

/* Search Buttons - Mobile Base */
.search-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-btn,
.lucky-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    color: #202124;
    background: #F8F9FA;
    border: 1px solid #F8F9FA;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
}

.search-btn:hover,
.lucky-btn:hover {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid #DADCE0;
    background: #F8F9FA;
}

/* Tablet & Desktop - Front Page */
@media (min-width: 769px) {
    .site-header-simple {
        padding: 24px 32px 0;
    }

    .header-simple-right {
        gap: 24px;
    }

    .header-simple-right a {
        font-size: 14px;
    }

    .search-container {
        margin-top: -120px;
        gap: 24px;
    }

    .logo-container svg {
        width: auto;
        height: auto;
    }

    .search-box {
        max-width: 560px;
    }

    .search-form {
        height: 46px;
        padding: 0 16px;
        border-radius: 24px;
    }

    .search-field {
        font-size: 16px;
    }

    .search-buttons {
        gap: 16px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .search-btn,
    .lucky-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}
