/* Inter Voice Over — voice search: the pages of the search engine's own site.
   Top bar, header, login, password reset and user management. The search screen itself is in
   search.css (scoped to #ivs, so the same file also styles the search inside the main website). */

:root {
  --blue: #2a7cc1;
  --blue-dark: #1f76bf;
  --blue-active: #287bc1;
  --blue-fav: #6b97be;
  --blue-hover: #bcdcf1;
  --listened: #e9eef1;
  --line: #ececec;
  --ink: #242424;
  --red: #e42c1d;
  --maven: 'Maven Pro', Arial, Helvetica, sans-serif;
  --i-play: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Cpath d='M15.5 11l8.5 6-8.5 6z' fill='%232a7cc1'/%3E%3C/svg%3E");
  --i-play-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Cpath d='M15.5 11l8.5 6-8.5 6z' fill='%23b9c3cb'/%3E%3C/svg%3E");
  --i-pause: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Cpath d='M14 11h4v12h-4zm6 0h4v12h-4z' fill='%23fff'/%3E%3C/svg%3E");
  --i-play-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Cpath d='M15.5 11l8.5 6-8.5 6z' fill='%23fff'/%3E%3C/svg%3E");
  --i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Cpath d='M19 9.5l2.3 4.9 5.2.7-3.8 3.7.9 5.3-4.6-2.6-4.6 2.6.9-5.3-3.8-3.7 5.2-.7z' fill='%232a7cc1'/%3E%3C/svg%3E");
  --i-star-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Cpath d='M19 9.5l2.3 4.9 5.2.7-3.8 3.7.9 5.3-4.6-2.6-4.6 2.6.9-5.3-3.8-3.7 5.2-.7z' fill='%23fff'/%3E%3C/svg%3E");
  --i-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Cpath d='M16 9h6v8h4.5L19 25l-7.5-8H16z' fill='%232a7cc1'/%3E%3C/svg%3E");
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Ccircle cx='19' cy='17' r='8' fill='%232a7cc1'/%3E%3Cpath d='M17.8 15.5h2.4V22h-2.4zM19 11.6a1.4 1.4 0 110 2.8 1.4 1.4 0 010-2.8z' fill='%23fff'/%3E%3C/svg%3E");
  --i-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 34'%3E%3Cpath d='M15 13l8 8m0-8l-8 8' stroke='%232a7cc1' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
html { height: 100%; overflow-y: scroll; }
body { margin: 0; min-height: 100%; font: 11px/1.4 Arial, Helvetica, sans-serif; color: #333; background: #e9e9ea; }
img { border: 0; }
a { text-decoration: none; color: var(--blue); }
a:focus { outline: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; padding: 0; font-family: var(--maven); }
ul { margin: 0; padding: 0; list-style: none; }
input, select, textarea, button { font-family: Arial, Helvetica, sans-serif; }
[hidden] { display: none !important; }
.clearfix::after { content: ''; display: block; clear: both; }
.wrap { width: 946px; margin: 0 auto; position: relative; }

/* ── page chrome ── */
.topbar { background: #242424; color: #fff; height: 30px; line-height: 30px; font-size: 12px; font-weight: bold; }
.topbar a { color: #fff; }
.topbar a:hover { text-decoration: underline; }
.topbar_right { float: right; }
.topbar .padlock { padding-left: 18px; background: url(/img/padlock.png) 0 50% no-repeat; }
.topbar .sep { opacity: .45; margin: 0 8px; font-weight: normal; }
.site_header { background: #fff; border-bottom: 1px solid #dcdcdc; }
.site_header .wrap { height: 78px; }
.site_header .logo { position: absolute; left: 0; top: 14px; }
.site_header .logo img { display: block; }
.header_tag { position: absolute; right: 0; top: 30px; font: 700 17px var(--maven); color: var(--ink); }
.content { padding: 22px 0 120px; }
.btn input, .btn button { display: block; width: 100%; height: 57px; padding: 0; border: 0; border-radius: 5px; cursor: pointer; text-align: center;
  font: 700 18px var(--maven); letter-spacing: .01em; }
.btn.red input, .btn.red button, .btn.red a { background: url(/img/btn_red.gif) 0 bottom repeat-x #e42c1d; color: #fff; }
.btn.blue a, .btn.blue button { background: url(/img/btn_blue.gif) 0 bottom repeat-x #2f9ddd; color: #fff; }
.btn.red input:hover, .btn.red button:hover { filter: brightness(1.07); }

/* ── login page ── */
body.login_page { background: #e9e9ea; }
.login_box { width: 340px; margin: 60px auto; background: #242424; border-radius: 5px; padding: 22px 24px 26px; color: #fff; }
.login_box h1 { color: #fff; font-size: 21px; font-weight: 700; margin: 0 0 14px; }
.login_box label { display: block; font-weight: bold; font-size: 13px; padding: 8px 0 5px; }
.login_box input[type=text], .login_box input[type=password] { width: 100%; box-sizing: border-box; height: 34px; border: 0; border-radius: 3px; padding: 0 9px; font-size: 13px; }
.login_box .btn { margin-top: 18px; }
.login_box .btn button { height: 44px; }
.login_error { background: #fceded; border: 1px solid #e38585; color: #a93131; padding: 7px 10px; font-size: 12px; border-radius: 2px; margin-top: 12px; }

/* ───────── login: code step, links ───────── */
.login_info { background: #3a3a3a; border-radius: 3px; padding: 9px 11px; font-size: 12.5px; line-height: 1.45; margin: 2px 0 6px; }
.login_links { margin-top: 14px; font-size: 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.login_links a { color: #cfcfcf; text-decoration: underline; }
.login_links a:hover { color: #fff; }
.login_box #code { letter-spacing: 3px; font-size: 16px; }

/* ───────── back-end: users ───────── */
body.users_page { background: #fff; }
.users_content { padding: 26px 0 60px; }
.users_content h2 { font: 700 19px var(--maven); color: var(--ink); margin: 26px 0 12px; }
.users_note { background: #fff8e1; border: 1px solid #e6c65c; color: #6b5200; padding: 9px 12px; border-radius: 3px; font-size: 13px; }
.users_table { width: 100%; border-collapse: collapse; font-size: 13px; }
.users_table th { text-align: left; background: #242424; color: #fff; padding: 8px 10px; font-weight: bold; }
.users_table td { padding: 9px 10px; border-bottom: 1px solid #e3e3e3; vertical-align: top; }
.users_table tr.inactive td { color: #999; background: #f7f7f7; }
.users_table .you, .users_table .off { font-size: 11px; color: #888; font-weight: normal; }
.users_table .you { background: #e9f1fb; color: #2a5d9f; padding: 1px 6px; border-radius: 9px; }
.users_table td.warn { color: #a93131; font-weight: bold; }
.users_table td.actions a { display: block; white-space: nowrap; color: #2a5d9f; margin-bottom: 3px; }
.users_table td.actions a:hover { text-decoration: underline; }
.user_form { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.user_form label, .user_edit label { display: block; font-size: 12px; font-weight: bold; color: var(--ink); }
.user_form input, .user_form select, .user_edit input, .user_edit select { display: block; margin-top: 5px; height: 32px; border: 1px solid #bbb; border-radius: 3px; padding: 0 8px; font-size: 13px; box-sizing: border-box; width: 200px; background: #fff; }
.user_form select { width: 250px; }
.user_form .btn button { height: 32px; padding: 0 18px; }
.users_help { font-size: 12px; color: #666; margin: 10px 0 0; }
.users_result { margin-top: 18px; background: #eef7ea; border: 1px solid #9fc98c; color: #2f5d1d; padding: 10px 12px; border-radius: 3px; font-size: 13px; }
.users_result.bad { background: #fceded; border-color: #e38585; color: #a93131; }
.users_result input { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; height: 30px; font: 12px ui-monospace, Menlo, monospace; border: 1px solid #bbb; border-radius: 3px; padding: 0 8px; }
.modal_back { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal_back[hidden] { display: none; }
.user_edit { background: #fff; border-radius: 5px; padding: 22px 24px; width: 320px; box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.user_edit h3 { margin: 0 0 14px; font: 700 17px var(--maven); color: var(--ink); }
.user_edit label { margin-bottom: 12px; }
.user_edit input, .user_edit select { width: 100%; }
.user_edit_buttons { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.user_edit_buttons .btn button { height: 34px; padding: 0 22px; }
.user_edit_buttons a { color: #666; font-size: 13px; }
