body {
  max-width: 1160px !important;
  margin: auto !important;
  background-color: 0;
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 100%;
}

:root {
  --bs-primary: #1e8b57;
  --bs-primary-rgb: 30, 139, 87;
}

.btn-primary {
  --bs-btn-bg: #1e8b57;
  --bs-btn-border-color: #1e8b57;
  --bs-btn-hover-bg: #18764a;
  --bs-btn-hover-border-color: #18764a;
  --bs-btn-active-bg: #166a42;
  --bs-btn-active-border-color: #166a42;
  --bs-btn-focus-shadow-rgb: 30, 139, 87;
  --bs-btn-disabled-bg: #1e8b57;
  --bs-btn-disabled-border-color: #1e8b57;
}

a {
  color: black;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

hr {
  margin: 5px 0;
}

.alerts-2-step > .container-buttons .btn-primary {
  --bs-btn-hover-bg: #ebebf0;
  --bs-btn-active-bg: #ebebf0;
}
.alerts-2-step > .container-buttons .btn-primary p {
  font-size: 16px !important;
}

.navbar {
  margin-top: 10px;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.words-navbar {
  margin-top: 0;
  padding: 12px 16px;
  background: #ffffff;
}
.words-navbar .navbar-brand {
  font-size: 20px;
  letter-spacing: 2px;
}
.words-navbar .navbar-main {
  gap: 16px;
}
.words-navbar .navbar-links .nav-link {
  font-weight: 600;
  text-decoration: none;
  color: #1f2937;
  padding: 4px 0;
}
.words-navbar .navbar-search {
  flex: 1 1 auto;
}
.words-navbar .navbar-search .input-group {
  background: #f3f4f7;
  border-radius: 14px;
  padding: 2px 8px;
}
.words-navbar .navbar-search .input-group-text {
  border: 0;
  background: transparent;
  color: #8c94a1;
  padding-right: 4px;
}
.words-navbar .navbar-search .form-control {
  border: 0;
  background: transparent;
  box-shadow: none;
  height: 42px;
  padding-left: 6px;
}
.words-navbar .navbar-search .form-control::-moz-placeholder {
  color: #9aa2af;
}
.words-navbar .navbar-search .form-control::placeholder {
  color: #9aa2af;
}
.words-navbar .navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.words-navbar .lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #f1f3f7;
  border-radius: 999px;
}
.words-navbar .lang-link {
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  color: #6b7280;
}
.words-navbar .lang-link.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}
.words-navbar .user-menu-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.words-navbar .user-menu-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.words-navbar .user-menu-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.words-navbar .user-caret {
  font-size: 20px;
  color: #6b7280;
}
.words-navbar .dropdown-menu {
  margin-top: 10px;
}
.words-navbar .user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8edf3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}
.words-navbar .user-avatar .material-symbols-outlined {
  font-size: 20px;
}

.tMainPage {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e7ebf2;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.tMainPage .material-symbols-outlined {
  font-size: 16px;
  color: #7b8391;
}
.tMainPage thead {
  background: #f7f8fb;
}
.tMainPage th {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #8a93a4;
  border-bottom: 1px solid #e7ebf2;
}
.tMainPage td {
  padding: 12px 18px;
  font-size: 15px;
  color: #1f2937;
  border-bottom: 1px solid #eef1f5;
  vertical-align: middle;
}
.tMainPage tbody tr:last-child td {
  border-bottom: 0;
}
.tMainPage tbody tr:hover {
  background: #f7f9fc;
}
.tMainPage th:first-child,
.tMainPage td:first-child {
  width: 44px;
  color: #9aa2af;
}
.tMainPage th:nth-child(2),
.tMainPage td:nth-child(2) {
  width: 22%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}
.tMainPage th:nth-child(3),
.tMainPage td:nth-child(3) {
  width: 22%;
  word-break: break-word;
}
.tMainPage th:nth-child(4),
.tMainPage td:nth-child(4) {
  width: auto;
}
.tMainPage th:nth-child(5),
.tMainPage td:nth-child(5) {
  width: 110px;
  text-align: center;
}
.tMainPage th:nth-child(6),
.tMainPage td:nth-child(6),
.tMainPage th:nth-child(7),
.tMainPage td:nth-child(7) {
  width: 40px;
  text-align: center;
}
.tMainPage th:nth-child(8),
.tMainPage td:nth-child(8) {
  width: 40px;
  text-align: center;
}
.tMainPage td:nth-child(6),
.tMainPage td:nth-child(7),
.tMainPage td:nth-child(8) {
  padding-left: 8px;
  padding-right: 8px;
}
.tMainPage p {
  margin-top: 0;
  margin-bottom: 0;
}

.dictionary-word-cell {
  white-space: nowrap;
}

.dictionary-word-header {
  white-space: nowrap;
}

.dictionary-word-cell .speak-word {
  margin-left: 6px;
}

.dictionary-word-header .speak-all {
  margin-left: 6px;
}

.account-summary {
  padding: 28px 8px 8px;
  margin-bottom: 28px;
}

.account-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.account-summary-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.account-summary-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  color: #374151;
}

.account-identity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.account-name {
  font-size: 16px;
}

.account-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.account-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e8f1f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1f6f6d;
}
.stat-icon .material-symbols-outlined {
  font-size: 26px;
}

.stat-icon-check {
  background: #e6f0ee;
  color: #207a6d;
}

.stat-icon-repeat {
  background: #f7eddc;
  color: #b56a00;
}

.stat-icon-today {
  background: #edf0f5;
  color: #2a3342;
}

.stat-icon-total,
.stat-icon-today-time {
  background: #e6f1f0;
  color: #1b6f6a;
}

.stat-label {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 26px;
  font-weight: 500;
  color: #111827;
}

.user-settings {
  max-width: 720px;
  margin: 40px auto;
}

.user-settings-section {
  margin-bottom: 32px;
}

.user-settings-hint {
  padding-top: 12px;
  font-size: 14px;
  color: #6b7280;
}

.speak-word {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: inherit;
}

.speak-word:focus-visible {
  outline: 2px solid currentColor;
  border-radius: 4px;
}

.speak-word .material-symbols-outlined {
  font-size: 20px;
}

.speak-all {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: inherit;
}

.speak-all:focus-visible {
  outline: 2px solid currentColor;
  border-radius: 4px;
}

.speak-all .material-symbols-outlined {
  font-size: 20px;
}

.header-steps-time {
  width: 400px;
  height: 200px;
  margin: 60px auto;
  border-radius: 18px;
  background: #ff8a1a;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}
.header-steps-time p {
  display: none;
}
.header-steps-time .time-count {
  display: inline;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.header-steps-time.is-visible {
  display: flex;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 1000;
}

.dictionaries {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e7ebf2;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  --stat-col-width: 340px;
}
.dictionaries thead {
  background: #f7f8fb;
}
.dictionaries th {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #8a93a4;
  border-bottom: 1px solid #e7ebf2;
}
.dictionaries th:nth-child(3) {
  color: #1e8b57;
  text-align: center;
}
.dictionaries td {
  padding: 12px 18px;
  font-size: 15px;
  color: #1f2937;
  border-bottom: 1px solid #eef1f5;
  vertical-align: middle;
}
.dictionaries tbody tr:last-child td {
  border-bottom: 0;
}
.dictionaries tbody tr:hover {
  background: #f7f9fc;
}
.dictionaries td:first-child,
.dictionaries th:first-child {
  width: 44px;
  color: #9aa2af;
}
.dictionaries th:nth-child(2),
.dictionaries td:nth-child(2) {
  width: auto;
}
.dictionaries th:nth-child(3),
.dictionaries td:nth-child(3) {
  width: var(--stat-col-width);
}
.dictionaries td:nth-child(3) {
  text-align: center;
}
.dictionaries a {
  color: inherit;
  text-decoration: none;
}
.dictionaries a:hover {
  text-decoration: underline;
}
.dictionaries .dictionary-title-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dictionaries .dictionary-title-main {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dictionaries .dictionary-title-link {
  min-width: 0;
  overflow-wrap: anywhere;
}
.dictionaries .dictionary-edit-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.dictionaries .dictionary-lang-badge {
  display: inline-flex;
  align-items: center;
  width: -moz-fit-content;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecf0f7;
  color: #2f67b0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dictionaries .material-symbols-outlined {
  font-size: 16px;
  color: #7b8391;
}

.dictionaries-page-title {
  font-weight: 500;
}

.dictionary-language-panel {
  margin: 18px 0 14px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #e7ebf2;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.dictionary-alert {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
}

.dictionary-alert--error {
  background: #fff1f1;
  color: #8f2e2e;
  border-color: #f1cccc;
}

.dictionary-alert--ok {
  background: #eefbf4;
  color: #1f6b40;
  border-color: #cfeedd;
}

.dictionary-language-panel__title {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #5e6776;
}

.dictionary-language-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dictionary-language-panel__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #40495a;
  font-size: 14px;
  font-weight: 500;
}

.dictionary-language-select {
  height: 44px;
  border: 1px solid #d7deea;
  border-radius: 12px;
  background: #f9fbff;
  color: #1f2937;
  padding: 0 12px;
  outline: none;
}

.dictionary-language-select:focus {
  border-color: #1e8b57;
  box-shadow: 0 0 0 3px rgba(30, 139, 87, 0.12);
}

.add-dictionary-page {
  max-width: 980px;
  padding-top: 26px;
}

.add-dictionary-page .form-floating {
  margin-bottom: 12px;
}

.add-dictionary-alert {
  margin-bottom: 12px;
}

.add-dictionary-language-panel {
  margin-top: 10px;
  margin-bottom: 14px;
}

.dictionary-language-toolbar {
  width: min(100%, (200% - 16px) / 3);
  margin: 10px 0 14px auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.dictionary-language-toolbar.is-collapsible.is-collapsed {
  display: none;
}

.dictionary-language-toolbar__inner {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  margin-top: 6px;
}

.dictionary-language-toolbar__form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
  flex: 1 1 auto;
}

.dictionary-language-toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #4b5563;
  flex: 1 1 0;
  min-width: 0;
}

.dictionary-language-toolbar__field .dictionary-language-select {
  min-width: 0;
  width: 100%;
  height: 40px;
}

.dictionary-language-toolbar__save .btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 600;
}

.dictionary-language-toolbar__notice {
  margin: 0;
  width: 100%;
}

.dictionaries-workspace {
  margin-top: 12px;
  border: 1px dashed #cdd7e6;
  border-radius: 16px;
  background: #f8fafd;
  min-height: 240px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dictionaries-workspace.is-ready {
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 0;
  padding: 0;
  display: block;
  text-align: left;
}

.dictionaries-workspace__content {
  width: 100%;
}

.dictionaries-workspace__locked {
  max-width: 560px;
  color: #606a7a;
  font-size: 16px;
}

.dictionaries-workspace__empty {
  max-width: 640px;
}

.dictionaries-workspace__pair-label {
  margin-bottom: 10px;
  color: #6f7a8d;
  font-size: 14px;
}

.dictionaries-workspace__pair-label span {
  color: #1f2937;
  font-weight: 600;
}

.dictionaries-row-meta {
  margin-top: 4px;
  color: #6f7a8d;
  font-size: 13px;
}

.dictionaries-preview-link {
  color: #1f2937;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.dictionaries-preview-link:hover {
  color: #0f766e;
  text-decoration: none;
  border-bottom-color: #0f766e;
}

.dictionaries-preview-link.is-active {
  color: #0f766e;
  font-weight: 600;
  border-bottom-color: #0f766e;
}

.dictionaries-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dictionaries-add-form {
  margin: 0;
}

.dictionaries-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dictionary-preview {
  margin-top: 16px;
  border: 1px solid #e7ebf2;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.dictionary-preview__header {
  padding: 14px 16px;
  border-bottom: 1px solid #eef1f5;
}

.dictionary-preview__title {
  margin: 0;
  font-size: 18px;
  color: #1f2937;
}

.dictionary-preview__pair {
  margin: 4px 0 0;
  color: #6f7a8d;
  font-size: 13px;
}

.dictionary-preview__empty {
  margin: 0;
  padding: 16px;
  color: #6f7a8d;
}

.dictionary-preview-table {
  margin-bottom: 0;
}

.dictionary-preview-table th {
  font-size: 13px;
  font-weight: 600;
  color: #8a93a4;
  background: #f7f8fb;
}

.dictionary-preview-table td {
  color: #1f2937;
  font-size: 14px;
}

.dictionaries-workspace__title {
  margin: 0 0 10px;
  color: #1f2937;
  font-size: 24px;
  font-weight: 700;
}

.dictionaries-workspace__subtitle {
  margin: 0;
  color: #576073;
}

.admin-login {
  max-width: 520px;
  margin: 24px auto 0;
  padding: 24px;
  border: 1px solid #e7ebf2;
  border-radius: 16px;
  background: #ffffff;
}

.admin-login__title {
  margin: 0 0 8px;
  font-size: 28px;
}

.admin-login__subtitle {
  margin-bottom: 18px;
  color: #6b7280;
}

.admin-panel {
  margin-top: 18px;
}

.admin-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-panel__header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-panel__header-form {
  margin: 0;
}

.admin-panel__title {
  margin: 0;
  font-size: 26px;
}

.admin-panel__subtitle {
  margin: 6px 0 0;
  color: #6b7280;
}

.admin-alert {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
}

.admin-alert--error {
  background: #fff1f1;
  color: #8f2e2e;
  border: 1px solid #f1cccc;
}

.admin-alert--ok {
  background: #eefbf4;
  color: #1f6b40;
  border: 1px solid #cfeedd;
}

.admin-table {
  table-layout: auto;
}

.admin-table th:nth-child(3) {
  color: #8a93a4;
  text-align: center;
  vertical-align: top;
}

.admin-target-filter-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.admin-target-filter-label {
  display: block;
}

.admin-target-filter {
  width: auto;
  min-width: 7ch;
  max-width: none;
  height: 36px;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  background: #ffffff;
  color: #1f2937;
  padding: 0 32px 0 12px;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%2364728b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-size: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.admin-target-filter:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6) {
  width: 560px;
  text-align: left;
  white-space: nowrap;
}

.admin-actions-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.admin-actions-header__label {
  display: inline-block;
}

.admin-bulk-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 526px;
}

.admin-bulk-actions__spacer {
  display: block;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.admin-actions__form {
  margin: 0;
}

.admin-actions .btn,
.admin-bulk-actions .btn {
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.navbar .navbar-expand-lg .bg-light {
  -bs-bg-opacity: none !important;
  background-color: none !important;
}

body > table > tbody > tr:nth-child(1) > th {
  width: 10px;
}

div.container-fluid {
  padding-left: 0px !important;
}

.main-page {
  position: relative;
  margin-top: 12px;
  padding-bottom: 140px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 65%, #ffffff 100%);
}

.main-page::after {
  content: none;
}

.main-hero {
  position: relative;
  margin-top: 16px;
  padding: 32px 36px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  z-index: 1;
}

.main-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 20%, rgba(232, 237, 243, 0.85), transparent 58%), radial-gradient(circle at 100% 60%, rgba(62, 161, 106, 0.35), transparent 58%);
  pointer-events: none;
}

.main-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -55%;
  height: 140%;
  border-radius: 50%;
  background: radial-gradient(circle at 65% 30%, rgba(62, 161, 106, 0.35), rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
}

.main-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 500px);
  gap: 28px;
  align-items: center;
}

.main-hero__content {
  position: relative;
  z-index: 2;
}

.main-hero__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.22;
  color: #1f2937;
  margin-bottom: 16px;
}

.main-hero__subtitle {
  font-size: 16px;
  color: #525b6a;
  margin-bottom: 22px;
  max-width: 420px;
}

.main-hero__cta {
  background: linear-gradient(135deg, #49b06a, #2b8d52);
  color: #ffffff;
  border: 0;
  border-radius: 14px;
  padding: 12px 34px;
  min-width: 260px;
  box-shadow: 0 12px 24px rgba(43, 141, 82, 0.28);
}

.main-hero__visual {
  position: relative;
  z-index: 2;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.15) 55%, rgba(255, 255, 255, 0) 70%), linear-gradient(160deg, #f3f6fb, #e9f2ee);
}

.main-hero__visual img {
  width: 100%;
  height: 360px;
  border-radius: 26px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 35%;
     object-position: center 35%;
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.16);
}

.main-benefits {
  position: relative;
  margin-top: 26px;
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
  z-index: 1;
}

.main-benefits__title {
  font-size: 22px;
  font-weight: 500;
  color: #2b2f36;
  margin-bottom: 18px;
  line-height: 1.35;
}

.main-benefits__title strong {
  font-weight: 700;
}

.main-benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  background: #f7f8fb;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: inset 0 0 0 1px #edf1f6, 0 12px 24px rgba(15, 23, 42, 0.06);
}

.benefit-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.benefit-card li {
  position: relative;
  padding-left: 34px;
  color: #2b2f36;
  font-size: 16px;
  line-height: 1.4;
}

.benefit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%232f9b5b'/%3E%3Cpath d='M7.2 12.5l2.9 2.9 6.7-6.7' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.main-quick-links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  margin: 26px 8px 0;
  z-index: 1;
}

.main-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
}

.main-quick-links a:hover {
  color: #1f6f47;
}

.main-quick-links .material-symbols-outlined {
  font-size: 20px;
  color: #2f9b5b;
}

.main-page-first-slide {
  padding-top: 40px;
  padding-bottom: 100px;
  max-width: 900px;
}
.main-page-first-slide h2 {
  font-weight: 700;
  font-size: 2.5rem;
}
.main-page-first-slide h5 {
  font-weight: 300;
}
.main-page-first-slide p {
  font-size: 20px;
  font-weight: 300;
}

.btn-first-slide {
  margin-top: 35px;
  font-size: 14px;
  width: 100%;
}

div.audio-controls-mp > audio {
  width: 90%;
}

.main-page-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  min-height: 600px;
  border-radius: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5)), url(/html/img/words-mp.png);
}
.main-page-slide .btn {
  margin-top: 15px;
  width: 200px;
}
.main-page-slide .btn a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 1px;
}

.main-page-slide-text {
  padding: 360px 0 10px 0;
  width: 600px;
  text-align: center;
  margin: auto;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.mp-text {
  margin-bottom: 50px;
}

.mp-text-1,
.mp-text-2 {
  display: inline-block;
  min-width: 400px;
}

.mp-text-2 {
  padding-left: 25px;
}

.main-page-slide-text p:nth-of-type(2) {
  width: 600px;
  text-align: center;
  margin: auto;
  font-size: 18px;
}

.video-link {
  display: inline-block;
  font-size: 24px;
  padding-right: 25px;
}
.video-link p {
  display: inline-block;
}
.video-link a {
  text-decoration: none;
}

.mp-second-screen,
.mp-second-screen-2 {
  margin-top: 35px;
  position: relative;
  padding-bottom: 56.25%; /* Set the aspect ratio to 16:9 */
  height: 0;
  overflow: hidden;
}

.mp-second-screen iframe,
.mp-second-screen-2 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.mp-third-screen {
  width: 90%;
  max-width: 800px;
}

.WordsToRepeat {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 7px;
  background: #e8f6ee;
  font-weight: 600;
  font-size: 13px;
  color: #1e8b57;
  margin: 0;
  line-height: 1;
}

.stat-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  width: min(100%, var(--stat-col-width));
  margin: 0 auto;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.stat-left {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.stat-label {
  font-size: 13px;
  color: #9aa2af;
}

.stat-count {
  color: #1f2937;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
}

.stat-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e9edf2;
  overflow: hidden;
}

.stat-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #59a36f;
  transition: width 0.4s ease;
}

.personalacountpage .edit-username-link .material-symbols-outlined {
  font-size: 14px;
}

.navbar-toggler {
  border: none;
  border-radius: 0;
}

.navbar-toggler-icon {
  background-position-x: right;
}

.navbar-toggler:focus {
  outline: 0;
  box-shadow: 0 0 0;
}

.navbar-nav {
  align-items: end;
  padding-right: 15px;
}

.container-fluid {
  --bs-gutter-x: 0rem;
}

.nav-link {
  color: #000000;
}

.video-praktik-1,
.video-praktik-2 {
  padding: 20px 0;
}

.alerts-first-step {
  text-align: center;
  display: grid;
  grid-template-columns: minmax(0, 500px);
  grid-template-rows: minmax(46px, 210px) 100px 100px auto auto auto;
  margin-top: 30px;
  justify-content: center;
  position: relative;
}

.notes-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  transition: color 0.2s ease;
}
.notes-trigger.has-notes {
  color: #1e8b57;
}
.notes-trigger .material-symbols-outlined {
  font-size: 30px;
  line-height: 1;
}

.firststep-top-controls {
  grid-row: 1;
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  justify-self: end;
  align-self: end;
  z-index: 3;
  margin-right: 6px;
  margin-bottom: 10px;
}
.firststep-top-controls .speak-word,
.firststep-top-controls .notes-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
}
.firststep-top-controls .notes-trigger.has-notes {
  color: #1e8b57;
}
.firststep-top-controls .material-symbols-outlined {
  font-size: 24px;
  line-height: 1;
}
.firststep-top-controls .firststep-auto-pronounce-toggle.is-off {
  color: #a8afbd;
}

.notes-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(148, 153, 163, 0.78);
}

.notes-modal-window {
  width: min(620px, 100vw - 64px);
  max-height: calc(100vh - 180px);
  overflow: visible;
  border-radius: 20px;
  background: #f3f4f6;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.22);
  padding: 14px;
  position: fixed;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
}

.notes-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -36px;
  right: 8px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.notes-modal-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  padding-right: 2px;
}

.notes-modal-editor {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.notes-modal-input {
  width: 100%;
  min-height: 330px;
  border: none;
  border-radius: 12px;
  resize: vertical;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.notes-modal-input:focus {
  outline: none;
  border-color: #c4cad4;
  box-shadow: none;
}

.notes-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
}

.notes-modal-save {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background: #25935a !important;
  border-color: #25935a !important;
  color: #ffffff !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  padding: 0 14px;
}
.notes-modal-save:hover, .notes-modal-save:focus, .notes-modal-save:active {
  background: #1f7f4d !important;
  border-color: #1f7f4d !important;
}

.notes-modal-cancel {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background: #e5e7eb !important;
  border-color: #cfd3db !important;
  color: #374151 !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  padding: 0 14px;
  border: none;
}
.notes-modal-cancel:hover, .notes-modal-cancel:focus, .notes-modal-cancel:active {
  background: #dce0e7 !important;
  border-color: #c5cbd5 !important;
}

.notes-modal-status {
  grid-column: 1/-1;
  display: none;
  margin: 2px 0 0;
  color: #15803d;
  font-size: 14px;
  text-align: center;
}

.notes-modal-status.is-visible {
  display: block;
}

.notes-modal-status.is-error {
  color: #b91c1c;
}

@media (max-width: 768px) {
  .notes-modal-window {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 16px;
    padding: 14px;
    top: 50%;
  }
  .notes-modal-body {
    gap: 12px;
  }
  .notes-modal-editor {
    border-radius: 14px;
    padding: 10px;
  }
  .notes-modal-input {
    min-height: 210px;
    border-width: 3px;
    border-radius: 14px;
    padding: 12px;
    font-size: 18px;
  }
  .notes-modal-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .notes-modal-save {
    height: 48px;
    border-radius: 12px;
    font-size: 17px;
  }
  .notes-modal-cancel {
    height: 48px;
    border-radius: 12px;
    font-size: 18px;
  }
  .notes-modal-status {
    margin-top: 2px;
    font-size: 14px;
  }
}
.alert-secondary-fstep-word {
  grid-row: 2;
  grid-column: 1;
  text-align: center;
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: center;
  position: relative;
  background-color: #ebebf0;
}
.alert-secondary-fstep-word p {
  flex: 1;
  font-size: 18px;
  text-align: left;
  font-weight: 700;
  margin: auto 0;
  line-height: 1;
  padding: 0 10px;
}
.alert-secondary-fstep-word {
  margin-bottom: 16px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.alert-secondary-fstep-translate {
  grid-row: 3;
  grid-column: 1;
  text-align: left;
  width: 500px;
  display: flex;
  align-items: center;
  justify-self: center;
  background-color: #ebebf0;
}
.alert-secondary-fstep-translate p {
  padding: 0 10px;
  line-height: 1;
  width: 90%;
  margin: auto 0;
  font-size: 18px;
}
.alert-secondary-fstep-translate {
  margin-bottom: 16px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.btn-next {
  display: inline-block;
  width: 500px;
  grid-row: 4;
  grid-column: 1;
  justify-self: center;
  margin-top: 12px;
  margin-bottom: 12px;
  height: 56px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.anki-buttons {
  grid-row: 5;
  grid-column: 1;
  width: 500px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  justify-self: center;
}
.anki-buttons .btn {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  background: #f7f8fa;
  border-color: #d9dee6;
  color: #1f2937;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  font-size: 14px;
  line-height: 1;
}

.firststep-nav-arrows {
  grid-row: 6;
  grid-column: 1;
  width: 500px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-self: center;
  margin-top: 10px;
}

.anki-buttons .btn.is-selected {
  border-color: #1e8b57;
  color: #1e8b57;
  box-shadow: 0 6px 14px rgba(30, 139, 87, 0.2);
}

.editword-repeat-rating-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.editword-repeat-rating-buttons .btn {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  background: #f7f8fa;
  border-color: #d9dee6;
  color: #1f2937;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  font-size: 14px;
  line-height: 1;
}

.btn-finish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  grid-row: 6;
  grid-column: 1;
  justify-self: end;
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid #e4e7ec;
  background: #f7f8fa;
  color: #1f2937;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}
.btn-finish .material-symbols-outlined {
  font-size: 22px;
}

.btn-finish:hover {
  background: #eef1f5;
  color: #111827;
}

.word-image {
  grid-row: 1;
  grid-column: 1;
  pointer-events: none;
}
.word-image img {
  max-width: 400px;
  border-radius: 10px;
  max-height: 200px;
}

.alerts-second-step {
  text-align: center;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 100px 100px 50px;
  margin-top: 100px;
}

.alert-secondary-second-step-word {
  grid-row: 1;
  grid-column: 1;
  text-align: center;
  width: 400px;
  display: inline-block;
  justify-self: center;
  background-color: #ebebf0;
}
.alert-secondary-second-step-word p {
  padding-top: 30px;
  font-size: 24px;
  text-align: center;
  font-weight: 700;
}
.alert-secondary-second-step-word {
  margin-bottom: 10px;
  border-radius: 10px;
}

.alert-secondary-second-step-translate {
  grid-row: 2;
  grid-column: 1;
  text-align: center;
  width: 300px;
  display: inline-block;
  justify-self: center;
  background-color: #ebebf0;
}
.alert-secondary-second-step-translate p {
  padding-top: 35px;
}
.alert-secondary-second-step-translate {
  margin-bottom: 10px;
  border-radius: 10px;
}

.btn-no {
  display: inline-block;
  width: 148px;
  height: 50px;
  grid-row: 3;
  grid-column: 1;
  justify-self: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.btn-yes {
  display: inline-block;
  width: 148px;
  height: 50px;
  grid-row: 3;
  grid-column: 2;
  justify-self: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.button-next-link {
  color: #1f2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid #e4e7ec;
  background: #f7f8fa;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.button-next {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.button-next-link:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.button-next-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.button-next-link:hover {
  background: #eef1f5;
  color: #111827;
}

.button-next-link .material-symbols-outlined {
  font-size: 24px;
}

.alerts-3-step,
.alerts-2-step {
  text-align: left;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto 120px auto;
  margin-top: 50px;
  row-gap: 10px;
}
.alerts-3-step p,
.alerts-2-step p {
  line-height: 1;
  text-align: left;
}

.step-choice-hint {
  grid-row: 1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 6px;
  color: #111827;
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
}

.alert-3-step-word,
.alert-2-step-word {
  grid-row: 2;
  grid-column: 1;
  text-align: left;
  display: flex;
  align-items: center;
  justify-self: center;
  background-color: #ebebf0;
}
.alert-3-step-word p,
.alert-2-step-word p {
  font-size: 24px;
  text-align: left;
  font-weight: 700;
  margin: auto 0;
  padding: 0 10px;
}
.alert-3-step-word,
.alert-2-step-word {
  border-radius: 10px;
  width: 500px;
}

.container-buttons {
  grid-row: 3;
  justify-self: center;
}

.container-buttons .btn {
  margin-bottom: 10px;
}
.container-buttons .btn p {
  margin-bottom: 0rem;
  font-size: 18px;
}
.container-buttons .btn a:hover {
  color: white;
}

.container-buttons .btn-primary {
  --bs-btn-hover-bg: #d3e0fc;
  --bs-btn-active-bg: #d3e0fc;
}

.buttons-variant {
  width: 500px;
  height: 60px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  background-color: #ebebf0;
  color: #000000;
  --bs-btn-border-color: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.btn-no:hover,
.btn-yes:hover,
.buttons-variant:hover {
  box-shadow: 0 9px 26px rgba(15, 23, 42, 0.09);
  background-color: #eeeff4;
}

.input-4-step {
  width: 500px;
  grid-row: 2;
  grid-column: 1;
}
.input-4-step textarea {
  height: 80px;
}

#input-4-step-check {
  font-size: 18px;
  line-height: 1.2 !important;
}

.alerts-4-step {
  text-align: center;
  justify-content: center;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 120px 80px 10px 60px 60px 50px;
  margin-top: 100px;
  row-gap: 10px;
  justify-items: center;
}

.alerts-4-step .button-next {
  grid-row: 6;
  grid-column: 1;
  width: 100%;
  max-width: 500px;
  margin-top: 0;
}

.button-group {
  grid-row: 4;
  grid-column: 1;
}

.button-group {
  display: flex; /* Use flexbox for alignment */
  justify-content: space-between; /* Space buttons evenly */
  margin-top: 10px; /* Add space between the textarea and the buttons */
}

.button-group button {
  height: 2px; /* Set button height to 2px */
  flex: 1; /* Ensure equal width for both buttons */
  border: none; /* Remove border */
  cursor: pointer; /* Change cursor to pointer */
  margin-right: 5px; /* Add spacing between buttons */
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.button-group button:last-child {
  margin-right: 0; /* Remove margin for the last button */
}

.button-group .btn-copy-text {
  background-color: green; /* Set green background */
}

.button-group .btn-copy-text:hover {
  background-color: darkgreen; /* Darker green on hover */
}

.button-group .btn-paste-text {
  background-color: blue; /* Set blue background */
}

.button-group .btn-paste-text:hover {
  background-color: darkblue; /* Darker blue on hover */
}

.btn-copy-text,
.btn-paste-text {
  position: relative;
  z-index: 1000; /* Ensure they are on top */
  pointer-events: auto;
}

.right-answer {
  width: 100%;
  max-width: 500px;
  grid-row: 5;
  grid-column: 1;
  text-align: left;
  line-height: 1;
  padding: 0 10px;
  background-color: #ebebf0;
  border-radius: 5px;
  display: flex;
  align-items: baseline; /* Align items to the baseline */
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.right-answer p {
  margin: auto 0;
  margin-top: auto;
  margin-bottom: auto;
  vertical-align: baseline;
  align-items: baseline; /* Align text to the baseline within its line */
}

.answer-check {
  width: 100%;
  max-width: 500px;
  grid-row: 4;
  grid-column: 1;
  text-align: left;
  padding: 0 10px;
  border-radius: 5px;
  line-height: 1;
  display: flex;
  background: #ebebf0; /* Initially, no background */
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
.answer-check p {
  margin: auto 0;
}

.button:active + .answer-check,
.button:focus + .answer-check {
  background-color: #eeeecc !important; /* Force apply */
}

.alert-secondary-4step-word {
  grid-row: 1;
  grid-column: 1;
  text-align: center;
  width: 500px;
  display: flex;
  align-items: center;
  justify-self: center;
  background-color: #ebebf0;
}
.alert-secondary-4step-word p {
  font-size: 18px;
  text-align: center;
  font-weight: 700;
  margin: auto 0;
  line-height: 1;
  padding: 0 10px;
  text-align: left;
}
.alert-secondary-4step-word {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.btn-next-4 {
  display: inline-block;
  width: 400px;
  grid-row: 3;
  grid-column: 1;
  justify-self: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.form-signin-addwords {
  max-width: 800px !important;
  padding: 15px;
  padding-top: 100px;
}
.form-signin-addwords textarea {
  color: black !important;
}

.form-signin {
  width: 95% !important;
  padding: 15px;
  padding-top: 100px;
}

.alert-login {
  padding: auto;
  width: 340px;
  padding: 10px 25px 10px 25px;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type=email] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type=password] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

footer {
  padding-top: 20px;
  padding-bottom: 50px;
  text-align: center;
  margin-top: auto;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type=email] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type=password] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .form-signin.login-page,
  .form-signin.register-page {
    max-width: 400px !important;
  }
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
  .take-list-words {
    display: inline-block;
  }
}
.take-list-words {
  display: inline-block;
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1), inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.logout {
  width: 200px;
  margin-top: 100px;
}
.logout a {
  color: white;
  text-decoration: none;
}

.add-dictionary-button {
  padding: 9px 0;
  margin-top: 10px;
  min-width: 295px;
}
.add-dictionary-button a {
  color: white;
  text-decoration: none;
}

.add-dictionary-button-personal-acc {
  min-width: 295px;
  height: 50px;
  width: 100%;
}
.add-dictionary-button-personal-acc a {
  color: white;
  text-decoration: none;
}

.user-info {
  background-color: #f0f8ff;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
  display: block;
}
.user-info p {
  font-weight: 600;
  display: inline;
}

.dictionary-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 10px;
}
.dictionary-stats .account-stat-card {
  gap: 12px;
  padding: 14px 16px;
}
.dictionary-stats .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.dictionary-stats .stat-icon .material-symbols-outlined {
  font-size: 22px;
}
.dictionary-stats .stat-label {
  margin-bottom: 2px;
}
.dictionary-stats .stat-value {
  font-size: 22px;
}

.dictionary-language-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.dictionary-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 24px;
  font-weight: 500;
  color: #111827;
  min-width: 0;
}

.dictionary-language-toggle {
  border: 0;
  border-radius: 999px;
  background: #eef1f6;
  color: #1f2937;
  height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.dictionary-language-toggle:hover {
  background: #e6ebf3;
}

.dictionary-language-toggle:focus-visible {
  outline: 2px solid rgba(30, 139, 87, 0.45);
  outline-offset: 2px;
}

.dictionary-language-toggle.is-open {
  background: #e1e9f8;
}

.dictionary-language-toggle__pair {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.dictionary-language-toggle__arrow {
  color: #6b7280;
  font-weight: 500;
}

.dictionary-language-toggle .material-symbols-outlined {
  font-size: 18px;
  color: #374151;
}

.breadcrumbs-link {
  text-decoration: none;
  color: inherit;
}

.breadcrumbs-root {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.breadcrumbs-sep {
  color: #9aa2af;
  font-size: 18px;
}

.breadcrumbs-current {
  color: #1f2937;
  font-size: 16px;
}

.personalacountpage .edit-username-link .material-symbols-outlined {
  font-size: 14px;
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 22px 0 18px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: 100%;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1 1 auto;
  background: #f2f1f4;
  padding: 10px 12px;
  border-radius: 16px;
  width: auto;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.button-row-secondary {
  flex: 0 0 auto;
  padding: 10px 12px;
  background: #f2f1f4;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.account-action-btn {
  min-width: 0;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  padding: 0 18px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  flex: 1 1 0;
  gap: 8px;
}

.account-action-primary {
  flex: 1.4 1 0;
}

.button-row .btn-success {
  background: #1e8b57;
  border-color: #1e8b57;
  box-shadow: 0 6px 14px rgba(30, 139, 87, 0.28);
}

.button-row .btn-warning {
  background: #f7f8fa;
  border-color: #d9dee6;
  color: #1f2937;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.button-row .btn-warning:hover {
  background: #eef1f5;
  color: #1f2937;
}

.add-dictionary-inline {
  background: #ffffff;
  color: #111827;
  text-decoration: none;
  border: 1px solid #d9dee6;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  min-width: 240px;
  gap: 8px;
}

.add-dictionary-inline:hover {
  background: #f5f6f8;
  color: #111827;
}

@media (max-width: 991.98px) {
  .words-navbar {
    padding: 10px 12px;
  }
  .words-navbar .navbar-main {
    gap: 12px;
  }
  .words-navbar .navbar-links {
    gap: 12px;
  }
  .words-navbar .navbar-actions {
    justify-content: space-between;
  }
  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dictionary-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-stat-card {
    padding: 14px 16px;
  }
  .account-action-btn {
    min-width: 190px;
  }
}
@media (max-width: 575.98px) {
  .account-stats {
    grid-template-columns: 1fr;
  }
  .dictionary-stats {
    grid-template-columns: 1fr;
  }
  .stat-value {
    font-size: 22px;
  }
}
.countLines {
  counter-reset: trCount;
  overflow: auto;
  margin-top: 10px;
}

.countLines tr td:first-child:before {
  position: relative;
  counter-increment: trCount;
  content: counter(trCount);
  color: #1d1f21;
}

.w3 {
  width: 3%;
}

.dictionary-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dictionary-table-wrap .tMainPage {
  min-width: 980px;
  table-layout: auto;
}
.dictionary-table-wrap .tMainPage th:nth-child(2),
.dictionary-table-wrap .tMainPage td:nth-child(2) {
  min-width: 210px;
  width: 210px;
  word-break: normal;
  overflow-wrap: break-word;
}
.dictionary-table-wrap .tMainPage th:nth-child(3),
.dictionary-table-wrap .tMainPage td:nth-child(3) {
  min-width: 210px;
  width: 210px;
  word-break: normal;
  overflow-wrap: break-word;
}
.dictionary-table-wrap .tMainPage th:nth-child(4),
.dictionary-table-wrap .tMainPage td:nth-child(4) {
  min-width: 280px;
  width: 280px;
  word-break: normal;
  overflow-wrap: break-word;
}
.dictionary-table-wrap .tMainPage th:nth-child(5),
.dictionary-table-wrap .tMainPage td:nth-child(5) {
  min-width: 110px;
  width: 110px;
}
.dictionary-table-wrap .tMainPage th:nth-child(6),
.dictionary-table-wrap .tMainPage td:nth-child(6),
.dictionary-table-wrap .tMainPage th:nth-child(7),
.dictionary-table-wrap .tMainPage td:nth-child(7),
.dictionary-table-wrap .tMainPage th:nth-child(8),
.dictionary-table-wrap .tMainPage td:nth-child(8) {
  min-width: 44px;
  width: 44px;
}

.chat-gtp-btn {
  display: inline-block;
}
.chat-gtp-btn .btn {
  min-width: 220px;
}

.line-buttons-all {
  display: inline-block;
}

.line-buttons-test {
  display: inline-block;
}

.btn-test {
  display: inline-block;
  border: none;
  margin-top: 10px;
  width: 145px;
  background-color: darkorange;
  padding: 9px 0;
}

.btn-test:hover {
  background-color: darkgreen;
}

.delete-dictionary-btn {
  background-color: red;
  border-color: red;
  width: 220px;
}

.delete-dictionary-btn-container {
  margin-top: 20px;
  width: 100%;
  text-align: right;
}

.dictionary-delete-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.48);
}

.dictionary-delete-modal-overlay[hidden] {
  display: none !important;
}

.dictionary-delete-modal-overlay.is-open {
  display: flex;
}

.dictionary-delete-modal-window {
  width: min(540px, 100vw - 24px);
  border-radius: 18px;
  background: #f3f4f6;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.24);
  border: 1px solid #e0e5ed;
  padding: 18px;
}

.dictionary-delete-modal-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2937;
}

.dictionary-delete-modal-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: #1f2937;
}

.dictionary-delete-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.dictionary-delete-modal-actions form {
  margin: 0;
}

.dictionary-delete-modal-cancel {
  min-width: 140px;
  height: 44px;
  border-radius: 10px;
  background: #e5e7eb;
  border: 1px solid #cfd3db;
  color: #374151;
}

.dictionary-delete-modal-cancel:hover {
  background: #dce0e7;
  border-color: #c5cbd5;
}

.dictionary-delete-modal-confirm {
  min-width: 180px;
  height: 44px;
}

.text-right {
  text-align: right;
  margin-bottom: 20px;
  display: inline-block;
  float: right;
}
.text-right .btn {
  min-width: 220px;
}

.btn-repeat {
  background-color: green;
  padding: 9px 50px;
  border: none;
  min-width: 325px;
}

.error-message {
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
  background-color: red;
  padding: 15px 10px 1px 20px;
  color: white;
  border-radius: 10px;
  margin-bottom: 25px;
}

.login-page .login-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.login-page .h3.fw-normal {
  font-weight: 700 !important;
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0;
}
.login-page .login-register-link {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
  color: #1f2937;
}
.login-page .login-register-link:hover,
.login-page .login-register-link:focus-visible {
  text-decoration: none;
  color: #1f2937;
}
.login-page form > div:nth-child(2) {
  padding-bottom: 10px;
}
.login-page input#password {
  border-radius: 5px;
}
.login-page .btn.btn-lg.btn-primary {
  font-size: 16px;
  padding: 12px;
}

.forgotpw-link {
  padding-top: 10px;
  text-align: center;
  font-size: 14px;
}

.register-page .register-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.register-page .h3.fw-normal {
  font-weight: 700 !important;
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0;
}
.register-page .register-login-link {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
  color: #1f2937;
}
.register-page .register-login-link:hover,
.register-page .register-login-link:focus-visible {
  text-decoration: none;
  color: #1f2937;
}
.register-page form > div:nth-child(2),
.register-page form > div:nth-child(3) {
  padding-bottom: 10px;
}
.register-page input#password.form-control {
  border-radius: 5px;
}
.register-page .btn.btn-lg.btn-primary {
  font-size: 16px;
  padding: 12px;
}

.registerauth-page {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #eceef2;
}

.registerauth-card {
  width: min(540px, 100vw - 48px);
  border: 1px solid #e2e7ef;
  border-radius: 24px;
  background: #f8f9fb;
  padding: 48px 56px 54px;
  text-align: center;
}

.registerauth-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: #deece7;
  color: #1bb07f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.registerauth-icon .material-symbols-outlined {
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
}

.registerauth-title {
  margin: 0 0 16px;
  color: #101828;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
}

.registerauth-message {
  margin: 0;
  color: #61708a;
  font-size: 22px;
  line-height: 1.4;
}
.registerauth-message strong {
  color: #172036;
  font-weight: 700;
}

.registerauth-cta {
  margin: 34px auto 0;
  width: 100%;
  max-width: 420px;
  height: 64px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #08153f;
  border: 2px solid #223055;
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7), 0 0 1px rgba(0, 0, 0, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 4px rgba(0, 0, 0, 0.16);
}

.registerauth-cta:hover,
.registerauth-cta:focus-visible {
  color: #ffffff;
  background: #071238;
  border-color: #1c2a4a;
}

@media (max-width: 768px) {
  .registerauth-page {
    align-items: flex-end;
    padding: 10px 0 0;
  }
  .registerauth-card {
    width: calc(100vw - 20px);
    min-height: 70vh;
    border-radius: 44px;
    border-color: #d6dde9;
    padding: 42px 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .registerauth-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 32px;
  }
  .registerauth-icon .material-symbols-outlined {
    font-size: 44px;
  }
  .registerauth-title {
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .registerauth-message {
    font-size: 18px;
    line-height: 1.5;
  }
  .registerauth-cta {
    max-width: none;
    height: 58px;
    margin-top: 44px;
    font-size: 18px;
  }
}
.forgot-password {
  display: block;
  text-align: center;
  padding-top: 50px;
}
.forgot-password input#email {
  margin: auto;
  width: 300px;
}
.forgot-password .forgot-password-text {
  width: 300px;
  text-align: left;
  margin: auto;
  font-size: 14px;
}

.forgot-password-change {
  display: block;
  text-align: center;
  padding-top: 50px;
}
.forgot-password-change input#email,
.forgot-password-change input#newpassword,
.forgot-password-change input#confirmpassword,
.forgot-password-change input#token {
  margin: auto;
  width: 300px;
}

@media (min-width: 1025px) {
  .alerts-first-step,
  .alerts-second-step,
  .alerts-2-step,
  .alerts-3-step,
  .alerts-4-step {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    min-height: calc(100vh - 140px);
    min-height: calc(100dvh - 140px);
    align-content: center;
  }
}
#messageTime {
  display: none;
  width: min(90vw, 520px);
  min-width: 0;
  padding: 36px 48px;
  background-color: #fd7e14;
  border-radius: 5px;
  color: white;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  z-index: 1000;
}

.listwords p {
  display: inline;
}

.take-list-words .btn {
  min-width: 220px;
}

@media (max-width: 500px) {
  .take-list-words {
    display: block;
    margin-bottom: 10px;
  }
  .text-right {
    float: left;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  body {
    max-width: 1024px;
    min-width: 768px;
    width: 95%;
  }
  .dictionaries {
    width: 100%;
    margin: auto;
    margin-top: 10px;
  }
  .main-page-slide {
    min-height: 600px;
  }
  .main-page-slide-text p:first-of-type {
    padding: 250px 0 10px 0;
    width: 600px;
    font-size: 28px;
    line-height: 1.2;
  }
  .main-page-slide-text p:nth-of-type(2) {
    width: 600px;
    font-size: 18px;
  }
  .main-page-slide .btn {
    width: 200px;
  }
  .alerts-first-step {
    margin-top: 0px;
  }
}
@media (min-width: 325px) and (max-width: 768px) {
  body {
    max-width: 768px;
    width: 95%;
  }
  .mp-text-2 {
    padding-left: 0px;
  }
  .alerts-4-step {
    margin-top: 10px;
    grid-template-rows: 80px 80px 10px 60px 60px 50px;
  }
  .alert-secondary-4step-word p {
    font-size: 16px;
    font-weight: 600;
  }
  .alert-secondary-fstep-word.WordInRu,
  .alert-secondary-fstep-translate.Translation,
  .btn.btn-primary.btn-next,
  .anki-buttons,
  .firststep-nav-arrows {
    width: 100%;
    max-width: 400px;
  }
  .btn-finish {
    width: 46px;
    height: 46px;
  }
  .anki-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  .editword-repeat-rating-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
  .alert-3-step-word,
  .alert-2-step-word,
  .container-buttons,
  .buttons-variant {
    width: 100%;
    max-width: 400px;
  }
  .step-choice-hint {
    max-width: 400px;
    margin: 24px auto 0px;
    font-size: 12px;
  }
  .alert-secondary-4step-word,
  .input-4-step,
  .btn-next-4 {
    width: 100%;
    max-width: 500px;
  }
  .dictionaries {
    width: 100%;
    margin: auto;
    margin-top: 10px;
    table-layout: auto;
    --stat-col-width: 200px;
  }
  .dictionaries th,
  .dictionaries td {
    padding: 10px 12px;
  }
  .dictionaries thead {
    display: none;
  }
  .dictionaries tbody tr {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-areas: "index title" "index stats";
    row-gap: 8px;
    align-items: start;
  }
  .dictionaries td {
    border-bottom: 0;
  }
  .dictionaries tbody tr {
    border-bottom: 1px solid #eef1f5;
  }
  .dictionaries tbody tr:last-child {
    border-bottom: 0;
  }
  .dictionaries td:first-child {
    grid-area: index;
    padding-top: 12px;
    color: #9aa2af;
  }
  .dictionaries td:nth-child(2) {
    grid-area: title;
  }
  .dictionaries td:nth-child(3) {
    grid-area: stats;
  }
  .dictionaries td:nth-child(2) {
    word-break: break-word;
  }
  .dictionaries td:nth-child(3) {
    text-align: left;
  }
  .dictionary-language-panel {
    padding: 14px;
  }
  .dictionary-language-header {
    margin-top: 18px;
    gap: 8px;
  }
  .dictionary-breadcrumbs {
    flex: 1 1 auto;
    font-size: 20px;
    gap: 6px;
  }
  .dictionary-language-toggle {
    height: 38px;
    padding: 0 10px;
    gap: 6px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .dictionary-language-toggle .material-symbols-outlined {
    font-size: 18px;
  }
  .dictionary-language-panel__grid {
    grid-template-columns: 1fr;
  }
  .dictionary-language-toolbar {
    width: 100%;
    margin-left: 0;
    align-items: stretch;
  }
  .dictionary-language-toolbar__inner {
    justify-content: stretch;
  }
  .dictionary-language-toolbar__form {
    width: 100%;
    justify-content: stretch;
  }
  .dictionary-language-toolbar__field {
    flex: 1 1 100%;
  }
  .dictionary-language-toolbar__field .dictionary-language-select {
    min-width: 0;
    width: 100%;
  }
  .dictionary-language-toolbar__save {
    width: 100%;
  }
  .dictionary-language-toolbar__save .btn {
    width: 100%;
  }
  .dictionaries-workspace {
    min-height: 200px;
    padding: 18px;
  }
  .dictionaries-workspace__title {
    font-size: 20px;
  }
  .admin-panel__header {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-table th:nth-child(6),
  .admin-table td:nth-child(6) {
    width: auto;
  }
  .admin-actions-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .admin-actions,
  .admin-bulk-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: none;
  }
  .admin-bulk-actions__spacer {
    display: none;
  }
  .stat-cell {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  .stat-row {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .stat-count {
    width: 100%;
    text-align: left;
    white-space: normal;
  }
  .main-page-slide {
    min-height: 400px;
  }
  .main-hero {
    padding: 20px;
  }
  .main-hero__inner {
    grid-template-columns: 1fr;
  }
  .main-hero__title {
    font-size: 26px;
  }
  .main-hero__visual img {
    border-radius: 18px;
    height: 260px;
  }
  .main-benefits {
    padding: 20px;
  }
  .main-benefits__grid {
    grid-template-columns: 1fr;
  }
  .main-quick-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .main-page-slide-text {
    padding: 350px 0 10px 0;
    width: 100%;
    font-size: 24px;
    line-height: 1.2;
  }
  .main-page-slide-text p:nth-of-type(2) {
    width: 100%;
    font-size: 16px;
  }
  .main-page-slide .btn {
    width: 150px;
  }
  .alerts-first-step {
    margin-top: 30px;
    grid-template-columns: minmax(0, 400px);
  }
  .firststep-top-controls {
    margin-right: 4px;
    margin-bottom: 4px;
  }
  .notes-modal-overlay {
    background: rgba(148, 153, 163, 0.78);
  }
  .notes-modal-window {
    width: calc(100vw - 24px);
    min-height: 0;
    max-height: none;
    border-radius: 16px;
    padding: 14px;
    top: 50%;
  }
  .notes-modal-close {
    top: -40px;
    right: 4px;
    width: 34px;
    height: 34px;
    font-size: 46px;
  }
  .notes-modal-body {
    gap: 12px;
    max-height: calc(100vh - 84px);
  }
  .notes-modal-editor {
    border-radius: 14px;
    padding: 10px;
  }
  .notes-modal-input {
    min-height: 210px;
    border-width: 3px;
    border-radius: 14px;
    padding: 12px;
    font-size: 18px;
  }
  .notes-modal-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .notes-modal-save,
  .notes-modal-cancel {
    height: 48px;
    border-radius: 12px;
    font-size: 17px;
  }
  .notes-modal-status {
    margin-top: 2px;
    font-size: 14px;
  }
  .dictionary-delete-modal-window {
    width: calc(100vw - 24px);
    border-radius: 16px;
    padding: 14px;
  }
  .dictionary-delete-modal-title {
    font-size: 21px;
  }
  .dictionary-delete-modal-text {
    font-size: 16px;
  }
  .dictionary-delete-modal-actions {
    flex-direction: column-reverse;
    gap: 8px;
  }
  .dictionary-delete-modal-cancel,
  .dictionary-delete-modal-confirm {
    width: 100%;
    min-width: 0;
  }
  .mp-second-screen {
    padding-bottom: 75%; /* Set a different aspect ratio for smaller screens */
  }
  .mp-second-screen-2 {
    padding-bottom: 75%; /* Set a different aspect ratio for smaller screens */
  }
  .btn-input {
    margin-bottom: 10px;
    max-width: 240px;
  }
  .account-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .button-row,
  .button-row-secondary {
    width: 100%;
  }
  .button-row {
    flex-direction: column;
  }
  .account-action-btn,
  .add-dictionary-inline {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
  }
  .account-action-primary {
    flex: 0 0 auto;
  }
}
@media (min-width: 325px) and (max-width: 1028px) {
  .add-dictionary-button-personal-acc {
    margin-top: 8px;
  }
}
@media (max-width: 425px) {
  body {
    max-width: 425px;
    width: 90%;
  }
}
.material-symbols-outlined.user-logout {
  vertical-align: text-bottom;
  display: inline-block;
  line-height: 1;
  font-size: 24px;
}

.personalacountpage-title {
  font-weight: 500;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 5px;
}

.logout-link {
  display: inline-block;
}

.mb-3 {
  margin-top: 20px;
}/*# sourceMappingURL=style.css.map */
