/* src/styles/app.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #f5f5f7;
  color: #111;
  -webkit-tap-highlight-color: transparent;
}
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid #ddd;
  z-index: 100;
}
.title {
  font-weight: 600;
}
.content {
  padding: 80px 16px 120px 16px;
  max-width: 700px;
  margin: 0 auto;
}
.task {
  margin-bottom: 32px;
  line-height: 1.6;
}
.gap-line input {
  font-size: 16px;
  padding: 4px 6px;
  margin: 0 4px;
}
.gap-correct {
  color: #1f8f2e;
  font-weight: 600;
}
.content ul {
  padding-left: 22px;
}
.content {
  word-break: break-word;
}
.bottom-arrows {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.arrow-btn {
  pointer-events: auto;
  background: transparent !important;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bottom-arrows .arrow-btn:first-child {
  margin-left: 10px;
}
.bottom-arrows .arrow-btn:last-child {
  margin-right: 10px;
}
.arrow-btn img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
button {
  background: #007aff;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 16px;
}
button:active {
  opacity: 0.8;
}
.completion-screen {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
}
.completion-screen h2 {
  margin-bottom: 24px;
}
.completion-screen button {
  padding: 12px 20px;
  font-size: 16px;
}
.menu-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  box-sizing: border-box;
}
.menu-screen button {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 16px;
}
.menu-screen button[data-action=back]:first-child {
  align-self: flex-start;
  width: auto;
}
.repeat-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  box-sizing: border-box;
}
.overlay-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.popup-content {
  background: white;
  padding: 24px;
  border-radius: 14px;
  min-width: 280px;
  max-width: 90%;
  text-align: center;
}
@supports (padding: max(0px)) {
  .header {
    padding-top: max(0px, env(safe-area-inset-top));
  }
  .bottom-arrows {
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}
.subscriptions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.auth-container {
  display: flex;
  justify-content: center;
  padding-top: 60px;
}
.auth-card {
  width: 360px;
  text-align: center;
}
.auth-logo {
  width: 220px;
  margin-bottom: 20px;
}
.auth-welcome {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.4;
}
.subscribe-button {
  display: block;
  background: #FFC107;
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
  margin-bottom: 25px;
}
.auth-login-title {
  margin-bottom: 10px;
  font-weight: 600;
}
.auth-card input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}
.auth-card button {
  width: 100%;
  padding: 12px;
}
.subscriptions-header {
  text-align: center;
  margin-bottom: 30px;
}
.auth-login-block {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}
.auth-login-block input {
  padding: 10px;
  width: 180px;
}
.auth-login-block button {
  padding: 10px 18px;
}
.subscriptions-text {
  font-size: 18px;
  margin-top: 10px;
}
.logout-button {
  display: block;
  margin: 0px auto 0;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  background: #f2f2f2;
  color: #444;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
}
.logout-button:hover {
  background: #e8e8e8;
}
@media (max-width: 768px) {
  .subscriptions-grid {
    grid-template-columns: 1fr;
  }
}
.sticker-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.sticker-card h2 {
  margin-bottom: 16px;
}
.description {
  margin-bottom: 20px;
}
.payment-btn {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  border: none;
  margin-bottom: 16px;
  cursor: pointer;
  font-size: 16px;
}
.eur-btn {
  background: #f4f6ff;
}
.uah-btn {
  background: #fff3f3;
}
.old-price {
  text-decoration: line-through;
  opacity: 0.6;
  margin-right: 8px;
}
.old-price-uah {
  text-decoration: line-through;
  color: red;
  margin-right: 8px;
}
.new-price {
  font-weight: bold;
  font-size: 18px;
}
.header {
  justify-content: space-between;
}
.header-left,
.header-right {
  display: flex;
  align-items: center;
}
.header-center {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.header-title {
  min-width: 0;
}
.icon-btn {
  background: transparent;
  border: none;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.icon-btn img {
  height: 100%;
  max-height: 40px;
  width: auto;
  object-fit: contain;
}
.header-logo {
  height: 40px;
  object-fit: contain;
}
.header-title {
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.list-screen {
  padding: 70px 5px 20px 5px;
}
.lesson-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.lesson-title {
  font-size: 16px;
  font-weight: 500;
}
.lesson-toggle {
  background: white;
  color: black;
  border: 2px solid #007aff;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  cursor: pointer;
}
.krok-btn {
  display: block;
  background: white;
  color: black;
  border: 1px solid #d1d1d6;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 6px 0 6px 70px;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.task button[data-action=reveal] {
  margin-top: 10px;
}
button[data-action=complete] {
  display: block;
  margin: 30px auto 0 auto;
}
button[data-action=reveal] {
  background: white;
  color: black;
  border: 2px solid #007aff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
}
button[data-action=reveal]:active {
  background: #f0f7ff;
}
.gap-task ul {
  padding-left: 16px;
  margin-left: 0;
}
.gap-task li {
  margin-bottom: 8px;
  line-height: 1.5;
  word-break: break-word;
}
.gap-task input {
  max-width: 100%;
  box-sizing: border-box;
}
.gap-task {
  word-break: break-word;
}
.confirm-content {
  padding: 72px 16px 40px;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.confirm-text {
  line-height: 1.6;
}
.confirm-stickers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 768px) {
  .confirm-stickers {
    grid-template-columns: 1fr;
  }
}
.confirm-block {
  display: flex;
  flex-direction: column;
}
.confirm-block h3 {
  margin-bottom: 12px;
  text-align: center;
}
.sticker-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.sticker-card .description {
  flex: 1;
}
.sticker-card .price {
  margin-top: 16px;
  font-weight: 600;
  text-align: center;
}
.confirm-block.current .sticker-card {
  opacity: 0.7;
  border: 1px solid #ddd;
}
.confirm-block.new .sticker-card {
  border: 2px solid #007aff;
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.15);
}
.sticker-card ul {
  padding-left: 40px;
  margin-left: -12px;
}
.sticker-card li {
  margin-bottom: 8px;
}
.confirm-text p {
  margin-bottom: 12px;
}
.confirm-text p:last-child {
  margin-bottom: 0;
}
.confirm-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}
.confirm-actions button {
  flex: 1;
  min-width: 0;
}
.cancel-btn {
  background: white;
  color: black;
  border: 2px solid #007aff;
  border-radius: 8px;
  padding: 12px 16px;
}
.confirm-btn {
  font-weight: 600;
}
@media (max-width: 768px) {
  .confirm-actions {
    flex-direction: column;
  }
  .confirm-actions button {
    width: 100%;
  }
}
.notice-content {
  padding: 100px 16px 40px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.notice-block-center {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}
.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.notice-grid .sticker-card {
  max-width: 300px;
  margin: 0 auto;
}
.notice-grid button {
  margin-top: 16px;
}
@media (max-width: 768px) {
  .notice-grid {
    grid-template-columns: 1fr;
  }
}
.account-email-title {
  text-decoration: underline;
  font-weight: 500;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.account-screen {
  padding: 100px 16px 40px;
  max-width: 700px;
  margin: 0 auto;
}
.subscriptions-container {
  padding: 100px 16px 40px;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}
.account-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.account-sub-block {
  padding-top: 8px;
  border-top: 1px solid #eee;
}
.account-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.account-actions button {
  flex: 1;
  line-height: 1.2;
  text-align: center;
}
@media (max-width: 480px) {
  .account-actions {
    flex-direction: column;
  }
}
.primary-wide {
  display: block;
  margin: 10px auto 0;
  width: 70%;
  min-width: 220px;
  text-align: center;
}
.cancel-outside {
  display: block;
  margin: 100px auto 0;
  width: 70%;
  min-width: 220px;
  background: #fff1f1;
  color: #8b1e1e;
  border: 2px solid #ff6b6b;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 16px;
  cursor: pointer;
}
.cancel-outside:hover {
  background: #ffe5e5;
  border-color: #ff4d4d;
}
span.krok-colour-001 {
  color: #2271b1;
  font-weight: 700;
}
span.krok-colour-002 {
  color: #d63638;
  font-weight: 700;
}
span.krok-colour-003 {
  color: #111;
  text-decoration: line-through;
  text-decoration-color: #d63638;
  text-decoration-thickness: 2px;
}
span[class^=krok-citation-] {
  display: block;
  margin: 14px 0;
  padding-left: 14px;
  color: rgba(0, 0, 0, 0.8);
}
span.krok-citation-001 {
  border-left: 4px double #ddd;
}
span.krok-citation-002 {
  position: relative;
}
span.krok-citation-002::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background:
    repeating-linear-gradient(
      to bottom,
      #ddd,
      #ddd 4px,
      transparent 4px,
      transparent 8px);
}
.task img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
@media (min-width: 768px) {
  .task img {
    max-width: 400px;
  }
}
.task {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.explanation-task {
}
.image-task {
  background: #fafafa;
  text-align: center;
  padding: 16px;
}
.image-task img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
@media (min-width: 768px) {
  .image-task img {
    max-width: 400px;
  }
}
.gap-task {
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.15);
  line-height: 1.6;
}
.gap-task input {
  margin-bottom: 6px;
}
.gap-task input + * {
  margin-left: 6px;
}
.gap-task ol,
.gap-task ul {
  padding-left: 28px;
}
.gap-task li {
  padding-left: 4px;
}
.gap-wrap {
  display: inline;
}
.gap-input {
  margin: 0 4px;
}
.gap-answer {
  margin-left: 6px;
}
.gap-answer {
  color: green;
  font-weight: 600;
}
.gap-answer::after {
  content: " ";
}
.gap-input {
  padding: 4px;
}
.explanation-task ul,
.explanation-task ol {
  padding-left: 24px;
  margin: 10px 0;
}
.explanation-task li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, 300px);
  gap: 20px;
  justify-content: center;
}
.notice-icon {
  width: 100%;
  max-width: 120px;
  display: block;
  margin-bottom: 10px;
}
.notice-center {
  text-align: center;
}
@media (max-width: 768px) {
  .notice-grid {
    grid-template-columns: 1fr;
    justify-content: center;
  }
}
.notice-card {
  position: relative;
}
.notice-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notice-badge-icon {
  width: 56px;
  height: 56px;
  display: block;
}
.notice-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.notice-card:hover {
  transform: translateY(-2px);
}
.notice-instagram {
  position: relative;
  border-radius: 16px;
}
.notice-instagram::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 3px;
  background:
    linear-gradient(
      45deg,
      #f09433,
      #e6683c,
      #dc2743,
      #cc2366);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.notice-facebook {
  border: 3px solid #1877F2;
}
.notice-youtube {
  border: 3px solid #FF0000;
}
.notice-tiktok {
  border: 3px solid #000000;
}
.notice-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.notice-card:hover::after {
  opacity: 1;
}
.notice-badge {
  z-index: 2;
}
.notice-card::after {
  z-index: 1;
}
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}
.otp {
  width: 44px;
  height: 52px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: all 0.15s ease;
}
.otp:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.15);
}
.otp:not(:placeholder-shown),
.otp:valid {
  border-color: #333;
}
.otp::-webkit-outer-spin-button,
.otp::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.otp.filled {
  border-color: #1a73e8;
}
.empty-state {
  text-align: center;
  margin: 40px auto;
  max-width: 700px;
}
.empty-text {
  font-size: 16px;
  line-height: 1.5;
  color: #444;
}
/*# sourceMappingURL=app.css.map */
