/**
 * ExifRemover theme overrides
 * Muted color scheme + horizontal header layout + gray language selector
 */

/* ========== Theme Colors ========== */
:root {
  --color-primary: #608DBC;
  --color-success: #679364;
  --color-danger: #A37AAB;
}

/* ========== Body Adjustment ========== */
body {
  padding-top: 1.5em;
}

/* ========== Header Layout (horizontal with logo) ========== */
.header {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
}

.header__left {
  position: relative;
  flex: 1;
  min-width: 0;
}

.header__logo {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 1.5em;
}

.header__language {
  position: absolute;
  right: 0;
  top: 0;
}

.header__text {
  line-height: 1.4;
  font-size: 1.07em;
  margin-bottom: 5px;
}

.header__text_hidden-sm {
  display: block;
}

@media screen and (max-width: 555px) {
  .header {
    width: auto;
    margin-right: -10px;
    margin-left: -10px;
  }
  .header__language {
    top: 0.5em;
  }
  .header__left {
    padding-top: 0.5em;
  }
  .header__logo {
    width: calc(90% - 4.5em);
    height: auto;
  }
  .header__text {
    text-align: center;
  }
  .header__text_hidden-sm {
    display: none;
  }
}

/* ========== Gray Language Selector ========== */
.language__button {
  color: #333;
  border: 1px solid #333;
}

.language__button:hover {
  background-color: #333;
  color: #fff;
}

.language__overflow {
  border: 1px solid #333;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
}

.language__title:hover {
  background-color: #f0f0f0;
}

.language__title_selected {
  color: #333;
}

.language_active .language__button {
  background-color: #333;
  color: #fff;
}

/* ========== Article Color Overrides (muted palette) ========== */
.article__highlight {
  background: linear-gradient(135deg, #e8f1f8 0%, #d5e4f0 100%);
  border-left: 4px solid #608DBC;
}

.article__highlight strong {
  color: #4a7099;
}

.article__tip {
  background: linear-gradient(135deg, #e8f2e7 0%, #d8ebd6 100%);
  border-left: 4px solid #679364;
}

.article__tip strong {
  color: #527550;
}

.article__warning {
  background: linear-gradient(135deg, #f8f3e6 0%, #f0e6cc 100%);
  border-left: 4px solid #C9A857;
}

.article__warning strong {
  color: #9a8242;
}

.article__example {
  background: linear-gradient(135deg, #f3eef5 0%, #e8dded 100%);
  border-left: 4px solid #A37AAB;
}

.article__example h4 {
  color: #825e89;
}

.article__table_colored thead {
  background: linear-gradient(135deg, #608DBC 0%, #4a7099 100%);
}

.article__table_colored tbody tr:nth-child(odd) {
  background: #f6f9fb;
}

.article__table_colored tbody tr:hover {
  background: #e8f1f8;
}
