/*
 * Line icons in the header bars: the mail link and the search field.
 * The bars are blue in both themes, so one style serves both; the dark
 * selectors are listed only to match the generated twins' specificity.
 */

#d_user_menu #mail_menu li {
    padding: 6px 6px 0;
}

#d_user_menu #mail_menu li:hover {
    background: none;
}

#d_user_menu #mail_menu li a {
    padding: 4px 6px;
    border-radius: 6px;
    transition: background-color 0.15s;
}

#d_user_menu #mail_menu li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

#mail_menu .mail-icon {
    display: block;
    width: 18px;
    height: 18px;
    color: #e8eff7;
}

#mail_menu li:hover .mail-icon {
    color: #ffffff;
}

#header .search-form .search,
html.theme-dark #header .search-form .search {
    box-sizing: border-box;
    width: 140px;
    height: 24px;
    padding: 0 10px 0 27px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    color: rgba(232, 239, 247, 0.85);
    font-size: 11px;
    background: rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8eff7' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15 L20 20'/%3E%3C/svg%3E") no-repeat 9px 50% / 14px 14px;
    transition: background-color 0.15s, border-color 0.15s;
}

#header .search-form .search:hover,
html.theme-dark #header .search-form .search:hover {
    background-color: rgba(255, 255, 255, 0.18);
}

#header .search-form .search:focus,
html.theme-dark #header .search-form .search:focus {
    border-color: rgba(255, 255, 255, 0.55);
    outline: none;
    background-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}
