.tashan-session-select {
  flex: 1 1 0 !important;
  width: 100%;
  max-width: none;
  min-height: 46px;
  color: #40382b;
  background-color: rgba(255, 255, 255, 0.92);
  border-color: #d8c9aa;
  border-radius: 10px;
}

.tashan-login #login-form td.input.input-group {
  flex-flow: row wrap !important;
}

.tashan-login #login-form .tashan-session-select {
  width: 1% !important;
}

.tashan-login #login-form .icon.tashan_session_lifetime::before {
  content: "\f017";
}

/* Dil satiri ikonsuz kaliyordu; diger alanlarla ayni gorunsun. */
.tashan-login #login-form .icon.tashan_language::before {
  content: "\f0ac";
}

.tashan-session-hint {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding-left: 48px;
  color: #8a7e68;
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
}

.tashan-password-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 14px;
  color: #665224;
  background: #fbf5e5;
  border: 1px solid #ead8a8;
  border-radius: 12px;
  line-height: 1.45;
}

.tashan-password-note-icon {
  flex: 0 0 auto;
}

.tashan-account-setup {
  margin-top: 18px;
}

.tashan-account-title {
  border-radius: 12px 12px 0 0;
}

.tashan-account-box {
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.tashan-account-box > .boxcontent {
  padding: 20px;
}

.tashan-account-current {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 13px 15px;
  color: #4d4026;
  background: linear-gradient(135deg, #fbf6e9, #f3ead5);
  border: 1px solid #e1d2ad;
  border-radius: 13px;
}

.tashan-account-current-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: #b69448;
  border-radius: 11px;
  font-size: 21px;
}

.tashan-account-current small,
.tashan-account-current strong {
  display: block;
}

.tashan-account-current small {
  margin-bottom: 2px;
  color: #8b7d60;
  font-size: 12px;
}

.tashan-account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tashan-account-card {
  min-width: 0;
  padding: 15px;
  background: #fff;
  border: 1px solid #e7e1d6;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(54, 45, 29, 0.05);
}

.tashan-account-card-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
}

.tashan-account-card-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: #8c6f2e;
  background: #f5ecd8;
  border-radius: 9px;
  font-weight: 700;
}

.tashan-account-card-titles strong,
.tashan-account-card-titles small {
  display: block;
}

.tashan-account-card-titles small {
  color: #968b78;
  font-size: 11px;
}

.tashan-account-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid #f0ece4;
  font-size: 12px;
}

.tashan-account-label {
  color: #8a8172;
}

.tashan-account-row code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #39342c;
  font-size: 12px;
  text-align: right;
}

.tashan-account-common {
  margin: 14px 0 18px;
  color: #756b59;
  font-size: 13px;
  line-height: 1.55;
}

.tashan-android-setup {
  margin: 0 0 18px;
  padding: 18px;
  color: #342f27;
  background: linear-gradient(145deg, #f7f3e9, #fff);
  border: 1px solid #ddd2bc;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(62, 51, 32, 0.07);
}

.tashan-android-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
}

.tashan-android-heading-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #81704c, #ae8b45);
  border-radius: 12px;
  box-shadow: 0 5px 13px rgba(126, 97, 42, 0.2);
  font-size: 19px;
  font-weight: 800;
}

.tashan-android-heading-copy strong,
.tashan-android-heading-copy small {
  display: block;
}

.tashan-android-heading-copy strong {
  margin-bottom: 2px;
  font-size: 15px;
}

.tashan-android-heading-copy small {
  color: #887d69;
  font-size: 11px;
}

.tashan-android-manual-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
  color: #625433;
  background: #fff8e8;
  border: 1px solid #e7d4a9;
  border-radius: 11px;
  font-size: 11px;
  line-height: 1.45;
}

.tashan-android-manual-note strong {
  flex: 0 0 auto;
  color: #8c6f2e;
}

.tashan-android-step-title {
  margin: 14px 0 8px;
  color: #756950;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.tashan-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tashan-choice-button {
  appearance: none;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 8px 10px;
  overflow: hidden;
  color: #544c3d;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #ddd5c7;
  border-radius: 11px;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  cursor: pointer;
  touch-action: manipulation;
}

.tashan-choice-button[aria-pressed="true"] {
  color: #fff;
  background: #3a3429;
  border-color: #3a3429;
  box-shadow: 0 5px 12px rgba(54, 47, 35, 0.16);
}

.tashan-app-choices {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tashan-protocol-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tashan-android-guide {
  margin-top: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e4ddd0;
  border-radius: 13px;
}

.tashan-android-guide-title {
  display: block;
  margin-bottom: 8px;
  color: #4c4029;
  font-size: 13px;
}

.tashan-android-guide-steps {
  margin: 0;
  padding-left: 21px;
  color: #6d6454;
  font-size: 12px;
  line-height: 1.5;
}

.tashan-android-guide-steps li + li {
  margin-top: 5px;
}

.tashan-android-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.tashan-android-value {
  min-width: 0;
  padding: 10px;
  background: #f0eadf;
  border-radius: 10px;
}

.tashan-android-value small,
.tashan-android-value code {
  display: block;
}

.tashan-android-value small {
  margin-bottom: 4px;
  color: #8b806d;
  font-size: 10px;
}

.tashan-android-value code {
  overflow-wrap: anywhere;
  color: #3b352c;
  font-size: 11px;
}

.tashan-android-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.tashan-android-primary,
.tashan-android-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 9px 13px;
  box-sizing: border-box;
  border-radius: 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  touch-action: manipulation;
}

.tashan-android-primary {
  color: #fff;
  background: linear-gradient(135deg, #c4a35c, #ae8b45);
  border: 1px solid #ae8b45;
  box-shadow: 0 5px 13px rgba(125, 96, 40, 0.2);
}

.tashan-android-secondary {
  color: #5f4b25;
  background: #fff;
  border: 1px solid #d6c59e;
}

.tashan-android-secondary[hidden] {
  display: none !important;
}

.tashan-android-status {
  margin: 11px 2px 0;
  color: #8b8170;
  font-size: 11px;
  line-height: 1.45;
}

.tashan-android-status.is-success {
  color: #47734b;
  font-weight: 650;
}

.tashan-copy-fallback {
  position: fixed;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.tashan-apple-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, #25231f, #3a3429);
  border-radius: 15px;
}

.tashan-apple-copy strong {
  font-size: 15px;
}

.tashan-apple-copy p {
  max-width: 620px;
  margin: 5px 0 0;
  color: #d8d1c4;
  font-size: 12px;
  line-height: 1.45;
}

.tashan-apple-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 0 1 390px;
  min-width: 310px;
  gap: 8px;
}

.tashan-profile-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 52px;
  padding: 9px 12px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #c4a35c, #ae8b45) !important;
  border: 1px solid #ae8b45 !important;
  border-radius: 12px !important;
  box-shadow: 0 5px 13px rgba(125, 96, 40, 0.2);
  white-space: normal;
}

.tashan-apple-logo {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
}

.tashan-profile-labels {
  display: block;
  min-width: 0;
  text-align: left;
}

.tashan-profile-labels strong,
.tashan-profile-labels small {
  display: block;
}

.tashan-profile-labels strong {
  font-size: 12px;
  line-height: 1.2;
}

.tashan-profile-labels small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  line-height: 1.2;
}

.tashan-install-note {
  margin: 12px 2px 0;
  color: #8b8170;
  font-size: 12px;
  line-height: 1.5;
}

.tashan-chrome-notifications {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 15px 17px;
  color: #40382c;
  background: #f7f2e7;
  border: 1px solid #ded2ba;
  border-radius: 14px;
}

.tashan-chrome-copy strong {
  font-size: 14px;
}

.tashan-chrome-copy p {
  margin: 4px 0 0;
  color: #817663;
  font-size: 11px;
  line-height: 1.45;
}

.tashan-chrome-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.tashan-chrome-install,
.tashan-chrome-settings {
  flex: 0 0 auto;
  min-height: 44px;
  margin: 0 !important;
  padding: 9px 14px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #c4a35c, #ae8b45) !important;
  border: 1px solid #ae8b45 !important;
  border-radius: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.tashan-chrome-install {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

.tashan-chrome-settings {
  color: #5f5136 !important;
  background: #fff !important;
  border-color: #d8c9aa !important;
}

@media screen and (max-width: 768px) {
  .tashan-account-setup {
    margin-top: 12px;
  }

  .tashan-account-box > .boxcontent {
    padding: 14px;
  }

  .tashan-account-grid {
    grid-template-columns: 1fr;
  }

  .tashan-account-card {
    padding: 13px;
  }

  .tashan-android-setup {
    padding: 14px;
  }

  .tashan-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tashan-app-choices {
    grid-template-columns: 1fr;
  }

  .tashan-android-values {
    grid-template-columns: 1fr;
  }

  .tashan-android-actions {
    flex-direction: column;
  }

  .tashan-android-primary,
  .tashan-android-secondary {
    width: 100%;
  }

  .tashan-apple-profile {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }

  .tashan-chrome-notifications {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .tashan-chrome-settings {
    width: 100%;
  }

  .tashan-chrome-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .tashan-chrome-install,
  .tashan-chrome-settings {
    justify-content: center;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .tashan-apple-actions {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  .tashan-profile-button {
    display: flex !important;
    width: 100%;
    box-sizing: border-box;
  }

  /* The password page has one primary action: present it as an app action bar. */
  body.tashan-password-page #layout-content > .footer.content-frame-navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box;
    border-top: 1px solid rgba(98, 79, 43, 0.12);
    background: rgba(248, 245, 238, 0.97);
    box-shadow: 0 -7px 22px rgba(47, 39, 27, 0.07);
  }

  body.tashan-password-page #layout-content > .footer.content-frame-navigation::after,
  body.tashan-password-page #layout-content > .footer.content-frame-navigation > .prev,
  body.tashan-password-page #layout-content > .footer.content-frame-navigation > .next {
    display: none !important;
    content: none !important;
  }

  body.tashan-password-page #layout-content > .footer.content-frame-navigation > .buttons {
    display: flex !important;
    flex: 1 1 auto;
    width: 100%;
    max-width: 480px;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body.tashan-password-page #layout-content > .footer.content-frame-navigation > .buttons > .button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 9px 18px !important;
    box-sizing: border-box;
    border: 1px solid #ae8b45 !important;
    border-radius: 13px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #c4a35c, #ae8b45) !important;
    box-shadow: 0 6px 15px rgba(125, 96, 40, 0.22);
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    touch-action: manipulation;
  }

  body.tashan-password-page #layout-content > .footer.content-frame-navigation > .buttons > .button::before {
    content: "✓" !important;
    position: static !important;
    display: inline-block !important;
    flex: 0 0 auto;
    width: auto !important;
    height: auto !important;
    margin: 0 8px 0 0 !important;
    font-family: inherit !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  body.tashan-password-page #layout-content > .footer.content-frame-navigation > .buttons > .button .inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: visible;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }
}

@media screen and (max-width: 768px) {
  html.dark-mode body.tashan-password-page #layout-content > .footer.content-frame-navigation {
    border-top-color: rgba(214, 189, 130, 0.14);
    background: rgba(31, 29, 26, 0.97);
    box-shadow: 0 -7px 22px rgba(0, 0, 0, 0.2);
  }
}

html.dark-mode .tashan-android-setup {
  color: #eee8dc;
  background: linear-gradient(145deg, #28251f, #211f1b);
  border-color: #4b4335;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

html.dark-mode .tashan-android-heading-copy small,
html.dark-mode .tashan-android-step-title,
html.dark-mode .tashan-android-status {
  color: #b9ae9a;
}

html.dark-mode .tashan-choice-button,
html.dark-mode .tashan-android-guide {
  color: #ddd5c7;
  background: #343029;
  border-color: #51493b;
}

html.dark-mode .tashan-choice-button[aria-pressed="true"] {
  color: #201d18;
  background: #d0ae64;
  border-color: #d0ae64;
}

html.dark-mode .tashan-android-guide-title,
html.dark-mode .tashan-android-value code {
  color: #eee7d9;
}

html.dark-mode .tashan-android-guide-steps,
html.dark-mode .tashan-android-value small {
  color: #c1b7a5;
}

html.dark-mode .tashan-android-value {
  background: #2c2923;
}

html.dark-mode .tashan-android-secondary {
  color: #e0c98f;
  background: #29261f;
  border-color: #6b5b38;
}

html.dark-mode .tashan-android-status.is-success {
  color: #9bd0a1;
}

html.dark-mode .tashan-chrome-notifications {
  color: #eee8dc;
  background: #2c2923;
  border-color: #50483a;
}

html.dark-mode .tashan-chrome-copy p {
  color: #bcb19e;
}
