*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  color: #e0e0e0;
  background: rgb(12 12 12);
  padding: 0;
  transition: background 0.4s ease, color 0.4s ease;
  margin: 0;
  overflow-x: hidden;
}

.plasma-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.plasma {
    position: absolute;
    width: 200%;
    height: 200%;
    animation: plasmaMove 20s infinite alternate ease-in-out;
    background: 
        radial-gradient(
            circle at 30% 40%, 
            rgba(25, 25, 25, 0.6) 0%,
            rgba(156, 84, 247, 0.6) 25%,
            transparent 70%
        ),
        radial-gradient(
            circle at 70% 60%, 
            rgba(12, 12, 12, 0.6) 0%,
            rgba(12, 12, 12, 0.4) 25%,
            transparent 70%
        );
    filter: blur(50px);
}

@keyframes plasmaMove {
    0% { transform: translate(-25%, -25%) rotate(0deg); }
    25% { transform: translate(-30%, -20%) rotate(5deg); }
    50% { transform: translate(-20%, -30%) rotate(-5deg); }
    75% { transform: translate(-25%, -25%) rotate(0deg); }
    100% { transform: translate(-15%, -15%) rotate(3deg); }
}

.theme-switcher {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
}

.language-switcher {
    display: flex;
    align-items: center;
    height: 100%;
}

.theme-btn {
    width: 42px;
    height: 42px;
    background: rgb(24 24 24 / 80%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.theme-btn:hover {
    color: #7a73ff;
    background: rgba(122, 115, 255, 0.12);
    border-color: rgba(122, 115, 255, 0.25);
}

.custom-dropdown {
  position: relative;
  width: 42px;
  height: 42px;
  cursor: pointer;
  user-select: none;
  z-index: 3001;
}

.dropdown-selected {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgb(24 24 24 / 80%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  transition: 0.3s;
  text-align: center;
  z-index: 3001;
}

.dropdown-selected:hover {
  background: rgba(122, 115, 255, 0.12);
  border-color: rgba(122,115,255,0.25);
  color: #7a73ff;
}

.dropdown-options {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: rgb(24 24 24 / 95%);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  text-align: center;
  z-index: 3001;
}

.dropdown-options div {
  padding: 10px;
  color: #fff;
  font-size: 13px;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.dropdown-options div:hover {
  background: rgba(122, 115, 255, 0.15);
  color: #7a73ff;
}

.custom-dropdown.active .dropdown-options {
  opacity: 1;
  pointer-events: all;
}

/* Подсказки */
.dropdown-selected::after,
.dropdown-options div::after {
    display: none !important;
}

.dropdown-selected:hover::after,
.dropdown-options div:hover::after {
  opacity: 1;
}

/* Дополнительные стили для буквенных бейджей */
.lang-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(122, 115, 255, 0.1);
  color: #7a73ff;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(122, 115, 255, 0.2);
}

.dropdown-selected .lang-badge {
  background: rgba(122, 115, 255, 0.15);
  border-color: rgba(122, 115, 255, 0.3);
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(15 15 15 / 60%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 900;
}

.site-footer .footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  text-align: center;
  max-width: 90%;
}

body.light-theme .site-footer {
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-theme .site-footer .footer-text {
  color: rgba(0, 0, 0, 0.55);
}

.logo-top {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
}
.logo-container {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoFloat 4s infinite ease-in-out;
}

.logo-container:hover { transform: translateY(-2px); }

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.main-content {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px - 80px); /* 100vh минус хедер и футер */
    margin-top: 80px; /* Отступ для хедера */
    margin-bottom: 80px; /* Отступ для футера */
    position: relative;
    z-index: 10;
    padding: 20px;
    box-sizing: border-box;
}

.auth-container {
    position: relative;
    background: rgb(17 17 17 / 70%);
    backdrop-filter: blur(12px);
    padding: 50px 40px;
    border-radius: 16px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease;
    margin: 0 auto;
}
.auth-container:hover { transform: translateY(-5px); }

h1 {
    text-align: center;
    margin-bottom: 40px;
    color: #f0f0f0;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 24px;
}

.input-group {
    position: relative;
    margin-bottom: 35px;
}
.input-group input {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 400;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    background: transparent;
    transition: 0.4s;
    color: #f0f0f0;
}
.input-group input:focus { border-bottom-color: transparent; }

.input-group label {
    position: absolute;
    top: 12px;
    left: 0;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.input-group input:focus ~ label,
.input-group input:valid ~ label {
    top: -18px;
    font-size: 12px;
    color: #7a73ff;
}
.input-group .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7a73ff, #b073f7);
    transition: 0.4s;
}
.input-group input:focus ~ .underline { width: 100%; }

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: rgb(20 20 20 / 30%);
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}
.download-btn i { position: relative; z-index: 2; }
.download-btn:hover {
    background: rgba(122, 115, 255, 0.15);
    border-color: rgba(122, 115, 255, 0.4);
}
.download-btn:active { transform: scale(0.98); }

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(122,115,255,0.25), rgba(176,115,247,0.25));
    transition: width 0.2s linear;
    z-index: 1;
    pointer-events: none;
}

.footer-text {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}
.footer-text a {
    color: #7a73ff;
    text-decoration: none;
    transition: 0.3s;
}
.footer-text a:hover {
    text-decoration: underline;
    color: #b073f7;
}
.button-block {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.instruction-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 40px;
}

.instruction-block {
    position: relative;
    background: rgb(17 17 17 / 70%);
    backdrop-filter: blur(12px);
    padding: 30px 25px;
    border-radius: 16px;
    flex: 1;
    min-width: 450px;
    max-width: 650px;
    max-height: 480px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
}
.instruction-block:hover {
    transform: translateY(-5px);
}

.instruction-block .block-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 15px;
    text-align: left;
}

.instruction-block .block-content {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(224, 224, 224, 0.85);
}

.instruction-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.instruction-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}

.instruction-content::-webkit-scrollbar {
    width: 6px;
}
.instruction-content::-webkit-scrollbar-thumb {
    background: rgba(122,115,255,0.3);
    border-radius: 10px;
}
.instruction-content::-webkit-scrollbar-thumb:hover {
    background: rgba(122,115,255,0.6);
}
.instruction-content::-webkit-scrollbar-track {
    background: transparent;
}

.instruction-block .instruction-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(30, 30, 40, 0.5);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}
.instruction-item:hover {
    background: rgba(122, 115, 255, 0.08);
    border-color: rgba(122, 115, 255, 0.25);
}
.instruction-item i {
    color: #7a73ff;
    margin-top: 3px;
}
.instruction-item span {
    color: rgba(224,224,224,0.9);
    font-size: 14px;
    line-height: 1.5;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.accordion-item {
    background: rgba(30, 30, 40, 0.55);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-header {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #e0e0e0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 20, 25, 0.6);
}
.accordion-header:hover {
    background: rgba(122, 115, 255, 0.12);
}
.accordion-header i {
    transition: transform 0.3s ease;
}
.accordion-header.active i {
    transform: rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    transition: max-height 0.4s ease, padding 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

.accordion-content.open {
    padding: 12px 16px;
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}


.problem-title {
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 6px;
}
.solution-title {
    font-weight: 500;
    color: #7a73ff;
    margin-top: 10px;
    margin-bottom: 4px;
}
.accordion-content p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(224,224,224,0.85);
}

.instruction-block::-webkit-scrollbar {
    width: 6px;
}
.instruction-block::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0);
    border-radius: 10px;
}
.instruction-block::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0);
}
.instruction-block::-webkit-scrollbar-track {
    background: transparent;
}

.instruction-block a,
.accordion-content a {
  color: #7a73ff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}
.instruction-block a:hover,
.accordion-content a:hover {
  color: #9a94ff; 
  text-decoration: underline;
  text-decoration-color: rgba(122, 115, 255, 0.6);
}

body.light-theme .instruction-block {
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
body.light-theme .block-title {
    color: #222;
}
body.light-theme .block-content,
body.light-theme .instruction-item span,
body.light-theme .accordion-content p {
    color: #333;
}
body.light-theme .instruction-item {
    background: rgba(245,245,250,0.9);
    border: 1px solid rgba(0,0,0,0.05);
}
body.light-theme .instruction-item:hover {
    background: rgba(122,115,255,0.1);
    border-color: rgba(122,115,255,0.25);
}
body.light-theme .accordion-item {
    background: rgba(250,250,255,0.8);
    border: 1px solid rgba(0,0,0,0.05);
}
body.light-theme .accordion-header {
    background: rgba(240,240,250,0.8);
    color: #222;
}
body.light-theme .accordion-header:hover {
    background: rgba(122,115,255,0.15);
}
body.light-theme .problem-title {
    color: #d64040;
}
body.light-theme .solution-title {
    color: #4a42d4;
}
body.light-theme .instruction-block a,
body.light-theme .accordion-content a {
  color: #5b50e6;
}
body.light-theme .instruction-block a:hover,
body.light-theme .accordion-content a:hover {
  color: #3b34cc;
  text-decoration: underline;
  text-decoration-color: rgba(59, 52, 204, 0.5);
}

.button-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgb(20 20 20 / 70%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.button-link i {
  font-size: 16px;
  color: #7a73ff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.button-link:hover {
  background: rgba(122, 115, 255, 0.12);
  border-color: rgba(122, 115, 255, 0.25);
  color: #7a73ff;
}

.button-link:hover i {
  transform: rotate(-5deg) scale(1.1);
  color: #b073f7;
}

#notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    pointer-events: none;
}
.notification {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    background: rgba(30, 30, 45, 0.95);
    color: #fff;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);

    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: auto;
    min-width: 220px;
    max-width: 300px;
}
.notification.show { transform: translateX(0); opacity: 1; }
.notification.hide { transform: translateX(120%); opacity: 0; }

.notification.success { background: linear-gradient(135deg, rgba(10, 255, 10, 0.15), rgba(30, 80, 60, 0.25)); }
.notification.error   { background: linear-gradient(135deg, rgba(255, 100, 100, 0.15), rgba(80, 30, 30, 0.25)); }
.notification.warning { background: linear-gradient(135deg, rgba(255, 180, 80, 0.15), rgba(90, 60, 20, 0.25)); }
.notification.info    { background: linear-gradient(135deg, rgba(100, 160, 255, 0.15), rgba(30, 50, 90, 0.25)); }

.notification-icon { font-size: 20px; flex-shrink: 0; }

body.light-theme {
    background: #f0f2f5;
    color: #333;
}

body.light-theme .auth-container {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

body.light-theme h1 { color: #333; }

body.light-theme .input-group input {
    color: #333;
    border-bottom-color: rgba(0, 0, 0, 0.1);
}
body.light-theme .input-group label { color: rgba(0, 0, 0, 0.5); }

body.light-theme .theme-btn,
body.light-theme .dropdown-selected {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.65);
}
body.light-theme .theme-btn:hover,
body.light-theme .dropdown-selected:hover {
    color: #7a73ff;
    background: rgba(122, 115, 255, 0.15);
    border-color: rgba(122, 115, 255, 0.3);
}
body.light-theme .dropdown-options {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0,0,0,0.08);
}
body.light-theme .dropdown-options div { color: #333; }
body.light-theme .dropdown-options div:hover {
    background: rgba(122, 115, 255, 0.15);
    color: #7a73ff;
}

body.light-theme .download-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}
body.light-theme .download-btn:hover {
    background: rgba(122, 115, 255, 0.15);
    border-color: rgba(122, 115, 255, 0.3);
    color: #7a73ff;
}
body.light-theme .progress-fill {
    background: linear-gradient(
        90deg,
        rgba(122,115,255,0.25),
        rgba(176,115,247,0.25)
    );
}

body.light-theme .site-header {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

body.light-theme .logo-image:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

body.light-theme .download-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}
body.light-theme .download-btn:hover {
    background: rgba(122, 115, 255, 0.1);
    border-color: rgba(122, 115, 255, 0.3);
    color: #7a73ff;
}

body.light-theme .footer-text {
    color: rgba(0, 0, 0, 0.6);
}
body.light-theme .footer-text a {
    color: #7a73ff;
}
body.light-theme .footer-text a:hover {
    color: #b073f7;
}
body.light-theme .button-link {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #333;
}

body.light-theme .button-link:hover {
  background: rgba(122, 115, 255, 0.12);
  border-color: rgba(122, 115, 255, 0.25);
  color: #7a73ff;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    padding: 0 25px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    background: rgb(15 15 15 / 60%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3000;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgb(17 17 17 / 70%);
    border-radius: 12px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    justify-self: center;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logo-image {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

@media (max-width: 1024px) {
    .logo-image {
        height: 36px;
        max-width: 130px;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 30px;
        max-width: 100px;
    }
}

@media (max-width: 360px) {
    .logo-image {
        height: 28px;
        max-width: 90px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .logo-image {
        height: 32px;
        max-width: 110px;
    }
}

.logo-image:hover { 
    transform: scale(1.05); 
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 36px;
    border-radius: 6px;
    color: #cccccc;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
    /* border: 1px solid rgba(255, 255, 255, 0.05); */
}

.nav-icon:hover {
    color: #7a73ff;
    border-color: rgba(122, 115, 255, 0.2);
    text-shadow: 0 0 10px rgba(122, 115, 255, 0.5);
}

.nav-icon.active {
    color: #7a73ff !important;
    border: 1px solid rgba(122, 115, 255, 0.4) !important;
    background: rgba(122, 115, 255, 0.08) !important;
    box-shadow: 0 0 15px rgba(122, 115, 255, 0.1);
    text-shadow: none !important;
}

@media (max-width: 768px) {
    .site-header {
        height: 65px;
        padding: 0 20px;
        grid-template-columns: 1fr auto 1fr;
    }
    
    .header-nav {
        gap: 8px;
        padding: 4px;
    }
    
    .logo-image {
        height: 30px;
        max-width: 110px;
    }
    
    .nav-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0 15px;
        height: 60px;
    }
    
    .header-nav {
        gap: 6px;
    }
    
    .nav-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    
    .logo-image {
        height: 28px;
        max-width: 90px;
    }
}


@media (max-width: 768px) {
  .main-content { margin-top: 70px; }
  .auth-container { padding: 30px 25px; }
  .theme-switcher { left: 15px; }
  .language-switcher { right: 15px; }
  .logo-top { top: 15px; }
  .logo-container { padding: 12px 20px; gap: 12px; }
  .logo-text { font-size: 14px; }
  .notification-container { top: 90px; right: 15px; }

  .instruction-row {
      flex-direction: column;
      align-items: stretch;
      gap: 25px;
      padding: 0 15px;
  }

  .instruction-block {
      min-width: 100%;
      max-width: 100%;
      padding: 20px 18px;
      max-height: none;       
      overflow-y: visible;    
  }

  .instruction-block .block-title {
      font-size: 20px;
      margin-bottom: 12px;
  }

  .instruction-item {
      padding: 12px 14px;
      font-size: 15px;
  }

  .accordion-header {
      padding: 14px 16px;
      font-size: 16px;
  }

  .accordion-content {
      font-size: 15px;
      padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .main-content { margin-top: 60px; }
  .auth-container { padding: 25px 20px; }
  h1 { font-size: 22px; }
  .theme-switcher, .language-switcher { transform: scale(0.9); }
  .logo-container { padding: 10px 15px; gap: 10px; }
  .logo-text { font-size: 12px; }
  .notification { max-width: 280px; padding: 12px 16px; }

  .instruction-block {
      padding: 18px 15px;
  }

  .instruction-block .block-title {
      font-size: 18px;
  }

  .instruction-item span,
  .accordion-header,
  .accordion-content {
      font-size: 14px;
  }
}

@media (max-width: 768px) {
    body {
        padding: 75px 15px 40px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 70px 10px 30px;
    }
}

@media (max-width: 350px) {
  .logo-container { flex-direction: column; gap: 8px; padding: 10px 15px; }
  .logo-text { font-size: 11px; }

  .instruction-block {
      padding: 15px 12px;
  }

  .instruction-block .block-title {
      font-size: 16px;
  }

  .instruction-item span,
  .accordion-header,
  .accordion-content {
      font-size: 13px;
  }
}

@media (max-height: 500px) and (max-width: 350px) {
  .logo-top { display: none; }
  .main-content { margin-top: 40px; }
  .auth-container { padding: 20px 15px; }
  h1 { margin-bottom: 25px; font-size: 20px; }
  .input-group { margin-bottom: 25px; }

  .instruction-block {
      max-height: 300px;
      overflow-y: auto;
  }
}

.buttons-group {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.glass-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    background: rgb(20 20 20 / 70%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 50px;
    flex: 1;
    min-width: 120px;
    max-width: 200px;
}

.glass-button i {
    font-size: 16px;
    color: #7a73ff;
    transition: transform 0.3s ease, color 0.3s ease;
}

.glass-button:hover {
    background: rgba(122, 115, 255, 0.12);
    border-color: rgba(122, 115, 255, 0.25);
    color: #7a73ff;
}

.glass-button:hover i {
    transform: rotate(-5deg) scale(1.1);
    color: #b073f7;
}

.key-field {
    margin-bottom: 25px;
}

.key-label {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.key-value-container {
    position: relative;
    width: 100%;
}

.key-value {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 50px 15px 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    word-break: break-all;
    line-height: 1.5;
    max-height: 80px;
    overflow-y: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.key-value:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.key-value.expanded {
    max-height: 150px;
}

.copy-key-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    padding: 8px;
    color: var(--text-color);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-key-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.copy-tooltip {
    position: absolute;
    top: -35px;
    right: 0;
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.copy-tooltip.show {
    opacity: 1;
} 

.info-fields {
    margin: 30px 0;
}

.info-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgb(143 143 143 / 5%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

.info-value {
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.info-value-with-days {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.date-value {
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.days-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.days-passed {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.days-remaining {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.days-warning {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}        

.status-active {
    color: #4CAF50 !important;
    font-weight: 600 !important;
}

.status-expired {
    color: #FF5722 !important;
    font-weight: 600 !important;
}

.status-banned {
    color: #F44336 !important;
    font-weight: 600 !important;
}

.back-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.button-block {
    margin-top: 20px;
    text-align: center;
}

.field-icon {
    width: 16px;
    margin-right: 8px;
    color: #6d6d6d;
}

.hwid-resets-value {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.hwid-list {
    display: grid;
    gap: 8px;
}

.hwid-item {
    background: rgba(30, 30, 45, 0.4);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hwid-item:hover {
    background: rgba(30, 30, 45, 0.6);
    border-color: rgba(122, 115, 255, 0.3);
}

.hwid-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.hwid-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hwid-number {
    font-family: monospace;
    color: #7a73ff;
    font-size: 12px;
    font-weight: 600;
}

.hwid-status {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.status-approved {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-rejected {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.hwid-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.hwid-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hwid-ip {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: monospace;
}

.hwid-reason {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.no-hwid-resets {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 6px;
    color: #28a745;
    font-size: 14px;
} 

.back-btn {
    background: rgb(25 25 25 / 70%);
    border-color: rgba(255, 255, 255, 0.12);
}

.info-value-hover {
    display: flex;
    align-items: center;
    position: relative;
}

.time-badge {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 80px;
    text-align: center;
    cursor: help;
    border: 1px solid;
}

/* Цветовые модификаторы */
.time-badge.success {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.3);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1);
}

.time-badge.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.15);
}

.time-badge.danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.4);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.15);
}

.time-badge.expired {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border-color: rgba(108, 117, 125, 0.4);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.1);
}

.date-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-badge:hover + .date-tooltip {
    opacity: 1;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    min-width: 100px;
}

/* Цвета для разных статусов */
.status-badge.active {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1);
}

.status-badge.expired {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

.status-badge.banned {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.1);
}

.status-badge.inactive {
    background: rgba(108, 117, 125, 0.15);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.1);
}

@media (max-width: 768px) {
    .buttons-group {
        flex-direction: column;
    }
    
    .glass-button {
        max-width: none;
    }
}