/* ==========================================================================
   Тризуб МС — Авторизація, Реєстрація, Кабінет та Модальні вікна (Full Responsive)
   ========================================================================== */

:root {
    --auth-bg: #060912;
    --auth-card-bg: rgba(14, 20, 40, 0.88);
    --auth-card-border: rgba(255, 215, 0, 0.16);
    --auth-gold: #ffd700;
    --auth-gold-hover: #ffea70;
    --auth-gold-glow: rgba(255, 215, 0, 0.35);
    --auth-text: #f0f3fa;
    --auth-text-muted: #9aa5be;
    --auth-input-bg: rgba(7, 11, 24, 0.85);
    --auth-input-border: rgba(255, 255, 255, 0.12);
    --auth-input-focus: #ffd700;
    --auth-danger: #ff4d6d;
    --auth-danger-bg: rgba(255, 77, 109, 0.14);
    --auth-success: #2ecc71;
    --auth-success-bg: rgba(46, 204, 113, 0.14);
    --auth-radius: 16px;
    --auth-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Скидання та база для окремих сторінок */
.auth-body {
    background-color: var(--auth-bg);
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(0, 150, 255, 0.06) 0%, transparent 45%);
    background-attachment: fixed;
    color: var(--auth-text);
    font-family: var(--auth-font);
    margin: 0;
    padding: 20px 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Контейнер форми */
.auth-container {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    animation: authFadeIn 0.35s ease-out;
}

.cabinet-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    animation: authFadeIn 0.35s ease-out;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Картка */
.auth-card {
    background: var(--auth-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--auth-card-border);
    border-radius: var(--auth-radius);
    padding: 32px 26px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.03);
}

@media (max-width: 480px) {
    .auth-card {
        padding: 24px 18px;
        border-radius: 14px;
    }
    .auth-body {
        padding: 12px 10px;
    }
}

/* Шапка картки */
.auth-header {
    text-align: center;
    margin-bottom: 26px;
}

.auth-logo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid var(--auth-gold);
    box-shadow: 0 0 20px var(--auth-gold-glow);
    margin-bottom: 14px;
    object-fit: cover;
}

.auth-title {
    margin: 0 0 8px;
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.auth-subtitle {
    margin: 0;
    color: var(--auth-text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

/* Повідомлення про помилки та успіх */
.auth-alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.92rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.auth-alert-error {
    background: var(--auth-danger-bg);
    border: 1px solid rgba(255, 77, 109, 0.35);
    color: #ff99ab;
}

.auth-alert-success {
    background: var(--auth-success-bg);
    border: 1px solid rgba(46, 204, 113, 0.35);
    color: #79e8a5;
}

/* Форми та поля вводу */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e0e5f2;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 13px 15px;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-input-border);
    border-radius: 10px;
    color: #fff;
    font-size: 0.96rem;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
    -webkit-appearance: none;
}

.form-input:focus {
    border-color: var(--auth-input-focus);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    background: rgba(10, 16, 35, 0.95);
}

.form-input::placeholder {
    color: rgba(154, 165, 190, 0.55);
}

.form-input.has-error {
    border-color: var(--auth-danger);
}

.form-error {
    color: #ff859c;
    font-size: 0.82rem;
    margin-top: 4px;
}

/* Кнопка показати/сховати пароль */
.toggle-pwd-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--auth-text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toggle-pwd-btn:hover {
    color: var(--auth-gold);
}

/* Чекбокс "Запам'ятати мене" */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.86rem;
    flex-wrap: wrap;
    gap: 8px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--auth-text-muted);
    user-select: none;
}

.checkbox-input {
    accent-color: var(--auth-gold);
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.auth-link {
    color: var(--auth-gold);
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
}

.auth-link:hover {
    color: var(--auth-gold-hover);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    text-decoration: underline;
}

/* Кнопка дії (Сабміт) */
.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
    color: #080c18;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(245, 166, 35, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 166, 35, 0.5);
    background: linear-gradient(135deg, #ffea70 0%, #ffb338 100%);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.auth-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.auth-btn-danger {
    background: rgba(255, 77, 109, 0.15);
    color: #ff758f;
    border: 1px solid rgba(255, 77, 109, 0.3);
    box-shadow: none;
}

.auth-btn-danger:hover {
    background: rgba(255, 77, 109, 0.25);
    color: #ff9ebb;
}

/* Футер картки */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: var(--auth-text-muted);
}

/* Посилання "Повернутися до музики" */
.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    color: var(--auth-text-muted);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-back-link:hover {
    color: var(--auth-gold);
}

/* ==========================================================================
   Особистий Кабінет (Cabinet / Profile)
   ========================================================================== */

.cabinet-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

@media (max-width: 820px) {
    .cabinet-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Картка профілю та аватара */
.profile-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
}

.profile-avatar-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--auth-gold);
    box-shadow: 0 0 25px var(--auth-gold-glow);
    background: #090e1f;
}

.avatar-upload-label {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 38px;
    height: 38px;
    background: var(--auth-gold);
    color: #060912;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
}

.avatar-upload-label:hover {
    transform: scale(1.12);
    background: #fff;
}

.avatar-input-hidden {
    display: none;
}

.profile-name {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    word-break: break-word;
}

.profile-email {
    font-size: 0.9rem;
    color: var(--auth-text-muted);
    margin: 0 0 16px;
    word-break: break-all;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--auth-gold);
    margin-bottom: 20px;
}

/* Статистика в кабінеті */
.cabinet-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.cabinet-stat-box {
    background: rgba(7, 11, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.stat-number {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--auth-gold);
    display: block;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--auth-text-muted);
    margin-top: 2px;
    display: block;
}

/* Кнопки дій у профілі */
.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 20px;
}

/* Права колонка кабінету */
.cabinet-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cabinet-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

/* ==========================================================================
   Шапка сайту: Елементи авторизації (Header Auth Widget)
   ========================================================================== */

.nav-auth-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}

.nav-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-login-btn {
    color: #e0e5f2;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-login-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.nav-register-btn {
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
    color: #060912;
    border: none;
    box-shadow: 0 3px 12px rgba(245, 166, 35, 0.3);
}

.nav-register-btn:hover {
    background: linear-gradient(135deg, #ffea70 0%, #ffb338 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 166, 35, 0.45);
}

/* Віджет залогіненого юзера в шапці */
.user-menu-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 24px;
    color: #fff;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.user-menu-trigger:hover {
    background: rgba(255, 215, 0, 0.16);
    border-color: var(--auth-gold);
}

.nav-avatar-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--auth-gold);
    display: block;
}

.user-menu-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   Модальне вікно вимоги авторизації (#authRequiredModal)
   ========================================================================== */

.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 5, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 100005 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-content {
    background: var(--auth-card-bg);
    border: 1px solid var(--auth-card-border);
    border-radius: 20px;
    padding: 34px 28px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 215, 0, 0.1);
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.auth-modal-overlay.active .auth-modal-content {
    transform: scale(1);
}

.auth-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--auth-gold);
    animation: goldPulse 2s infinite ease-in-out;
}

@keyframes goldPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(255, 215, 0, 0);
    }
}

.auth-modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

.auth-modal-desc {
    color: var(--auth-text-muted);
    font-size: 0.94rem;
    line-height: 1.5;
    margin: 0 0 24px;
}

.auth-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: var(--auth-text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.auth-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ─── Telegram linking card ─────────────────────────────────────────────── */
.tg-link-card {
    border-color: rgba(37, 155, 210, 0.25);
}

/* Компактний блок у лівій колонці профілю */
.tg-link-card-inline {
    width: 100%;
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(7, 18, 36, 0.7);
    border: 1px solid rgba(37, 155, 210, 0.22);
    border-radius: 12px;
}

.tg-link-card-header {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #29b6f6;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.tg-link-btn-get {
    font-size: 0.85rem !important;
    padding: 9px 14px !important;
    width: 100%;
}

.tg-unlink-btn {
    background: rgba(255, 77, 109, 0.12);
    border: 1px solid rgba(255, 77, 109, 0.3);
    color: #ff4d6d;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}

.tg-unlink-btn:hover {
    background: rgba(255, 77, 109, 0.22);
}

.tg-linked-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.tg-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tg-status-badge.tg-linked {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.tg-username {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--auth-text);
}

.tg-username a {
    color: #29b6f6;
    text-decoration: none;
}

.tg-username a:hover {
    text-decoration: underline;
}

.tg-sub-badge {
    font-size: 0.8rem;
    padding: 3px 9px;
    border-radius: 12px;
    font-weight: 600;
}

.tg-sub-yes {
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
}

.tg-sub-no {
    background: rgba(255, 77, 109, 0.12);
    color: #ff4d6d;
}

.tg-code-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(7, 11, 24, 0.85);
    border: 1px solid rgba(37, 155, 210, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    width: fit-content;
    max-width: 100%;
}

.tg-code-label {
    font-size: 0.82rem;
    color: var(--auth-text-muted);
    white-space: nowrap;
}

.tg-code-value {
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--auth-gold);
    letter-spacing: 6px;
}

.tg-copy-btn {
    background: none;
    border: none;
    color: var(--auth-text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.tg-copy-btn:hover {
    color: var(--auth-gold);
}

.tg-instruction {
    font-size: 0.87rem;
    color: var(--auth-text-muted);
    line-height: 1.8;
    margin: 0 0 10px;
}

.tg-instruction a {
    color: #29b6f6;
    text-decoration: none;
}

.tg-instruction code {
    background: rgba(255, 215, 0, 0.1);
    color: var(--auth-gold);
    padding: 2px 7px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.tg-timer {
    font-size: 0.82rem;
    color: var(--auth-text-muted);
    margin: 0 0 10px;
}

/* ─── Тарифні плани та ліміти в кабінеті ─────────────────────────────────── */
.plan-upgrade-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 140, 0, 0.05) 100%);
    border: 1px dashed rgba(255, 215, 0, 0.35);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.plan-upgrade-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.plan-badge-free {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.plan-reset-hint {
    font-size: 0.75rem;
    color: var(--auth-text-muted);
}

.plan-upgrade-desc {
    font-size: 0.84rem;
    color: var(--auth-text);
    margin: 0 0 12px;
    line-height: 1.5;
}

.plan-upgrade-btn {
    width: 100%;
    padding: 10px 14px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%) !important;
    color: #0c1020 !important;
    border: none !important;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.plan-upgrade-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
}

.plan-active-banner {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.plan-badge-unlimited {
    color: #2ecc71;
    font-weight: 700;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 4px;
}

.plan-active-desc {
    font-size: 0.8rem;
    color: var(--auth-text-muted);
    margin: 0;
    line-height: 1.4;
}

.cabinet-stat-unlimited {
    background: rgba(255, 215, 0, 0.08) !important;
    border-color: rgba(255, 215, 0, 0.3) !important;
}

/* ─── Модальне вікно оплати Безліму ───────────────────────────────────────── */
.plan-modal-content {
    max-width: 440px;
}

.plan-payment-box {
    background: rgba(7, 11, 24, 0.9);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.plan-card-label {
    font-size: 0.8rem;
    color: var(--auth-text-muted);
    margin-bottom: 6px;
}

.plan-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.plan-card-digits {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 2px;
}

.btn-copy-card {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy-card:hover {
    background: #ffd700;
    color: #0c1020;
}

.plan-price-tag {
    font-size: 0.85rem;
    color: var(--auth-text);
}

.plan-price-tag b {
    color: #ffd700;
}

.plan-instruction-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.84rem;
    color: var(--auth-text-muted);
    line-height: 1.6;
}

.plan-instruction-box a {
    color: #29b6f6;
    text-decoration: none;
}

.plan-instruction-box a:hover {
    text-decoration: underline;
}

.plan-inst-step {
    margin-bottom: 4px;
}
.plan-inst-step:last-child {
    margin-bottom: 0;
}

/* ─── Telegram Login Widget Responsiveness ────────────────────────────── */
.tg-login-block, .tg-fast-link-box {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.tg-login-block iframe, .tg-fast-link-box iframe {
    max-width: 100% !important;
}

