@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #00a4dc;
  --bg: #101010;
  --input-bg: #292929;
  --cancel-bg: #303030;
  --text: rgba(255, 255, 255, 0.8);
  --text-muted: #999999;
  --error: #cc3333;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans', 'Noto Sans HK', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', 'Noto Sans TC', sans-serif;
  font-size: 16px;
}

.skinHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.headerTop {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 0.5em;
}

.headerLogo {
  height: 32px;
  width: auto;
  display: block;
}

.mainAnimatedPages {
  padding-top: 4.5em;
  padding-bottom: 5em;
}

.loginPage {
  max-width: 34em;
  margin: 0 auto;
  padding: 0 1em;
}

.manualLoginForm {
  width: 100%;
}

.sectionTitleContainer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sectionTitle {
  font-size: 1.8em;
  font-weight: 400;
  margin: 1.2em 0;
  color: var(--text);
}

.inputContainer {
  margin-bottom: 1.8em;
}

.inputLabel {
  display: inline-block;
  font-size: 1em;
  color: var(--text-muted);
  margin-bottom: 0.25em;
}

.inputLabel:focus-within,
.emby-input:focus + .inputLabel {
  color: var(--primary);
}

.emby-input {
  display: block;
  width: 100%;
  background: var(--input-bg);
  border: 2px solid var(--input-bg);
  border-radius: 4px;
  color: var(--text);
  font-size: 1.1em;
  font-family: inherit;
  padding: 0.44em 0.28em;
}

.emby-input:focus {
  outline: none !important;
  border-color: var(--primary);
}

.loginErrorMessage {
  background: rgba(204, 51, 51, 0.15);
  border: 1px solid var(--error);
  color: #ff8080;
  border-radius: 3px;
  padding: 0.6em 0.8em;
  margin-bottom: 1.4em;
  font-size: 0.9em;
}

.checkboxContainer {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.8em;
  cursor: pointer;
}

.checkboxLabel {
  font-size: 1em;
  color: var(--text);
}

button[is="emby-button"] {
  display: block;
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 0.9em 1em;
  font-size: 1em;
  font-weight: 600;
  font-family: inherit;
  margin: 0.25em 0;
  cursor: pointer;
  text-align: center;
}

.button-submit {
  background: var(--primary);
  color: #fff;
}

.button-submit:hover {
  background: #0090c2;
}

.button-submit:disabled {
  background: #3a3a3a;
  cursor: default;
}

.cancel {
  background: var(--cancel-bg);
  color: var(--text);
}

.cancel:hover {
  background: #3a3a3a;
}

.cancelButtonContainer {
  margin-top: 0.5em;
}
