/* =========================================================================
 * Windows 8/10 — an optional, per-visitor skin for the Member Home Page, a
 * sibling to the other skins already in this switcher (see theme-classic.css,
 * which this file depends on for the shared switcher CSS and the
 * .win-zoom/.win-minimize base rules).
 *
 * Recreates the "Metro"/flat design language Windows 8 introduced in 2012
 * and 10 carried forward largely unchanged through 2021: every gradient,
 * bevel and glow Windows XP/Vista/7 built its chrome from is gone here,
 * replaced by flat solid fills, square (or barely-rounded) corners, and one
 * flat Windows-blue accent -- the same instinct behind this switcher's own
 * Yosemite skin, just in Microsoft's register instead of Apple's. Every
 * rule here is original CSS; nothing is traced from or bundles any
 * Microsoft asset.
 *
 * Scope: only takes effect under body.theme-win810, so it never touches the
 * default design or any other theme unless a visitor opts in.
 * ========================================================================= */

/* @section Desktop background
   Flat Windows blue -- Metro's defining move was dropping photographic/
   gradient wallpaper-as-chrome entirely in favor of solid color. */
body.theme-win810 {
  background: #0078d4;
}

/* --- Windows 8/10 switcher dropdown --- */
body.theme-win810 .bb-theme-toggle-label {
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  font-size: 12px;
  color: #fff;
}
body.theme-win810 .bb-theme-toggle {
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #0078d4;
  border: 1px solid #005a9e;
  border-radius: 0;
  box-shadow: none;
  padding: 7px 14px;
}
body.theme-win810 .bb-theme-toggle:hover {
  background: #006cbe;
}
body.theme-win810 .bb-theme-toggle option {
  color: #000;
  background: #fff;
}

/* @section Window chrome for the four cards + the Feed box
   Flat white, square corners, a thin flat border -- no shadow, no
   gradient, no bevel; Metro windows sat flush against the desktop rather
   than floating above it. */
body.theme-win810 .profile-card,
body.theme-win810 .certifications-card,
body.theme-win810 .conferences-card,
body.theme-win810 .activity-card,
body.theme-win810 .elsewhere-card,
body.theme-win810 #member-feed {
  position: relative;
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  color: #000;
}

/* The title bar: flat white, a single accent-blue hairline for the active
   border (Metro's whole take on "focus" was a thin colored line, nothing
   more), left-aligned regular-weight text, and the three flat square
   controls -- each a plain rectangle with its own glyph, turning solid
   red (close) or light grey (minimize/maximize) on hover only, which this
   static markup renders as their resting flat state. */
body.theme-win810 .win-titlebar {
  display: flex;
  align-items: center;
  height: 32px;
  margin: 0;
  padding: 0 0 0 10px;
  border-bottom: 1px solid #0078d4;
  background: #fff;
}
body.theme-win810 .win-close,
body.theme-win810 .win-minimize,
body.theme-win810 .win-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 0;
  font-size: 11px;
  line-height: 1;
  color: #1a1a1a;
}
body.theme-win810 .win-minimize {
  order: 2;
  margin-left: auto;
}
body.theme-win810 .win-minimize::before {
  content: '\2014';
  font-size: 9px;
  transform: translateY(-5px);
}
body.theme-win810 .win-zoom {
  order: 3;
}
body.theme-win810 .win-zoom::before {
  content: '\25A1';
  font-size: 10px;
}
body.theme-win810 .win-close {
  order: 4;
  background: #e81123;
  color: #fff;
}
body.theme-win810 .win-close::before {
  content: '\2715';
}
body.theme-win810 .win-title {
  display: block;
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  font-size: 12px;
  font-weight: normal;
  color: #1a1a1a;
}

/* Push each card's own content below the title bar. */
body.theme-win810 .profile-card,
body.theme-win810 .certifications-card,
body.theme-win810 .conferences-card,
body.theme-win810 .activity-card,
body.theme-win810 .elsewhere-card {
  padding: 0 0 var(--ds-space-md);
}
body.theme-win810 .profile-card > *:not(.win-titlebar),
body.theme-win810 .certifications-card > *:not(.win-titlebar),
body.theme-win810 .conferences-card > *:not(.win-titlebar),
body.theme-win810 .activity-card > *:not(.win-titlebar),
body.theme-win810 .elsewhere-card > *:not(.win-titlebar) {
  margin-left: var(--ds-space-md);
  margin-right: var(--ds-space-md);
}
body.theme-win810 .profile-card-head,
body.theme-win810 .activity-stats,
body.theme-win810 .certifications-card-head {
  margin-top: var(--ds-space-md);
}

/* The in-card headings are redundant once the title bar already says the
   same thing (same reasoning as every other theme in this switcher). */
body.theme-win810 .certifications-heading,
body.theme-win810 .activity-heading,
body.theme-win810 .member-feed-row-heading,
body.theme-win810 .member-feed-heading {
  display: none;
}

body.theme-win810 #member-feed > *:not(.win-titlebar) {
  padding-left: var(--ds-space-md);
  padding-right: var(--ds-space-md);
}
body.theme-win810 #member-feed .feed-filters {
  margin-top: var(--ds-space-md);
}
body.theme-win810 #member-feed .feed-list {
  padding-bottom: var(--ds-space-md);
}

/* @section Flat tiles
   Buttons, tags, badges and pills go completely flat -- a solid fill, a
   square corner, no shadow, no gradient -- the defining Metro "tile" look.
   Anything "active"/selected goes solid Windows blue. */
body.theme-win810 .atechs-btn,
body.theme-win810 .feed-tag,
body.theme-win810 .feed-filter,
body.theme-win810 .cert-since-badge,
body.theme-win810 .feed-item-longform-badge,
body.theme-win810 .activity-stat,
body.theme-win810 .profile-status-item,
body.theme-win810 .atechs-tag {
  background: #f3f3f3;
  color: #000;
  border: 1px solid #d2d2d2;
  border-radius: 0;
  box-shadow: none;
}
body.theme-win810 .feed-filter.is-active {
  background: #0078d4;
  color: #fff;
  border-color: #0078d4;
}
body.theme-win810 .elsewhere-link,
body.theme-win810 .elsewhere-label,
body.theme-win810 .elsewhere-value,
body.theme-win810 .feed-item-title a,
body.theme-win810 .cert-since-value,
body.theme-win810 .activity-value {
  color: #0078d4 !important;
}

/* @section Feed items */
body.theme-win810 .feed-item {
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
}
body.theme-win810 .feed-item + .feed-item {
  margin-top: var(--ds-space-sm);
}
