@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-body: #121212;
    --text-color: #e0e0e0;
    --header-bg: #1e1e1e;
    --card-bg: linear-gradient(45deg, #1e1e1e, #2c2c2c);
    --input-bg: #2c2c2c;
    --border-color: #4CAF50;
    --shadow-color: rgba(0,0,0,0.3);
    --footer-bg: #1e1e1e;
    --link-color: #4CAF50;
    --hero-bg: linear-gradient(180deg, #1e1e1e, #121212);
    --feature-card-bg: #1e1e1e;
    --dynamic-field-bg: #2c2c2c;
    --saved-card-bg: #2c2c2c;
    --modal-bg: linear-gradient(45deg, #1e1e1e, #2c2c2c);
    --submenu-bg: #1e1e1e;
    --close-color: #e0e0e0;
    --submenu-text: #e0e0e0;
    --warning-color: #FF9800;
    --plan-card-bg: #1e1e1e;
    --slider-bg: rgba(128, 128, 128, 0.5);
    --success-color: #4CAF50;
    --error-color: #f44336;
    --pending-color: #FF9800;
}

.light {
    --bg-body: #f4f4f4;
    --text-color: #333;
    --header-bg: #ffffff;
    --card-bg: linear-gradient(45deg, #ffffff, #eeeeee);
    --input-bg: #ffffff;
    --border-color: #4CAF50;
    --shadow-color: rgba(0,0,0,0.1);
    --footer-bg: #ffffff;
    --link-color: #4CAF50;
    --hero-bg: linear-gradient(180deg, #ffffff, #f4f4f4);
    --feature-card-bg: #ffffff;
    --dynamic-field-bg: #eeeeee;
    --saved-card-bg: #eeeeee;
    --modal-bg: linear-gradient(45deg, #ffffff, #eeeeee);
    --submenu-bg: #ffffff;
    --close-color: #333;
    --submenu-text: #333;
    --warning-color: #FF9800;
    --plan-card-bg: #ffffff;
    --slider-bg: rgba(128, 128, 128, 0.5);
    --success-color: #4CAF50;
    --error-color: #f44336;
    --pending-color: #FF9800;
}

/* ========== ФИКС ЦВЕТА ТЕКСТА В ПОЛЯХ ВВОДА ========== */
input, textarea, select {
    color: var(--text-color) !important;
}

/* Более конкретно для всех полей ввода */
.form-group input,
.form-group textarea,
.styled-select,
.dynamic-field input,
.dynamic-field textarea,
#modal-email,
#modal-password,
#modal-confirm-password {
    color: var(--text-color) !important;
}

/* Для всех типов полей ввода */
input[type="password"],
input[type="email"],
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="date"] {
    background: var(--input-bg) !important;
    color: var(--text-color) !important;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
    font-size: 0.95rem;
}

/* ========== БАЗОВЫЕ СТИЛИ (MOBILE FIRST) ========== */
* {
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    transition: all 0.3s ease;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Хедер - мобильная версия */
.header {
    background-color: var(--header-bg);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.3s;
    text-align: left;
    flex: 1;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-shield {
    font-size: 1.3rem;
    color: #4CAF50;
}

.nav {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.nav button {
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 1rem;
    white-space: nowrap;
}

/* Геро - мобильная версия */
.hero {
    text-align: center;
    padding: 60px 0;
    background: var(--hero-bg);
}

.hero h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.hero button {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    width: 100%;
}

/* Функции - мобильная версия */
.features {
    padding: 40px 0;
}

.features h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-card {
    background: var(--feature-card-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 1.8rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Зеленые кнопки */
.green-button {
    background: linear-gradient(45deg, #4CAF50, #388E3C);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    margin: 8px 0;
    width: 100%;
}

.green-button:hover {
    background: linear-gradient(45deg, #388E3C, #4CAF50);
    transform: translateY(-2px);
}

/* Профиль - мобильная версия */
.profile {
    padding: 40px 0;
}

.profile-icon {
    text-align: center;
    margin-bottom: 25px;
}

.profile-icon .fa-shield-alt {
    font-size: 2.5rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.profile-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
    color: var(--text-color);
}

.profile-legacy {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-info-highlight {
    font-size: 1em;
    background-color: rgba(76, 175, 80, 0.1);
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #4CAF50;
    color: var(--text-color);
}

.status-block {
    margin: 12px 0;
    padding: 10px;
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 5px;
    border-left: 3px solid #ffc107;
    color: var(--text-color);
}

.status-text {
    font-weight: bold;
    font-size: 0.95rem;
}

.plan-link {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(45deg, #4CAF50, #388E3C);
    color: white;
    border-radius: 20px;
    font-size: 0.85em;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.plan-link:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.last-updated {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
    text-align: center;
    font-size: 0.85rem;
}

/* Настройки - мобильная версия */
.settings {
    padding: 40px 0;
}

.settings-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.settings-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.settings-card select,
.settings-card input[type="checkbox"] {
    margin-bottom: 15px;
}

.settings-card label {
    margin-left: 8px;
    font-size: 0.95rem;
}

.styled-select {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    color: var(--text-color);
    appearance: none;
    font-size: 0.95rem;
}

/* Завещание - мобильная версия */
.legacy {
    padding: 40px 0;
}

.legacy-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.legacy-tabs button {
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.dynamic-field {
    background: var(--dynamic-field-bg);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px var(--shadow-color);
    position: relative;
}

.dynamic-field input,
.dynamic-field textarea {
    width: 100%;
    margin-bottom: 10px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.delete-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #4CAF50;
    font-size: 18px;
    cursor: pointer;
}

/* Saved и actions */
.saved-card {
    background: var(--saved-card-bg);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.actions button {
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    width: 100%;
}

/* Поддержка - мобильная версия */
.support {
    padding: 40px 0;
}

.support-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.support-tabs button {
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    width: 100%;
}

.support-tabs .tab-button.active {
    background: linear-gradient(45deg, #388E3C, #4CAF50);
}

.support-ticket {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px var(--shadow-color);
    border-left: 4px solid #4CAF50;
}

.ticket-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.ticket-title h4 {
    margin: 0 0 5px 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.ticket-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ticket-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    width: fit-content;
}

/* FAQ */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.faq-item h4 {
    color: #4CAF50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Модальные окна - мобильная версия */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 15px;
}

.modal-content {
    background: var(--modal-bg);
    padding: 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 20px var(--shadow-color);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.95rem;
}

/* ========== ФИКС КНОПКИ В МОДАЛЬНОМ ОКНЕ ========== */
.modal .form-group input,
.modal .form-group textarea {
    width: 100%;
    box-sizing: border-box;
}

#modal-button {
    width: 100%;
    box-sizing: border-box;
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    border: none;
    background: linear-gradient(45deg, #4CAF50, #388E3C);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

#modal-button:hover {
    background: linear-gradient(45deg, #388E3C, #4CAF50);
    transform: translateY(-2px);
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--close-color);
}

/* Подменю */
#user-submenu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--submenu-bg);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    z-index: 99;
    display: none;
    width: auto;
    min-width: 200px;
}

#user-submenu a {
    display: block;
    padding: 8px 12px;
    color: var(--submenu-text);
    text-decoration: none;
    transition: color 0.3s;
    word-break: break-word;
    hyphens: auto;
    font-size: 13px;
}

#user-submenu a:hover {
    color: #4CAF50;
}

/* Футер - мобильная версия */
.footer {
    background-color: var(--footer-bg);
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.footer-links a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 0.95rem;
}

/* Textareas */
textarea {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    height: 200px;
    font-size: 0.95rem;
    resize: vertical;
}

/* Premium секция - мобильная версия */
.premium {
    padding: 5px;
    text-align: center;
}

.premium h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.premium p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.premium-plans {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.plan-card {
    background: var(--plan-card-bg);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 4px 15px var(--shadow-color);
    text-align: center;
    transition: all 0.3s;
}

.plan-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.plan-card .price {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #4CAF50;
    font-weight: bold;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.plan-card ul li {
    margin-bottom: 8px;
    text-align: left;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.plan-card button {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 1rem;
    border-radius: 25px;
}

/* Switcher */
.price-switcher-container {
    margin: 20px 0;
}

.switcher {
    display: flex;
    background: #1e1e1e;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 15px;
    font-size: 0.9rem;
    position: relative;
    height: 30px;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    width: 100%;
    padding-bottom: 14px
}

.switch-button {
    padding: 0 15px;
    height: 100%;
    color: #e0e0e0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    font-size: 0.9rem;
    position: relative;
    flex-direction: column;
}

.switch-button.active {
    color: #fff;
}

.switcher-slider {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(45deg, #4CAF50, #388E3C);
    transition: left 0.3s ease, width 0.3s ease;
    border-radius: 30px;
    z-index: 0;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 15px 0;
    gap: 5px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4CAF50;
    transition: all 0.3s ease;
}

/* Уведомления */
#notification-container {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000;
}

.notification {
    position: absolute;
    right: 10px;
    background: var(--modal-bg);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10001;
    color: var(--text-color);
    border-left: 4px solid #4CAF50;
    max-width: 300px;
    word-wrap: break-word;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Contacts list */
#contacts-list {
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    background: var(--dynamic-field-bg);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
}

.contact-item input {
    width: calc(100% - 55px);
    margin-right: 55px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
    box-sizing: border-box;
}

.contact-item .delete-button {
    position: absolute;
    right: 10px;
    top: 15%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #4CAF50;
    font-size: 18px;
    cursor: pointer;
}

.delete-button:hover {
    color: #f44336;
}

/* Методы шифрования */
.encryption-methods {
    margin: 20px 0;
}

.encryption-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
}

.encryption-card {
    background: var(--card-bg);
    border: 2px solid #757575;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.encryption-icon {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 10px;
    text-align: center;
}

.encryption-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #4CAF50;
}

.encryption-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Страница подтверждения смерти - мобильная версия */
.verification-container {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    border-left: 5px solid #4CAF50;
}

.verification-header h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.verification-header p {
    font-size: 1rem;
}

.verification-methods {
    margin: 20px 0;
}

.method-card {
    background: var(--card-bg);
    border: 2px solid #444;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.method-icon {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 10px;
    text-align: center;
}

.method-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #4CAF50;
}

.method-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.verification-form {
    margin-top: 20px;
}

.form-section {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--dynamic-field-bg);
    border-radius: 10px;
    border-left: 3px solid #4CAF50;
}

.form-section h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.file-upload-area {
    border: 2px dashed #4CAF50;
    border-radius: 10px;
    padding: 30px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.file-upload-icon {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 10px;
}

/* ========== ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ ШАГОВ ПРОЦЕССА ========== */
.verification-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    align-items: flex-start;
}

/* Контейнер для каждого шага - добавляем легкую границу */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 100px;
    padding: 15px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 175, 80, 0.2);
    background: rgba(30, 30, 30, 0.3);
    margin: 0 5px;
    justify-content: flex-start;
    text-align: center;
}

.step:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
    transform: translateY(-2px);
}

.step.active {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    flex-shrink: 0;
    font-size: 1.2rem;
    color: #fff;
    position: relative;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.step-number span {
    display: block;
    text-align: center;
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
}

.step.active .step-number {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.step.completed .step-number {
    background-color: #388E3C;
    color: white;
    border-color: #388E3C;
}

.step-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    align-items: center;
}

.step-content h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-color);
    min-height: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    width: 100%;
    text-align: center;
}

.step-content p {
    font-size: 0.8rem;
    color: #aaa;
    min-height: 2em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.2;
    padding: 0 5px;
    width: 100%;
    text-align: center;
}

/* Страница получения завещания - мобильная версия */
.claim-page {
    padding: 40px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.claim-container {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    border-left: 5px solid #4CAF50;
}

.claim-header h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.claim-header p {
    font-size: 1rem;
}

.legacy-content {
    margin-top: 20px;
    padding: 15px;
    background: var(--dynamic-field-bg);
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.legacy-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.legacy-section h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.legacy-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legacy-item h5 {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.legacy-item p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Админ-панель - мобильная версия */
.admin-container {
    padding: 15px;
    width: 100%;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4CAF50;
}

.admin-tabs {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    border-bottom: 2px solid #4CAF50;
}

.admin-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    text-align: left;
    font-size: 1rem;
}

.users-table,
.requests-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: var(--card-bg);
    border-radius: 10px;
    overflow-x: auto;
    display: block;
}

.users-table th,
.requests-table th {
    background: var(--header-bg);
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #4CAF50;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

.users-table td,
.requests-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    white-space: nowrap;
}

.user-actions,
.request-actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.action-btn {
    padding: 6px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.stat-card {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #4CAF50;
}

.stat-card h4 {
    margin-top: 0;
    color: #4CAF50;
    font-size: 0.95rem;
}

.stat-card p {
    font-size: 1.8rem;
    margin: 10px 0;
}

.search-box {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-box input {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 0.95rem;
}

/* Унификация полос прокрутки */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--input-bg);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ========== ДЕСКТОПНЫЕ СТИЛИ ========== */
@media (min-width: 769px) {
    html {
        font-size: 16px;
    }

    .container {
        max-width: 1200px;
        padding: 0 20px;
    }

    .header .container {
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 1.5rem;
        margin-bottom: 0;
        width: auto;
        text-align: left;
    }

    .nav {
        width: auto;
        flex-direction: row;
        gap: 15px;
    }

    .nav .green-button {
        width: auto;
        padding: 12px 24px;
        font-size: 16px;
        margin: 0;
    }

    #user-submenu {
        width: auto;
        position: absolute;
        margin-top: 0;
    }

    #user-submenu a {
        padding: 10px 20px;
        font-size: 16px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .feature-card h3 {
        font-size: 1.5rem;
    }

    .feature-card p {
        font-size: 1rem;
    }

    .footer-links {
        flex-direction: row;
        gap: 20px;
    }

    /* Десктопные стили для остальных элементов */
    .hero {
        padding: 100px 0;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .hero button {
        width: auto;
        max-width: 250px;
    }

    .features {
        padding: 60px 0;
    }

    .features h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 30px;
    }

    .feature-card i {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .green-button {
        width: auto;
        max-width: 300px;
        padding: 12px 24px;
        font-size: 1.2rem;
        margin: 10px 0;
    }

    .profile {
        padding: 60px 0;
    }

    .profile-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .profile-card {
        padding: 25px;
    }

    .profile-info-highlight {
        font-size: 1.1em;
    }

    .settings {
        padding: 60px 0;
    }

    .settings-card {
        padding: 30px;
    }

    .settings-card h3 {
        font-size: 1.5rem;
    }

    .legacy {
        padding: 60px 0;
    }

    .legacy-tabs {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 20px;
    }

    .legacy-tabs button {
        width: auto;
    }

    .dynamic-field {
        padding: 20px;
        margin-bottom: 20px;
    }

    .saved-card {
        padding: 20px;
        margin-top: 20px;
    }

    .actions {
        flex-direction: row;
        gap: 20px;
        margin-top: 20px;
    }

    .actions button {
        width: auto;
    }

    .support {
        padding: 60px 0;
    }

    .support-tabs {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 20px;
    }

    .support-tabs button {
        width: auto;
    }

    .support-ticket {
        padding: 25px;
        margin-bottom: 20px;
    }

    .ticket-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .ticket-meta {
        align-items: flex-end;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h4 {
        font-size: 1.2rem;
    }

    .modal-content {
        padding: 40px;
        width: 400px;
    }

    #modal-button {
        width: 100%;
        margin: 15px 0 0 0;
        padding: 12px 20px;
        border-radius: 25px;
        font-size: 1rem;
    }

    /* Premium секция */
    .premium {
        padding: 5px;
    }
    
    .premium h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .premium p {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
    
    .premium-plans {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 30px;
        width: 100%;
    }
    
    .plan-card {
        width: 280px;
        min-height: 580px;
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        transition: all 0.3s;
        padding: 25px;
    }
    
    .plan-card h3 {
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
        font-size: 1.8rem;
    }
    
    .plan-card .price,
    .price-switcher-container {
        min-height: 70px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .plan-card ul {
        flex-grow: 1;
        margin: 15px 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .plan-card .green-button {
        margin-top: auto;
        min-height: 45px;
        width: 100%;
    }
    
    .plan-card:first-child p[data-lang="current_plan"] {
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 10px 0;
        color: #4CAF50;
        font-weight: bold;
        margin-top: auto;
    }
    
    .plan-card ul li {
        margin-bottom: 8px;
        display: flex;
        align-items: flex-start;
        line-height: 1.4;
    }

    .switcher {
        max-width: 400px;
        height: 30px;
    }

    .switch-button {
        font-size: 0.9rem;
    }

    .encryption-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }

    .encryption-card {
        padding: 20px;
    }

    .encryption-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .encryption-card h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .verification-container {
        max-width: 800px;
        margin: 40px auto;
        padding: 30px;
    }

    .verification-header h2 {
        font-size: 2.2rem;
    }

    .verification-header p {
        font-size: 1.1rem;
    }

    .verification-methods {
        margin: 30px 0;
    }

    .method-card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .method-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .method-card h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .verification-form {
        margin-top: 30px;
    }

    .form-section {
        margin-bottom: 25px;
        padding: 20px;
    }

    .form-section h4 {
        font-size: 1.2rem;
    }

    .file-upload-area {
        padding: 40px 20px;
        margin-bottom: 15px;
    }

    .file-upload-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .claim-container {
        max-width: 800px;
        margin: 40px auto;
        padding: 30px;
    }

    .claim-header h2 {
        font-size: 2.2rem;
    }

    .claim-header p {
        font-size: 1.1rem;
    }

    .legacy-content {
        margin-top: 30px;
        padding: 25px;
    }

    .legacy-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .legacy-section h4 {
        font-size: 1.3rem;
    }

    .legacy-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .legacy-item h5 {
        font-size: 1.1rem;
    }

    .admin-container {
        padding: 20px;
        max-width: 1400px;
    }

    .admin-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
    }

    .admin-tabs {
        flex-direction: row;
        margin-bottom: 20px;
    }

    .admin-tab {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .users-table,
    .requests-table {
        display: table;
        overflow-x: visible;
    }

    .users-table th,
    .requests-table th {
        font-size: 1rem;
        padding: 15px;
    }

    .users-table td,
    .requests-table td {
        font-size: 0.9rem;
        padding: 12px 15px;
    }

    .user-actions,
    .request-actions {
        flex-direction: row;
        gap: 5px;
    }

    .action-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }

    .stat-card {
        padding: 25px;
    }

    .stat-card h4 {
        font-size: 1.1rem;
    }

    .stat-card p {
        font-size: 2.5rem;
    }

    .search-box {
        flex-direction: row;
        gap: 10px;
        margin: 20px 0;
    }

    .search-box input {
        flex: 1;
    }
}

/* ========== ИСПРАВЛЕНИЕ ГОРИЗОНТАЛЬНОГО СКРОЛЛА ========== */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        width: 100%;
        padding: 0 15px;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* ИСПРАВЛЕНИЕ ВЫСОТЫ КАРТОЧЕК ДЛЯ МОБИЛЬНЫХ */
    .premium .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        margin: 0 auto;
        overflow-x: hidden;
    }
    
    .premium-plans {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
        margin: 0 auto;
        display: flex;
        overflow-x: hidden;
    }
    
    .plan-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 20px;
        box-sizing: border-box;
        overflow-x: hidden;
        min-height: 520px;
        display: flex;
        flex-direction: column;
    }
    
    .plan-card ul {
        flex-grow: 1;
        margin-bottom: 15px;
    }
    
    .plan-card .green-button,
    .plan-card p[data-lang="current_plan"] {
        margin-top: auto;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .plan-card h3 {
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .plan-card .price,
    .price-switcher-container {
        min-height: 70px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Центрирование заголовка и текста */
    .premium h2 {
        font-size: 1.6rem;
        text-align: center;
        padding: 0 15px;
        margin-bottom: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .premium p {
        font-size: 0.95rem;
        text-align: center;
        padding: 0 15px;
        margin-bottom: 25px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Стили для light темы остаются без изменений */
.light .method-card {
    background: var(--card-bg);
    border: 2px solid #ddd;
}

.light .method-card:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.light .method-card.selected {
    background: rgba(76, 175, 80, 0.1);
}

.light .file-upload-area {
    border-color: #4CAF50;
}

.light .file-upload-area:hover {
    background: rgba(76, 175, 80, 0.05);
}

.light .step {
    background: var(--dynamic-field-bg);
}

.light .trusted-contact-info {
    background: rgba(76, 175, 80, 0.1);
}

.light .trusted-contact-verification {
    background: rgba(33, 150, 243, 0.1);
}

.light .legacy-item {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.light .legacy-item h5 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.light .legacy-item pre {
    background: rgba(0, 0, 0, 0.05);
}

/* Стили для проверки активности */
.alive-check-section {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(45deg, rgba(76, 175, 80, 0.1), rgba(56, 142, 60, 0.1));
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.alive-check-section h4 {
    color: #4CAF50;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-loading {
  text-align: center;
  padding: 20px;
  color: #666;
}

.alive-check-details {
  margin: 15px 0;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-label {
  font-weight: 500;
  color: var(--text-color);
}

.status-value {
  font-weight: bold;
}

.status-value.confirmed {
  color: #4CAF50;
}

.status-value.pending {
  color: #FF9800;
}

.status-value.expired {
  color: #f44336;
}

.status-value.neutral {
  color: #2196F3;
}

.status-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.status-icon.confirmed {
  background: #4CAF50;
  color: white;
}

.status-icon.pending {
  background: #FF9800;
  color: white;
}

.status-icon.expired {
  background: #f44336;
  color: white;
}

.countdown {
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
    color: #4CAF50;
}

.alive-check-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.alive-check-actions .green-button {
  flex: 1;
  min-width: 150px;
}

.status-note {
  margin-top: 15px;
  padding: 12px;
  background: rgba(255, 152, 0, 0.1);
  border-radius: 8px;
  border-left: 3px solid #FF9800;
  font-size: 0.9em;
}

/* Премиум-бейджи */
.premium-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75em;
    font-weight: bold;
    margin-left: 8px;
    display: inline-block;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Исправление для правильного переноса длинного текста */
.legacy-item {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.legacy-item p,
.legacy-item h5,
.legacy-item pre,
.legacy-item strong {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.legacy-item pre {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
}

/* Для особенно длинных строк (адреса кошельков, seed-фразы) */
.legacy-item .long-text {
    font-family: 'Courier New', monospace;
    white-space: pre-wrap !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
}

/* Уведомления о статусе */
.notification-badge {
    background: #f44336;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    margin-left: 5px;
    vertical-align: super;
}

/* Стили для активации завещания в профиле */
.activation-methods {
    margin: 20px 0;
}

.method-option {
    margin-bottom: 15px;
    padding: 15px;
    border: 2px solid #444;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.method-option:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.method-option input[type="radio"] {
    margin-right: 10px;
}

.method-option label {
    cursor: pointer;
    display: block;
}

.method-option strong {
    color: #4CAF50;
    font-size: 1.1em;
}

.method-option p {
    margin: 5px 0 0 0;
    color: #aaa;
    font-size: 0.9em;
}

.code-display {
    margin-top: 10px;
    padding: 10px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 5px;
    border-left: 3px solid #4CAF50;
}

.trusted-contacts-section {
    margin-top: 15px;
}

.trusted-contacts-section h4 {
    margin-bottom: 10px;
    color: #4CAF50;
}

.trusted-contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    margin-bottom: 5px;
}

.contact-email {
    font-weight: bold;
}

.remove-trusted-contact {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    padding: 5px;
}

.no-contacts {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 20px;
}

.settings-description {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.9em;
}

/* Стили для чекбоксов */
.checkbox-option {
    position: relative;
}

.checkbox-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #4CAF50;
    border-radius: 4px;
    background: var(--input-bg);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 10px;
}

.checkbox-option input[type="checkbox"]:checked {
    background: #4CAF50;
}

.checkbox-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Стили для личных данных */
.privacy-options {
    margin: 20px 0;
}

.privacy-option {
    margin-bottom: 15px;
    padding: 15px;
    border: 2px solid #444;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.privacy-option:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.personal-data-fields {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border-left: 3px solid #4CAF50;
}

.personal-data-fields .form-group {
    margin-bottom: 15px;
}

.personal-data-fields label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
}

.field-hint {
    font-size: 0.9rem;
    color: #888;
    margin-top: 5px;
    font-style: italic;
}

/* Стили для результатов поиска */
.search-result-card {
    background: var(--card-bg);
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-card:hover {
    background: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.user-info h4 {
    margin: 0 0 5px 0;
    color: #4CAF50;
}

.user-info p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.8;
}

/* Стили для timeline */
.verification-timeline {
    margin: 30px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.timeline-item:not(:last-child):before {
    content: '';
    position: absolute;
    left: 15px;
    top: 30px;
    bottom: -20px;
    width: 2px;
    background: #4CAF50;
    opacity: 0.3;
}

.timeline-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding-bottom: 10px;
}

.timeline-content h5 {
    margin: 0 0 5px 0;
    color: #4CAF50;
}

.timeline-date {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

/* Стили для статусов верификации */
.verification-status {
    margin: 30px 0;
    padding: 25px;
    background: var(--card-bg);
    border-radius: 10px;
    text-align: center;
}

.status-pending {
    border-left: 4px solid #FF9800;
    background: rgba(255, 152, 0, 0.1);
}

.status-approved {
    border-left: 4px solid #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.status-rejected {
    border-left: 4px solid #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.verification-status .status-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.status-pending .status-icon {
    color: #FF9800;
}

.status-approved .status-icon {
    color: #4CAF50;
}

.status-rejected .status-icon {
    color: #f44336;
}

.status-message {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.status-details {
    color: #888;
    margin-bottom: 15px;
}

/* Стили для чата поддержки */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.chat-content {
    background: var(--modal-bg);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.chat-messages {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--input-bg);
    border-radius: 8px;
}

.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid #4CAF50;
}

.message.user {
    background: rgba(76, 175, 80, 0.1);
}

.message.admin {
    background: rgba(33, 150, 243, 0.1);
    border-left-color: #2196F3;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #888;
}

/* Улучшенные стили для уведомлений */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--modal-bg);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--shadow-color);
    z-index: 1001;
    color: var(--text-color);
    transition: opacity 0.3s;
    cursor: pointer;
    border-left: 4px solid #4CAF50;
    max-width: 400px;
    word-wrap: break-word;
}

.notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px var(--shadow-color);
}

/* Дополнительные стили для улучшенного UX */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.error-message {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #f44336;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

/* Стили для заблокированных элементов */
.method-option.disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

.method-option.disabled label {
    cursor: not-allowed !important;
}

.method-option.disabled:hover {
    border-color: #444 !important;
    background: transparent !important;
    transform: none !important;
}

/* Стили для регенерации кода */
.regenerate-code-button {
    background: #FF9800;
    border: none;
    border-radius: 6px;
    padding: 12px 15px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.regenerate-code-button:hover {
    background: #F57C00;
    transform: scale(1.05);
}

.code-display-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-display-field input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #4CAF50;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1.1em;
    font-weight: bold;
    color: #4CAF50;
    text-align: center;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

/* Стили для мастер-пароля */
.master-password-section {
    margin: 20px 0;
    padding: 15px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    border-left: 3px solid #4CAF50;
}

.master-password-section h4 {
    margin-top: 0;
    color: #4CAF50;
}

.master-password-notice {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid #FF9800;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.master-password-notice i {
    color: #FF9800;
    font-size: 1.5rem;
}

/* Стили для профиля */
.profile-stats {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #4CAF50;
}

.profile-stats h4 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.stat-item i {
    color: #4CAF50;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.stat-label {
    flex: 1;
    font-weight: 500;
    color: var(--text-color);
}

.stat-value {
    font-weight: bold;
    color: #4CAF50;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.info-item span:first-of-type {
    flex: 1;
    color: var(--text-color);
}

.info-item span:last-of-type {
    font-weight: bold;
    color: #4CAF50;
}

/* Финальные исправления для мобильных */
@media (max-width: 768px) {
    .step.active .step-number {
        animation: pulse 2s infinite;
    }

    .form-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .form-actions .green-button {
        width: 100%;
        max-width: 100%;
    }

    .search-method-card,
    .method-card {
        padding: 15px;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .timeline-item:not(:last-child):before {
        left: 50%;
        top: 30px;
        bottom: -20px;
        transform: translateX(-50%);
    }

    .user-actions,
    .request-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Стили для динамической загрузки методов */
.loading-methods {
    text-align: center;
    padding: 40px;
    color: #888;
}

.loading-methods i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.no-methods {
    text-align: center;
    padding: 40px;
    color: #FF9800;
}

.no-methods i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.method-card[data-method="trusted_contact_email"] .method-badge {
    background: #2196F3;
}

.method-card[data-method="email_check"] .method-badge {
    background: #9C27B0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Легаси информация */
.legacy-info {
    border-left: 4px solid #4CAF50 !important;
}

.legacy-info h4 {
    color: #4CAF50 !important;
}

.legacy-info i {
    color: #4CAF50 !important;
}

/* ========== ФИКС ПЕРЕНОСА ДЛЯ ПОДМЕНЮ ========== */
#user-submenu a {
    text-align: center;
    padding: 10px 20px !important;
    display: block;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
}

/* Специально для длинных пунктов меню */
#user-submenu a[data-lang="death_verification"],
#user-submenu a[data-lang="verification"] {
    text-align: center;
    padding: 8px 15px !important;
    line-height: 1.3;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Для мобильных - уменьшаем паддинг */
@media (max-width: 768px) {
    #user-submenu {
        min-width: 150px !important;
        max-width: 170px !important;
        right: 10px !important;
    }
    
    #user-submenu a {
        padding: 8px 15px !important;
        font-size: 14px !important;
        text-align: center;
    }
    
    /* Особенно для двухстрочного пункта */
    #user-submenu a[data-lang="death_verification"],
    #user-submenu a[data-lang="verification"] {
        padding: 6px 12px !important;
        line-height: 1.2;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

/* Для десктопов */
@media (min-width: 769px) {
    #user-submenu {
        min-width: 170px !important;
    }
    
    #user-submenu a {
        padding: 10px 20px !important;
        font-size: 16px !important;
    }
    
    #user-submenu a[data-lang="death_verification"],
    #user-submenu a[data-lang="verification"] {
        padding: 10px 20px !important;
    }
}

/* ========== УНИФИКАЦИЯ ВСЕХ ПУНКТОВ МЕНЮ ========== */
#user-submenu a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

#user-submenu a:last-child {
    border-bottom: none;
}

#user-submenu a:hover {
    background: rgba(76, 175, 80, 0.15);
    transform: none;
}

/* Иконки в меню */
#user-submenu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 14px;
}

/* Гарантия правильного позиционирования подменю */
.header {
    position: relative;
}

.nav {
    position: relative;
}

#user-submenu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--submenu-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    display: none;
    border: 1px solid rgba(76, 175, 80, 0.2);
    overflow: hidden;
}

/* Плавное появление */
#user-submenu[style*="display: block"] {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ ФИКСЫ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ ========== */
@media (max-width: 480px) {
    .plan-card {
        padding: 15px;
        max-width: 280px;
        min-height: 500px;
    }
    
    .plan-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 360px) {
    .plan-card {
        max-width: 260px;
        padding: 12px;
        min-height: 480px;
    }
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ МЕДИА-ЗАПРОСЫ ДЛЯ ТАБЛЕТОВ ========== */
@media (min-width: 480px) and (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav button {
        width: auto;
        min-width: 140px;
    }

    .actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .actions button {
        width: auto;
        flex: 1;
        min-width: 140px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* ИСПРАВЛЕНИЕ ВЫСОТЫ КАРТОЧЕК ДЛЯ ПЛАНШЕТОВ */
    .premium-plans {
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: row;
    }
    
    .plan-card {
        max-width: 350px;
        min-height: 540px;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    
    .plan-card ul {
        flex-grow: 1;
        margin-bottom: 15px;
    }
    
    .plan-card .green-button,
    .plan-card p[data-lang="current_plan"] {
        margin-top: auto;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .plan-card h3 {
        min-height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .plan-card .price,
    .price-switcher-container {
        min-height: 70px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ========== ФИКС ВЫСОТЫ КАРТОЧЕК ШАГОВ НА ДЕСКТОПЕ ========== */
@media (min-width: 769px) {
    .verification-steps {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        margin-bottom: 3rem;
    }
    
    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        min-height: 180px;
        max-height: 200px;
        padding: 20px 15px;
        margin: 0 5px;
        border: 1px solid rgba(76, 175, 80, 0.2);
        border-radius: 8px;
        background: rgba(30, 30, 30, 0.3);
        transition: all 0.3s ease;
        position: relative;
        justify-content: space-between;
    }
    
    /* Гарантируем одинаковую высоту всем шагам */
    .step-1, .step-2, .step-3, .step-4 {
        height: 100%;
        min-height: 180px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid #4CAF50;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.2rem;
        margin-bottom: 15px;
        flex-shrink: 0;
    }
    
    .step-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
    }
    
    .step-content h4 {
        font-family: 'Montserrat', sans-serif;
        font-size: 1rem;
        margin-bottom: 10px;
        color: var(--text-color);
        line-height: 1.3;
        min-height: 2.6em;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .step-content p {
        font-size: 0.85rem;
        color: #aaa;
        line-height: 1.4;
        margin: 0;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ========== ФИКС ДЛЯ ПЛАНШЕТОВ ========== */
@media (min-width: 481px) and (max-width: 768px) {
    .verification-steps {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .step {
        flex: 0 0 calc(50% - 20px);
        min-height: 160px;
        max-height: 180px;
        padding: 15px 10px;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .step-content h4 {
        font-size: 0.9rem;
        min-height: 2.4em;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
}

/* ========== ФИКС ДЛЯ ТЕЛЕФОНОВ - УБИРАЕМ ТЕКСТ, ОСТАВЛЯЕМ ТОЛЬКО КРУГИ ========== */
@media (max-width: 480px) {
    .verification-steps {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        margin-bottom: 2rem;
        gap: 5px;
        padding: 0 5px;
    }
    
    .step {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 80px !important;
        max-height: 100px !important;
        padding: 10px 5px !important;
        margin: 0 2px !important;
        border: 1px solid rgba(76, 175, 80, 0.1);
        border-radius: 8px;
        background: rgba(30, 30, 30, 0.2);
        transition: all 0.3s ease;
    }
    
    /* СКРЫВАЕМ ВЕСЬ ТЕКСТ НА ТЕЛЕФОНЕ! */
    .step-content {
        display: none !important;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        border: 2px solid #4CAF50;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 1.1rem;
        color: #fff;
        margin: 0 !important;
        flex-shrink: 0;
        background: rgba(76, 175, 80, 0.2);
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    }
    
    /* Активный шаг - подсвечиваем круг */
    .step.active .step-number {
        background: #4CAF50;
        box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
        animation: pulse-circle 2s infinite;
    }
    
    /* Завершенный шаг */
    .step.completed .step-number {
        background: #388E3C;
        border-color: #388E3C;
    }
    
    /* Ховер эффект для круга */
    .step:hover .step-number {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
    }
}

/* Для очень маленьких телефонов */
@media (max-width: 360px) {
    .step-number {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }
    
    .step {
        min-height: 70px !important;
        padding: 8px 4px !important;
    }
}

/* Анимация пульсации для активного круга */
@keyframes pulse-circle {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* ========== СТИЛИ ДЛЯ ПОЛЕЙ ТЕЛЕФОНА В КОНТАКТАХ ========== */
.contact-phone-input {
    margin-top: 8px;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 0.95rem;
}

.contact-phone-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.phone-hint {
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
    display: block;
}

.premium-badge-contact {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 5px;
    vertical-align: middle;
}

/* Для мобильных */
@media (max-width: 768px) {
    .contact-phone-input {
        font-size: 16px; /* Убирает зум на iOS */
        padding: 10px;
    }
}

/* ========== СТИЛИ ДЛЯ ОТСЛЕЖИВАНИЯ ПОЛУЧЕНИЯ ЗАВЕЩАНИЯ В АДМИН-ПАНЕЛИ ========== */

/* Стили для статусов премиума и просмотра */
.status-premium {
    color: #FFD700;
    font-weight: bold;
}

.status-free {
    color: #888;
    font-weight: bold;
}

.status-viewed {
    color: #4CAF50;
    font-weight: bold;
}

.status-not-viewed {
    color: #FF9800;
    font-weight: bold;
}

/* Стили для контактов наследников */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    border-left: 3px solid #4CAF50;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #4CAF50;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.contact-field i {
    color: #4CAF50;
    width: 16px;
}

.verification-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.verification-section h4 {
    margin-top: 0;
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 12px;
    }
}

/* ========== ФИКС IOS ЗУМА НА ПОЛЯХ ВВОДА ========== */
@media (max-width: 480px) {
  input, textarea { 
    font-size: 16px !important; /* iOS зум фикс */
  }
  
  /* Для конкретных типов полей */
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input[type="date"] {
    font-size: 16px !important;
  }
  
  /* Для текстовых областей в формах */
  .form-group input,
  .form-group textarea,
  .dynamic-field input,
  .dynamic-field textarea {
    font-size: 16px !important;
  }
}

/* Прелоадер для защищённых страниц */
#app-loader {
    position: fixed;           /* фиксируем на весь экран */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-body); /* фон под цвет темы */
    z-index: 9999;              /* поверх всего */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;     /* чтобы иконка и текст были друг под другом */
    transition: opacity 0.3s;
}

/* Иконка спиннера */
#app-loader i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 10px;
}

/* Текст под спиннером */
#app-loader span {
    color: var(--text-color);
    font-size: 1.2rem;
}

/* Плавное появление контента после авторизации */
#app-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Скрытие навигационных кнопок на главной странице во время проверки авторизации */
.auth-loading .nav-buttons,
.auth-loading #register-button,
.auth-loading #login-button,
.auth-loading #user-menu-button {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

/* ========== СТИЛИ ИЗ admin.html ========== */
.admin-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #4CAF50;
}

.admin-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #4CAF50;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 12px 24px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.admin-tab.active {
    border-bottom-color: #4CAF50;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.admin-section {
    display: none;
}
.admin-section.active {
    display: block;
}

.users-table, .verifications-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
}

.users-table th, .verifications-table th {
    background: var(--header-bg);
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid #4CAF50;
    font-weight: bold;
}

.users-table td, .verifications-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.user-actions, .verification-actions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn-ban { background: #f44336; color: white; }
.btn-unban { background: #4CAF50; color: white; }
.btn-delete { background: #ff9800; color: white; }
.btn-make-admin { background: #2196F3; color: white; }
.btn-remove-admin { background: #9C27B0; color: white; }
.btn-approve { background: #4CAF50; color: white; }
.btn-reject { background: #f44336; color: white; }
.btn-view { background: #2196F3; color: white; }

.action-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.status-banned { color: #f44336; font-weight: bold; }
.status-active { color: #4CAF50; font-weight: bold; }
.status-admin { color: #2196F3; font-weight: bold; }
.status-pending { color: #FF9800; font-weight: bold; }
.status-approved { color: #4CAF50; font-weight: bold; }
.status-rejected { color: #f44336; font-weight: bold; }
.status-premium { color: #FFD700; font-weight: bold; }
.status-free { color: #888; font-weight: bold; }
.status-viewed { color: #4CAF50; font-weight: bold; }
.status-not-viewed { color: #FF9800; font-weight: bold; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #4CAF50;
}

.stat-card h4 {
    margin-top: 0;
    color: #4CAF50;
    font-size: 1.1rem;
}

.stat-card p {
    font-size: 2.5rem;
    margin: 10px 0;
    font-weight: bold;
    color: var(--text-color);
}

.search-box {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--input-bg);
    color: var(--text-color);
}

.verification-details {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #4CAF50;
}

.verification-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.info-label {
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 5px;
}

.rejection-reason textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-color);
    resize: vertical;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    border-left: 3px solid #4CAF50;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #4CAF50;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.contact-field i {
    color: #4CAF50;
    width: 16px;
}

.verification-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.verification-section h4 {
    margin-top: 0;
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 10px;
}

#app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color, #1a1a1a);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    gap: 15px;
}
#app-loader i {
    font-size: 3rem;
    color: #4CAF50;
}
#app-loader span {
    color: var(--text-color, #fff);
    font-size: 1.2rem;
}

/* ========== СТИЛИ ИЗ claim.html ========== */
.legacy-section {
    background: var(--dynamic-field-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #4CAF50;
}

.legacy-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legacy-item.error {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.legacy-item h5 {
    margin: 0 0 10px 0;
    color: var(--text-color);
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
}

.legacy-item p {
    margin: 5px 0;
    line-height: 1.5;
}

.legacy-item pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}

.legacy-item strong {
    color: #4CAF50;
}

.master-password-notice {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid #FF9800;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.master-password-notice i {
    color: #FF9800;
    font-size: 1.2rem;
}

#legacy-content {
    display: none;
    margin-top: 30px;
}

.password-hint {
    font-size: 0.9em;
    color: #888;
    margin-top: 5px;
}

.time-limit-notice {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid #FF9800;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.time-limit-notice i {
    color: #FF9800;
    font-size: 1.5rem;
    margin-top: 2px;
}

.time-limit-notice p {
    margin: 0;
    line-height: 1.5;
}

.legacy-expiry-info {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 15px 0;
    font-size: 0.9em;
}

.legacy-expiry-info strong {
    color: #4CAF50;
}

@media (max-width: 768px) {
    .claim-container {
        padding: 15px;
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }
    .claim-header h2 {
        font-size: 1.5rem;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    .claim-header p {
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    .claim-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .form-group {
        width: 100%;
        margin-bottom: 15px;
    }
    .form-group input {
        width: 100%;
        padding: 10px;
        font-size: 16px;
        box-sizing: border-box;
        max-width: 100%;
    }
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
        display: block;
    }
    #claim-legacy-button,
    #decrypt-legacy-button {
        width: 100%;
        padding: 12px;
        font-size: 14px;
        margin: 5px 0;
        max-width: 100%;
    }
    .legacy-section {
        padding: 12px;
        margin-bottom: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    .legacy-item {
        padding: 10px;
        margin-bottom: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    .legacy-item h5 {
        font-size: 0.95rem;
    }
    .legacy-item p,
    .legacy-item pre {
        font-size: 0.85rem;
    }
    .password-hint {
        font-size: 0.8rem;
    }
    .master-password-notice {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        gap: 8px;
        font-size: 0.85rem;
    }
    .master-password-notice i {
        font-size: 0.9rem;
    }
    .time-limit-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 12px;
        gap: 10px;
    }
    .time-limit-notice i {
        font-size: 1.2rem;
    }
    .time-limit-notice p {
        font-size: 0.85rem;
    }
    .legacy-expiry-info {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    .footer-links {
        display: none;
    }
}

@media (min-width: 769px) {
    .claim-container {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* ========== СТИЛИ ИЗ index.html ========== */
#forgot-password-link {
    color: #4CAF50;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}
#forgot-password-link:hover {
    text-decoration: underline;
    color: #3d8b40;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .nav {
        display: flex;
        gap: 8px;
        align-items: center;
    }
    .green-button {
        padding: 8px 12px;
        font-size: 14px;
        white-space: nowrap;
    }
    #register-button,
    #login-button {
        padding: 6px 10px;
        font-size: 13px;
    }
    #user-menu-button {
        padding: 8px 16px;
    }
    .logo {
        font-size: 20px;
    }
    .hero h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    .hero p {
        font-size: 0.9rem;
        text-align: center;
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .feature-card {
        padding: 15px;
    }
    .feature-card h3 {
        font-size: 1.1rem;
    }
    .feature-card p {
        font-size: 0.85rem;
    }
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }
    .footer-links a {
        flex: 0 0 calc(50% - 5px);
        text-align: center;
        font-size: 12px;
    }
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 10px auto;
        padding: 15px;
    }
    .form-group input {
        max-width: 100%;
        box-sizing: border-box;
    }
    #forgot-password-link {
        font-size: 14px;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .nav {
        gap: 5px;
    }
    #register-button,
    #login-button {
        padding: 5px 8px;
        font-size: 12px;
    }
    .footer-links a {
        flex: 0 0 100%;
        margin: 3px 0;
    }
    #forgot-password-link {
        font-size: 13px;
    }
}

@media (min-width: 769px) {
    .nav {
        gap: 15px;
    }
    .green-button {
        padding: 12px 24px;
        font-size: 16px;
    }
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    .footer-links {
        display: flex;
        gap: 20px;
    }
    .footer-links a {
        flex: none;
    }
    #forgot-password-link {
        font-size: 15px;
        margin-top: 15px;
    }
}

.nav-loader {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}
.auth-loading .nav-loader {
    display: flex;
}
.auth-loading #register-button,
.auth-loading #login-button,
.auth-loading #user-menu-button {
    display: none !important;
}

/* ========== СТИЛИ ИЗ legacy.html ========== */
body {
    background-color: #121212;
    color: #e0e0e0;
    transition: none !important;
}
body.dark {
    opacity: 1 !important;
    visibility: visible !important;
}

.premium-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: bold;
    margin-left: 5px;
}

.encryption-card.premium-only {
    position: relative;
}

.legacy-tabs-container {
    margin: 30px 0;
}

.legacy-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.legacy-tab {
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1.2rem;
    background: #757575;
    color: white;
    border: 2px solid #757575;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    font-weight: 600;
    text-align: center;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
}

.legacy-tab:hover {
    background: #5a5a5a;
    border-color: #5a5a5a;
    transform: translateY(-2px);
}

.legacy-tab.active {
    background: transparent;
    color: #4CAF50;
    border: 2px solid #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
}

@media (max-width: 768px) {
    .legacy-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }
    .legacy-tab {
        width: 100%;
        padding: 10px 15px;
        font-size: 1rem;
        max-width: none;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .legacy-tab {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

.encryption-card.selected {
    border: 2px solid #4CAF50 !important;
    background: linear-gradient(45deg, #1e1e1e, #2c2c2c) !important;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3) !important;
    transform: translateY(-5px);
}

.encryption-card {
    border: 2px solid #757575;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.encryption-card:hover {
    border-color: #4CAF50;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.light .encryption-card.selected {
    border: 2px solid #4CAF50 !important;
    background: rgba(76, 175, 80, 0.1) !important;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3) !important;
}

.light .encryption-card {
    border: 2px solid #ddd;
}

@media (max-width: 768px) {
    .encryption-cards {
        grid-template-columns: 1fr;
    }
    .encryption-card {
        padding: 15px;
    }
    .encryption-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .encryption-card h4 {
        font-size: 1.1rem;
    }
    .encryption-card p {
        font-size: 0.9rem;
    }
}

body.light {
    background-color: #ffffff;
    color: #333333;
}

body.light .header,
body.light .footer {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

body.light .encryption-card {
    background-color: #f9f9f9;
    border-color: #ddd;
    color: #333;
}

body.light .encryption-card:hover {
    border-color: #4CAF50;
    background-color: #fff;
}

body.light .encryption-card.selected {
    border-color: #4CAF50;
    background-color: #e8f5e9;
}

body.light .legacy-tab {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    color: #333;
}

body.light .legacy-tab.active {
    background-color: transparent;
    color: #4CAF50;
    border-color: #4CAF50;
}

body.light input,
body.light textarea,
body.light select {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #333;
}

body.light .modal-content {
    background-color: #fff;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

body.light .close {
    color: #666;
}
body.light .close:hover {
    color: #000;
}

body.light .dynamic-field {
    background: #f5f5f5;
    border-color: #ddd;
}

body.light .green-button {
    background: #4CAF50;
    color: white;
}
body.light .green-button:hover {
    background: #45a049;
}

/* ========== СТИЛИ ИЗ profile.html ========== */
.alive-check-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.alive-check-section h4 {
    color: #4CAF50;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.alive-check-section h4 i {
    color: #4CAF50;
}

.status-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.alive-check-details {
    margin: 15px 0;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(76, 175, 80, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.status-label {
    font-weight: 500;
    color: #ccc;
    font-size: 14px;
}

.status-value {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.status-value.confirmed {
    color: #4CAF50;
}

.status-value.pending {
    color: #FF9800;
}

.status-value.expired {
    color: #f44336;
}

.status-value.neutral {
    color: #4CAF50;
}

.status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    font-size: 10px;
}

.status-icon.confirmed {
    background: #4CAF50;
}

.status-icon.pending {
    background: #FF9800;
}

.status-icon.expired {
    background: #f44336;
}

.countdown {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #4CAF50;
}

.alive-check-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.alive-check-actions .green-button {
    flex: 1;
    min-width: 150px;
    font-size: 14px;
}

.alive-check-actions .green-button i {
    margin-right: 8px;
}

.status-note {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 6px;
    border-left: 3px solid #FF9800;
    font-size: 12px;
}

.status-note p {
    margin: 5px 0;
    color: #FF9800;
}

.status-note i {
    color: #FF9800;
    margin-right: 8px;
}

.alive-check-disabled {
    text-align: center;
    padding: 20px;
    color: #666;
}

.alive-check-disabled i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ccc;
}

.alive-check-disabled a {
    color: #4CAF50;
    text-decoration: none;
}
.alive-check-disabled a:hover {
    text-decoration: underline;
}

.activation-methods {
    margin: 20px 0;
}

.method-option {
    margin-bottom: 15px;
    padding: 15px;
    border: 2px solid #444;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.method-option:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.method-option input[type="checkbox"],
.method-option input[type="radio"] {
    margin-right: 10px;
}

.method-option label {
    cursor: pointer;
    display: block;
}

.method-option strong {
    color: #4CAF50;
    font-size: 16px;
}

.method-option p {
    margin: 5px 0 0 0;
    color: #aaa;
    font-size: 14px;
}

.method-note {
    font-style: italic;
    color: #FF9800 !important;
    font-size: 13px;
}

.trusted-code-display {
    margin-top: 10px;
    padding: 10px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 5px;
    border-left: 3px solid #4CAF50;
}

.code-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.code-input-group label {
    font-weight: bold;
    color: #4CAF50;
    font-size: 14px;
}

.code-input-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.code-input-field input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #4CAF50;
    border-radius: 5px;
    padding: 8px 12px;
    color: white;
    font-size: 14px;
}

.code-hint {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.settings-description {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 14px;
}

.settings-note {
    margin-top: 15px;
    font-size: 13px;
    color: #888;
    text-align: center;
}

.info-section {
    margin: 20px 0;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #4CAF50;
}

.info-card i {
    color: #4CAF50;
    font-size: 20px;
    margin-top: 5px;
}

.info-card h4 {
    margin: 0 0 5px 0;
    color: #4CAF50;
    font-size: 16px;
}

.info-card p {
    margin: 0;
    font-size: 14px;
}

.method-settings {
    margin-top: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border-left: 3px solid #4CAF50;
}

.green-button.small {
    padding: 8px 16px;
    font-size: 14px;
}

.privacy-options {
    margin: 20px 0;
}

.privacy-option {
    margin-bottom: 15px;
    padding: 15px;
    border: 2px solid #444;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.privacy-option:hover {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

.privacy-option input[type="checkbox"] {
    margin-right: 10px;
}

.privacy-option label {
    cursor: pointer;
    display: block;
}

.privacy-option strong {
    color: #4CAF50;
    font-size: 16px;
}

.privacy-option p {
    margin: 5px 0 0 0;
    color: #aaa;
    font-size: 14px;
}

.personal-data-fields {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border-left: 3px solid #4CAF50;
}

.personal-data-fields .form-group {
    margin-bottom: 15px;
}

.personal-data-fields label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #ccc;
    font-size: 14px;
}

.personal-data-fields input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    color: white;
    box-sizing: border-box;
    font-size: 14px;
}

.date-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    color: white;
    box-sizing: border-box;
    font-size: 14px;
}

.profile-stats {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.profile-stats h4 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.stat-item i {
    width: 20px;
    color: #4CAF50;
    margin-right: 10px;
    font-size: 16px;
}

.stat-label {
    flex: 1;
    font-weight: 500;
    color: #ccc;
    font-size: 14px;
}

.stat-value {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.legacy-info {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #2196F3;
}

.legacy-info h4 {
    color: #2196F3;
    margin-bottom: 15px;
    font-size: 16px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.info-item i {
    width: 20px;
    color: #2196F3;
    margin-right: 10px;
    font-size: 16px;
}

.info-item span:first-of-type {
    flex: 1;
    font-weight: 500;
    color: #ccc;
    font-size: 14px;
}

.info-item span:last-of-type {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.contact-item {
    display: block;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.contact-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-email {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #444;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-phone-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-phone-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #444;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-phone-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.phone-hint {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.premium-badge-contact {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    vertical-align: middle;
}

.contact-pair {
    position: relative;
}

.contact-pair:after {
    content: "";
    position: absolute;
    left: 15px;
    top: 40px;
    bottom: 10px;
    width: 2px;
    background: rgba(76, 175, 80, 0.3);
    border-radius: 1px;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        max-width: 100%;
        font-size: 14px;
    }
    .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    .alive-check-actions {
        flex-direction: column;
    }
    .alive-check-actions .green-button {
        width: 100%;
    }
    .status-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .profile .container {
        padding: 8px;
    }
    .profile-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .profile-card {
        width: 100%;
        padding: 12px;
        margin-bottom: 0;
        box-sizing: border-box;
    }
    h2 {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 12px;
    }
    h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    .status-block {
        font-size: 12px;
        margin: 8px 0;
        display: flex;
        justify-content: space-between;
    }
    .master-password-section h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }
    .master-password-section .green-button {
        width: 100%;
        padding: 10px;
        font-size: 13px;
        margin-bottom: 8px;
    }
    .password-hint {
        font-size: 11px;
        margin-top: 6px;
    }
    .profile-card .green-button {
        width: 100%;
        margin-bottom: 8px;
        padding: 10px;
        font-size: 13px;
        display: block;
    }
    #profile-email {
        font-size: 12px;
        word-break: break-all;
    }
    .status-label, .status-value {
        width: 100%;
        text-align: left;
        font-size: 12px;
    }
    .alive-check-section {
        margin: 15px 0;
        padding: 12px;
        border-radius: 8px;
    }
    .alive-check-section h4 {
        gap: 8px;
        font-size: 15px;
    }
    .status-loading {
        padding: 12px;
        font-size: 13px;
    }
    .alive-check-details {
        margin: 10px 0;
    }
    .status-item {
        margin-bottom: 8px;
        padding: 8px;
    }
    .status-label {
        font-size: 13px;
    }
    .status-value {
        font-size: 13px;
    }
    .status-icon {
        width: 18px;
        height: 18px;
        margin-right: 8px;
        font-size: 9px;
    }
    .countdown {
        font-size: 13px;
    }
    .alive-check-actions .green-button {
        font-size: 13px;
        padding: 10px;
    }
    .alive-check-actions .green-button i {
        margin-right: 6px;
    }
    .status-note {
        margin-top: 8px;
        padding: 8px;
        font-size: 11px;
    }
    .status-note p {
        margin: 4px 0;
    }
    .status-note i {
        margin-right: 6px;
    }
    .alive-check-disabled {
        padding: 12px;
        font-size: 13px;
    }
    .alive-check-disabled i {
        font-size: 18px;
        margin-bottom: 6px;
    }
    .modal-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
        padding: 12px;
        margin: 10px auto;
        box-sizing: border-box;
    }
    #activation-settings-modal .modal-content,
    #personal-data-modal .modal-content {
        width: 95%;
        max-width: 95%;
    }
    .form-group {
        margin-bottom: 10px;
    }
    .form-group input, .form-group select {
        padding: 8px;
        font-size: 13px;
        width: 100%;
        box-sizing: border-box;
    }
    .modal-content .green-button {
        width: 100%;
        margin-bottom: 8px;
        padding: 10px;
        font-size: 13px;
    }
    html, body {
        overflow-x: hidden;
        position: relative;
    }
    .header .container {
        padding: 0 10px;
    }
    .nav {
        display: flex;
        gap: 8px;
    }
    .activation-methods {
        margin: 15px 0;
    }
    .method-option {
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 6px;
    }
    .method-option label {
        font-size: 13px;
    }
    .method-option strong {
        font-size: 14px;
    }
    .method-option p {
        margin: 4px 0 0 0;
        font-size: 12px;
    }
    .method-note {
        font-size: 11px;
    }
    .trusted-code-display {
        margin-top: 8px;
        padding: 8px;
        border-radius: 4px;
    }
    .code-input-group label {
        font-size: 12px;
    }
    .code-input-field input {
        padding: 6px 10px;
        font-size: 12px;
    }
    .code-hint {
        font-size: 10px;
        margin-top: 4px;
    }
    .settings-description {
        margin-bottom: 12px;
        font-size: 12px;
    }
    .settings-note {
        margin-top: 12px;
        font-size: 11px;
    }
    .info-section {
        margin: 12px 0;
    }
    .info-card {
        gap: 10px;
        padding: 10px;
        border-radius: 6px;
        margin-bottom: 10px;
    }
    .info-card i {
        font-size: 16px;
        margin-top: 2px;
    }
    .info-card h4 {
        margin: 0 0 4px 0;
        font-size: 14px;
    }
    .info-card p {
        font-size: 12px;
    }
    .method-settings {
        margin-top: 8px;
        padding: 10px;
        border-radius: 4px;
    }
    .green-button.small {
        padding: 6px 12px;
        font-size: 12px;
    }
    .privacy-options {
        margin: 12px 0;
    }
    .privacy-option {
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 6px;
    }
    .privacy-option label {
        font-size: 13px;
    }
    .privacy-option strong {
        font-size: 14px;
    }
    .privacy-option p {
        margin: 4px 0 0 0;
        font-size: 12px;
    }
    .personal-data-fields {
        margin-top: 10px;
        padding: 10px;
        border-radius: 4px;
    }
    .personal-data-fields .form-group {
        margin-bottom: 10px;
    }
    .personal-data-fields label {
        margin-bottom: 4px;
        font-size: 12px;
    }
    .personal-data-fields input {
        padding: 8px;
        font-size: 13px;
    }
    .date-input {
        padding: 8px;
        font-size: 13px;
    }
    .profile-stats {
        margin: 12px 0;
        padding: 10px;
        border-radius: 6px;
    }
    .profile-stats h4 {
        margin-bottom: 10px;
        font-size: 14px;
    }
    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 8px;
        padding: 6px 0;
    }
    .stat-item i {
        width: 20px;
        margin-right: 8px;
        font-size: 14px;
        margin-bottom: 4px;
    }
    .stat-label {
        font-size: 12px;
        margin-bottom: 2px;
    }
    .stat-value {
        font-size: 12px;
        width: 100%;
    }
    .legacy-info {
        margin-top: 12px;
        padding: 10px;
        border-radius: 6px;
    }
    .legacy-info h4 {
        margin-bottom: 10px;
        font-size: 14px;
    }
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 8px;
        padding: 6px 0;
    }
    .info-item i {
        width: 20px;
        margin-right: 8px;
        font-size: 14px;
        margin-bottom: 4px;
    }
    .info-item span:first-of-type {
        font-size: 12px;
        margin-bottom: 2px;
    }
    .info-item span:last-of-type {
        font-size: 12px;
        width: 100%;
    }
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .contact-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    .contact-email, .contact-phone-input {
        font-size: 16px;
        padding: 12px;
    }
    .delete-button {
        width: 28px;
        height: 28px;
        font-size: 16px;
        line-height: 28px;
        top: 8px;
        right: 8px;
    }
    .phone-hint {
        font-size: 11px;
    }
    .contact-pair:after {
        left: 12px;
        top: 44px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 15px;
    }
    .profile-card {
        padding: 15px;
    }
    .container {
        max-width: 95%;
    }
}

@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    .contact-item {
        padding: 15px;
    }
    .contact-email, .contact-phone-input {
        padding: 12px;
    }
}

/* ========== СТИЛИ ИЗ support.html ========== */
.support-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.support-header {
    text-align: center;
    margin-bottom: 40px;
}

.support-header h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.support-header p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

.faq-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(76, 175, 80, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    line-height: 1.5;
    color: var(--text-color);
}

.contact-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.contact-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-email {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 15px 0;
}

.contact-note {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-top: 10px;
}

.back-button {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .support-container {
        padding: 20px 15px;
    }
    .support-header h1 {
        font-size: 1.8rem;
    }
    .support-header p {
        font-size: 0.95rem;
    }
    .faq-section {
        padding: 25px 20px;
        border-radius: 12px;
    }
    .faq-section h2 {
        font-size: 1.4rem;
        text-align: center;
    }
    .faq-item {
        padding: 15px;
        border-radius: 8px;
    }
    .faq-item h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .faq-item p {
        font-size: 0.9rem;
    }
    .contact-section {
        padding: 25px 20px;
        border-radius: 12px;
        margin-top: 20px;
    }
    .contact-section h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    .contact-email {
        font-size: 1rem;
        margin: 12px 0;
        word-break: break-word;
    }
    .contact-note {
        font-size: 0.85rem;
        margin-top: 8px;
    }
    .back-button {
        margin-top: 25px;
    }
    .back-button .green-button {
        width: 100%;
        max-width: 300px;
        padding: 12px;
        font-size: 14px;
    }
    .mobile-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .mobile-button {
        padding: 10px 15px;
        font-size: 14px;
    }
    .mobile-submenu {
        width: 200px;
        right: 10px;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .back-button .green-button {
        max-width: 100%;
    }
}

/* ========== СТИЛИ ИЗ verification.html ========== */
.verification-page {
    padding: 2rem 0;
    min-height: calc(100vh - 140px);
}

.verification-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border-left: 5px solid #4CAF50;
}

.verification-header {
    text-align: center;
    margin-bottom: 2rem;
}

.verification-header h2 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.verification-header p {
    color: #aaa;
}

.verification-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: #4CAF50;
    color: white;
}

.step.completed .step-number {
    background-color: #388E3C;
    color: white;
}

.step-content {
    text-align: center;
}

.step-content h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.step-content p {
    font-size: 0.8rem;
    color: #aaa;
}

.verification-content {
    position: relative;
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
}

.search-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 2rem;
}

.search-method-card, .method-card {
    background: var(--feature-card-bg);
    border: 2px solid #444;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-method-card:hover, .method-card:hover {
    border-color: #4CAF50;
    transform: translateY(-5px);
}

.search-method-card.selected, .method-card.selected {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.method-icon {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.search-method-card h4, .method-card h4 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.search-method-card p, .method-card p {
    color: #aaa;
    font-size: 0.9rem;
}

.method-badge {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    margin-top: 0.5rem;
}

.search-result-card {
    background: var(--dynamic-field-bg);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-card:hover {
    border-color: #4CAF50;
}

.search-result-card.selected {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.trusted-contact-info {
    display: flex;
    align-items: flex-start;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.verification-status {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.status-approved {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #FF9800;
}

.status-icon {
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
}

.status-approved .status-icon {
    color: #4CAF50;
}

.status-pending .status-icon {
    color: #FF9800;
}

.timeline-item {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 25px;
    height: calc(100% + 1.5rem);
    width: 2px;
    background-color: #444;
    z-index: 1;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    position: relative;
    z-index: 2;
}

.date-input {
    direction: ltr;
    text-align: left;
}

input[type="date"] {
    direction: ltr;
    text-align: left;
}

.loading-methods {
    text-align: center;
    padding: 2rem;
    color: #aaa;
}

.loading-methods .fa-spinner {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    .verification-page {
        padding: 1rem 0;
        min-height: calc(100vh - 120px);
        width: 100%;
        overflow-x: hidden;
    }
    .verification-container {
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
        padding: 1.5rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        border-left: 4px solid #4CAF50;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .verification-header {
        margin-bottom: 1.5rem;
        width: 100%;
    }
    .verification-header h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    .verification-header p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    .verification-steps {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        width: 100%;
        padding: 0 5px;
    }
    .verification-steps::before {
        display: none;
    }
    .step {
        flex-direction: column;
        flex: 1;
        min-width: 0;
    }
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .step-content {
        text-align: center;
        width: 100%;
    }
    .step-content h4 {
        font-size: 0.75rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .step-content p {
        font-size: 0.65rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .verification-content {
        width: 100%;
    }
    .search-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
    }
    .search-method-card, .method-card {
        border-radius: 8px;
        padding: 1rem;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    .search-method-card:hover, .method-card:hover {
        transform: translateY(-2px);
    }
    .method-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    .search-method-card h4, .method-card h4 {
        font-size: 0.95rem;
    }
    .search-method-card p, .method-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    .search-result-card {
        border-radius: 6px;
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        width: 100%;
        box-sizing: border-box;
    }
    .trusted-contact-info {
        border-radius: 6px;
        padding: 0.8rem;
        margin-bottom: 1.2rem;
        font-size: 0.85rem;
        width: 100%;
        box-sizing: border-box;
    }
    .verification-status {
        padding: 1.2rem;
        border-radius: 8px;
        margin-bottom: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    .status-icon {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    .form-group {
        margin-bottom: 1rem;
        width: 100%;
    }
    .form-group label {
        display: block;
        margin-bottom: 0.4rem;
        font-weight: 600;
        color: var(--text-color);
        font-size: 0.85rem;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 0.7rem;
        background: var(--dynamic-field-bg);
        border: 1px solid #444;
        border-radius: 5px;
        color: var(--text-color);
        font-size: 0.85rem;
        box-sizing: border-box;
    }
    input[type="date"]::-webkit-calendar-picker-indicator {
        display: none;
    }
    input[type="date"] {
        -webkit-appearance: none;
        appearance: none;
    }
    .form-actions {
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
        margin-top: 1.5rem;
        width: 100%;
    }
    .form-actions button {
        width: 100%;
        padding: 0.7rem;
        font-size: 0.85rem;
        box-sizing: border-box;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .search-methods {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .form-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .form-actions button {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 360px) {
    .verification-container {
        padding: 1rem;
    }
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .step-content h4 {
        font-size: 0.7rem;
    }
    .step-content p {
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    input, textarea, select {
        font-size: 16px !important;
    }
}

/* Добавить в конец style.css */

/* Глобальный лоадер */
.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20000;
    backdrop-filter: blur(3px);
}
.global-loader i {
    font-size: 3rem;
    color: #4CAF50;
}

/* Модал подтверждения */
#confirm-modal .modal-content {
    max-width: 400px;
    text-align: center;
}
#confirm-modal p {
    margin: 20px 0;
    font-size: 1.1rem;
}
.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}
.modal-actions .green-button {
    width: auto;
    min-width: 100px;
}
.modal-actions .cancel-button {
    background: #757575;
}
.modal-actions .cancel-button:hover {
    background: #5a5a5a;
}
/* ========== ПРИЖАТИЕ ФУТЕРА К НИЗУ ========== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#app-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#app-content > section,
#app-content > main {
    flex: 1 0 auto;
}

#app-content > footer {
    flex-shrink: 0;
}

/* Стили для заблокированных карточек методов шифрования */
.encryption-card.disabled {
    opacity: 0.6;
    filter: grayscale(0.2);
    pointer-events: none;
    cursor: not-allowed;
    position: relative;
}

.encryption-card.disabled .premium-badge {
    display: inline-block;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
    animation: pulse-gold 2s infinite;
}

/* Центрирование кнопки в модальном окне предупреждения */
#close-warning-modal-btn {
    display: block;
    margin: 20px auto 10 auto;
    text-align: center;
}

/* Стили для модального окна предупреждения */
.warning-modal-content {
    max-width: 500px;
    border-left: 4px solid #FF9800;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
}

.warning-header {
    background: rgba(255, 152, 0, 0.1);
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid rgba(255, 152, 0, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.warning-header i {
    font-size: 28px;
    color: #FF9800;
}

.warning-header h3 {
    margin: 0;
    color: #FF9800;
    font-size: 1.3rem;
    flex: 1;
}

.warning-header .close {
    position: static;
    font-size: 24px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.warning-header .close:hover {
    opacity: 1;
}

.warning-message {
    padding: 20px;
}

.warning-message p {
    margin: 0 0 12px 0;
    line-height: 1.5;
    color: var(--text-color);
}

.warning-message ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.warning-message li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
}

.warning-message li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 1rem;
}

.warning-btn {
    display: block;
    width: 140px;
    margin: 0 auto 20px auto;
    background: linear-gradient(45deg, #FF9800, #F57C00);
    border: none;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
    transition: all 0.3s;
}

.warning-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

/* ========== ВСПОМОГАТЕЛЬНЫЕ КЛАССЫ ДЛЯ УПРАВЛЕНИЯ ========== */
.hidden { display: none !important; }
.visible-flex { display: flex !important; }
.visible-block { display: block !important; }
.text-center { text-align: center !important; }
.bg-secondary { background: #6c757d !important; }
.modal-wide { max-width: 800px !important; }

/* ========== ВСПОМОГАТЕЛЬНЫЕ КЛАССЫ ДЛЯ claim.html ========== */
.app-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.mt-20 {
    margin-top: 20px !important;
}
.inline-flex {
    display: inline-flex !important;
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-column {
    flex-direction: column;
}
.fs-small {
    font-size: 0.9em !important;
}
.color-secondary {
    color: #888 !important;
}
.legacy-time-limit {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid #FF9800;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}
.legacy-time-limit i {
    color: #FF9800;
    font-size: 1.5rem;
    margin-top: 2px;
}
.legacy-time-limit p {
    margin: 0;
    line-height: 1.5;
}
.legacy-time-limit .small {
    font-size: 0.9em;
    color: #888;
    margin-top: 5px;
}

/* ========== ДЛЯ payment-success.html ========== */
.success-page {
    text-align: center;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
}
.success-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 30px;
}
.success-title {
    color: #4CAF50;
    margin-bottom: 20px;
}
.info-card {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: left;
}
.info-card h3 {
    margin-top: 0;
    color: #4CAF50;
}
.features-list {
    text-align: left;
    padding-left: 20px;
}
.features-list li {
    margin-bottom: 8px;
}
.success-buttons {
    margin-top: 40px;
}
.success-buttons .button {
    background: #4CAF50;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin: 10px;
}
.success-buttons .button-blue {
    background: #2196F3;
}
.support-link {
    margin-top: 50px;
    color: #888;
    font-size: 14px;
}
.support-link a {
    color: #4CAF50;
}

/* Дополнительные классы для профиля */
.modal-medium {
    max-width: 600px !important;
}
.modal-small {
    max-width: 500px !important;
}
.bg-warning {
    color: #FF9800 !important;
    display: block !important;
}
.bg-gray {
    background: #757575 !important;
}
.mt-10 {
    margin-top: 10px !important;
}
.ml-10 {
    margin-left: 10px !important;
}
.success-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 30px;
}
.premium-phone-content {
    text-align: center;
    margin: 20px 0;
}
.premium-phone-icon {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}
.premium-phone-card {
    background: rgba(76, 175, 80, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 3px solid #4CAF50;
}
.premium-phone-ul {
    text-align: left;
    padding-left: 20px;
}

.fa-spinner-large {
    font-size: 3rem;
    color: #4CAF50;
}
.loader-text {
    margin-left: 10px;
    color: var(--text-color);
}
.text-warning {
    color: #FFD700 !important;
}

/* Для settings.html */
.flex-column {
    flex-direction: column !important;
}
.min-vh-100 {
    min-height: 100vh !important;
}

/* Для verification.html */
.date-input-ltr {
    direction: ltr !important;
    text-align: left !important;
}
.form-actions-center {
    text-align: center !important;
}

.inline-block { display: inline-block !important; }
.mt-5 { margin-top: 5px !important; }
.fs-small { font-size: 0.9em !important; }
.color-secondary { color: #888 !important; }
.text-success { color: #4CAF50 !important; }

/* Прижатие футера ко дну */
#app-content {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

#app-content > section,
#app-content > main {
    flex: 1 0 auto !important;
}

#app-content > footer {
    flex-shrink: 0 !important;
}

/* Красивый чекбокс согласия */
#terms-checkbox-group {
    margin: 20px 0 10px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #4CAF50;
}
.checkbox-text {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-color);
}
.checkbox-text a {
    color: #4CAF50;
    text-decoration: none;
}
.checkbox-text a:hover {
    text-decoration: underline;
}
.light .checkbox-text {
    color: #333;
}
.light .checkbox-text a {
    color: #4CAF50;
}

/* Зелёные ссылки только на страницах с юридическими документами */
.legal-page a {
    color: #4CAF50 !important;
    text-decoration: none;
}
.legal-page a:hover {
    text-decoration: underline !important;
}

/* Глазик для показа пароля в разделе Аккаунты */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
}

.password-wrapper .password-input {
    flex: 1;
    padding-right: 35px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 12px;
    margin-bottom: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #4CAF50;
    font-size: 1.1rem;
    padding: 0;
    z-index: 1;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #388E3C;
}

/* Светлая тема – цвет кнопки остаётся зелёным, но можно подстроить */
.light .toggle-password {
    color: #4CAF50;
}
.light .toggle-password:hover {
    color: #2e7d32;
}

/* Подсветка активного тарифного плана */
.plan-card.current-plan {
    border: 2px solid #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* ========== СТРАНИЦЫ ПОДТВЕРЖДЕНИЯ (ЦЕНТРИРОВАННЫЕ) ========== */
.confirm-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background: var(--bg-body);
}
.confirm-card {
    max-width: 500px;
    width: 90%;
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: 24px;
    border-left: 5px solid #4CAF50;
    box-shadow: 0 20px 40px var(--shadow-color);
}
.confirm-icon {
    font-size: 80px;
    margin-bottom: 20px;
}
.confirm-icon.success { color: #4CAF50; }
.confirm-icon.warning { color: #FF9800; }
.confirm-icon.error { color: #f44336; }
.confirm-title {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    font-size: 2rem;
}
.confirm-title.success { color: #4CAF50; }
.confirm-title.warning { color: #FF9800; }
.confirm-title.error { color: #f44336; }
.confirm-text {
    margin-bottom: 30px;
    color: var(--text-color);
    line-height: 1.5;
    font-size: 1rem;
}
.confirm-button {
    display: inline-block;
    text-decoration: none;
    border: none;
    background: linear-gradient(45deg, #4CAF50, #388E3C);
    color: #fff;
    padding: 12px 32px;
    border-radius: 40px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.confirm-button:hover {
    background: linear-gradient(45deg, #388E3C, #4CAF50);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ========== ИКОНКИ СТАТУСА ПРОВЕРКИ ЖИЗНИ
.status-icon.confirmed i,
.status-icon.confirmed .fa-check-circle {
    color: #4CAF50;
}
.status-icon.pending i,
.status-icon.pending .fa-hourglass-half {
    color: #FF9800;
}
.status-icon.expired i,
.status-icon.expired .fa-exclamation-triangle {
    color: #f44336;
}

/* ========== НОВЫЕ КЛАССЫ ДЛЯ СТРАНИЦЫ ПОДДЕРЖКИ И LEGACY ========== */

/* Блок подсказки на /legacy */
.encryption-info-link {
    margin: 15px 0 30px;
    text-align: center;
}

.encryption-info-link a {
    color: #4CAF50;
    text-decoration: none;
}
.encryption-info-link a:hover {
    text-decoration: underline;
}

/* Раздел механик на /support */
.mechanics-section {
    margin-bottom: 40px;
}

.mechanics-title {
    text-align: center;
    margin-bottom: 30px;
    color: #4CAF50;
}

/* Карточки идут в колонку, широкие */
.mechanics-section .encryption-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mechanics-section .encryption-card {
    width: 100%;
    margin: 0;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
}

/* Центрирование заголовков карточек */
.mechanics-section .encryption-card h4 {
    text-align: center;
}

/* Иконки внутри карточек */
.mechanics-section .encryption-icon {
    text-align: center;
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

/* Блок с плюсами (Безопасность, Поддержка и т.д.) */
.mechanics-section .mechanics-note {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Каждая отдельная строка плюса */
.mechanics-section .note-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

/* Иконки в строках — фиксированная ширина для ровности */
.mechanics-section .note-line i {
    width: 20px;
    text-align: center;
}

/* ========== СТИЛИ ДЛЯ ВЫБОРА ПОЛЬЗОВАТЕЛЯ (ТЁЗОК) ========== */
#user-selection-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#user-selection-list .search-result-card {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #444;
    border-radius: 10px;
    background: var(--card-bg);
}

#user-selection-list .search-result-card:hover {
    border-color: #4CAF50;
    transform: translateY(-2px);
    background: rgba(76, 175, 80, 0.05);
}

#user-selection-list .search-result-card.selected {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.15);
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
}

#user-selection-list .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}