/* --- RESET & FONDATIONS --- */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
}

/* --- BARRE DE NAVIGATION (HAUT DROITE) --- */
.top-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 20px;
    gap: 15px;
}

.nav-icon {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.nav-icon:hover {
    background-color: #f1f3f4;
}

.nav-icon svg {
    width: 24px;
    height: 24px;
    fill: #5f6368;
}

.profile-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #555;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.profile-pic:hover {
    background-color: #d5d5d5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* --- CONTENEUR CENTRAL --- */
.main-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 120px;
}

/* --- LOGO ODEMNY --- */
.logo {
    font-size: 5.5rem;
    font-weight: 500;
    letter-spacing: -2px;
    margin-bottom: 30px;
    user-select: none;
}

.c-o { color: #fbbc05; }
.c-d { color: #ea4335; }
.c-e { color: #34a853; }
.c-m { color: #4285f4; }
.c-n { color: #002D72; } /* NY Blue */
.c-y { color: #FF5910; } /* NY Orange */

/* --- BARRE DE RECHERCHE --- */
.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
    padding: 0 20px;
    box-sizing: border-box;
}

.search-bar {
    width: 100%;
    padding: 14px 20px 14px 45px;
    font-size: 16px;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
    box-sizing: border-box;
}

.search-bar:hover, .search-bar:focus {
    box-shadow: 0 1px 6px rgba(32,33,36,.28);
    border-color: rgba(223,225,229,0);
}

.search-icon {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: #9aa0a6;
}

/* --- RÉSULTATS DE RECHERCHE --- */
.result-card {
    margin-bottom: 30px;
    font-family: Arial, sans-serif; /* Google utilise souvent Arial pour les résultats */
}

.result-url {
    font-size: 14px;
    color: #202124;
    padding-bottom: 4px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-title {
    font-size: 20px;
    color: #1a0dab; /* Le fameux bleu des liens */
    text-decoration: none;
    display: inline-block;
    margin-bottom: 3px;
}

.result-title:hover {
    text-decoration: underline;
}

.result-snippet {
    font-size: 14px;
    color: #4d5156;
    line-height: 1.58;
    max-width: 600px;
}