/**
 * ============================================================================
 * V2 COMPONENTS — Переиспользуемые UI-компоненты
 * ============================================================================
 * 
 * @file        web/css/v2/components.css
 * @description Все UI-компоненты модуля V2 "Мастерская Санты"
 * @version     2.0 (Декабрь 2025 - Рефакторинг)
 * 
 * ============================================================================
 * СОДЕРЖИМОЕ:
 * ────────────────────────────────────────
 * 
 * 1. Карточки базовые (.v2-card, .v2-card-header, .v2-card-body)
 * 2. Статистические карточки (.v2-stat-card, .v2-stat-*)
 *    Модификаторы: .karma, .exchanges, .available, .payments, .completed, .gifts
 * 3. Кнопки (.v2-btn, .v2-btn-primary, .v2-btn-success, .v2-btn-outline, .v2-btn-ghost)
 *    Размеры: .v2-btn-sm, .v2-btn-lg, .v2-btn-block
 * 4. Бейджи (.v2-badge, .v2-badge-gold, .v2-badge-green, .v2-badge-red)
 * 5. Progress bars (.v2-progress, .v2-progress-bar)
 * 6. Сообщения персонажей (.v2-character-message)
 * 7. Tips/Подсказки (.v2-tip, .v2-tip-success)
 * 8. Empty State (.v2-empty-state)
 * 9. Info Banner (.v2-info-banner)
 * 10. Quick Actions (.v2-quick-actions, .v2-quick-action)
 * 11. Tariff Card (.v2-tariff-card, .v2-tariff-badge)
 * 12. Profile Card виджет (.v2-profile-card)
 * 13. Exchange Card виджет (.v2-exchange-card, .v2-exchange-status)
 * 14. Формы (.v2-form-*, .v2-input, .v2-textarea)
 * 15. Collapsible — раскрывающиеся секции (.v2-collapsible)
 * 16. Info Zones — информационные зоны (.v2-info-zone, .v2-danger-zone)
 * 17. Alerts — оповещения (.v2-alert)
 * 18. Info Box — информационные блоки (.v2-info-box)
 * 19. Modal — модальные окна (.v2-modal)
 * 20. Утилитарные классы
 * 21. Light Theme — переопределения для светлой темы
 * 22. Theme Switcher — переключатель темы
 * 23. SweetAlert — кастомные стили
 * 
 * ============================================================================
 * ИСПОЛЬЗОВАНИЕ:
 * 
 * Базовая карточка:
 * <div class="v2-card">
 *     <div class="v2-card-header">
 *         <h3 class="v2-card-title"><span class="v2-card-title-icon">🎁</span> Заголовок</h3>
 *     </div>
 *     <div class="v2-card-body">Контент</div>
 * </div>
 * 
 * Кнопки:
 * <button class="v2-btn v2-btn-primary">Главная кнопка</button>
 * <a href="#" class="v2-btn v2-btn-outline v2-btn-sm">Ссылка</a>
 * 
 * Stat Card:
 * <div class="v2-stat-card karma">
 *     <div class="v2-stat-content">
 *         <div class="v2-stat-icon">❤️</div>
 *         <div class="v2-stat-value">70</div>
 *         <div class="v2-stat-label">Карма</div>
 *     </div>
 * </div>
 * 
 * Character Message:
 * <div class="v2-character-message">
 *     <div class="v2-character-avatar">🎅</div>
 *     <div class="v2-character-content">
 *         <div class="v2-character-name">Санта</div>
 *         <div class="v2-character-text">Хо-хо-хо!</div>
 *     </div>
 * </div>
 * 
 * Collapsible:
 * <details class="v2-collapsible">
 *     <summary class="v2-collapsible__header">
 *         <span class="v2-collapsible__icon">📋</span>
 *         <span class="v2-collapsible__title">Заголовок</span>
 *         <span class="v2-collapsible__arrow">▼</span>
 *     </summary>
 *     <div class="v2-collapsible__content">Контент</div>
 * </details>
 * 
 * Info Zone:
 * <div class="v2-info-zone">
 *     <p class="v2-info-zone__text">Информационный текст</p>
 * </div>
 * 
 * Alert:
 * <div class="v2-alert v2-alert--info">
 *     <span class="v2-alert__icon">ℹ️</span>
 *     <div class="v2-alert__content">
 *         <strong>Внимание</strong>
 *         <p>Текст оповещения</p>
 *     </div>
 * </div>
 * 
 * Modal:
 * <div class="v2-modal">
 *     <div class="v2-modal__header">
 *         <span class="v2-modal__icon">🎁</span>
 *         <h3 class="v2-modal__title">Заголовок</h3>
 *         <button class="v2-modal__close">×</button>
 *     </div>
 *     <div class="v2-modal__body">Контент</div>
 *     <div class="v2-modal__footer">
 *         <button class="v2-btn v2-btn-primary">OK</button>
 *     </div>
 * </div>
 * 
 * ============================================================================
 */

/* ==========================================================================
   1. БАЗОВЫЕ КАРТОЧКИ
   ========================================================================== */

.v2-card {
    background: var(--v2-bg-card);
    border-radius: var(--v2-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all var(--v2-duration-normal) var(--v2-ease-smooth);
}

.v2-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--v2-shadow-card);
}

.v2-card-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
    margin-bottom: 20px;
}

.v2-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-text);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.v2-card-title-icon {
    font-size: 20px;
}

.v2-card-body {
    padding: 0 24px 24px;
}

/* Padding-варианты */
.v2-card-body.p-0 {
    padding: 0;
}

/* ==========================================================================
   2. СТАТИСТИЧЕСКИЕ КАРТОЧКИ
   ========================================================================== */

.v2-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.v2-stat-card {
    position: relative;
    background: var(--v2-bg-card);
    border-radius: var(--v2-radius-lg);
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--v2-duration-normal) var(--v2-ease-smooth);
}

.v2-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, var(--stat-glow, var(--v2-gold-glow)) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--v2-duration-normal);
}

.v2-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v2-shadow-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.v2-stat-card:hover::before {
    opacity: 1;
}

/* Модификаторы по типу */
.v2-stat-card.karma {
    --stat-glow: var(--v2-red-glow);
    --stat-color: var(--v2-red-bright);
}

.v2-stat-card.exchanges {
    --stat-glow: var(--v2-green-glow);
    --stat-color: var(--v2-green-bright);
}

.v2-stat-card.available {
    --stat-glow: var(--v2-ice-glow);
    --stat-color: var(--v2-ice-blue);
}

.v2-stat-card.payments {
    --stat-glow: var(--v2-gold-glow);
    --stat-color: var(--v2-gold);
}

.v2-stat-card.completed {
    --stat-glow: var(--v2-green-glow);
    --stat-color: var(--v2-green-bright);
}

.v2-stat-card.gifts {
    --stat-glow: var(--v2-purple-glow);
    --stat-color: var(--v2-purple);
}

.v2-stat-content {
    position: relative;
    z-index: 2;
}

.v2-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--v2-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-stat-card.karma .v2-stat-icon {
    background: var(--v2-red-glow);
}

.v2-stat-card.exchanges .v2-stat-icon {
    background: var(--v2-green-glow);
}

.v2-stat-card.available .v2-stat-icon {
    background: var(--v2-ice-glow);
}

.v2-stat-card.payments .v2-stat-icon {
    background: var(--v2-gold-glow);
}

.v2-stat-card.completed .v2-stat-icon {
    background: var(--v2-green-glow);
}

.v2-stat-card.gifts .v2-stat-icon {
    background: var(--v2-purple-glow);
}

.v2-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--v2-text);
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.v2-stat-card.karma .v2-stat-value {
    color: var(--v2-red-bright);
}

.v2-stat-card.exchanges .v2-stat-value {
    color: var(--v2-green-bright);
}

.v2-stat-card.available .v2-stat-value {
    color: var(--v2-ice-blue);
}

.v2-stat-card.payments .v2-stat-value {
    color: var(--v2-gold);
}

.v2-stat-card.completed .v2-stat-value {
    color: var(--v2-green-bright);
}

.v2-stat-card.gifts .v2-stat-value {
    color: var(--v2-purple);
}

.v2-stat-label {
    font-size: 14px;
    color: var(--v2-text-muted);
    font-weight: 500;
}

/* Декоративные частицы */
.v2-stat-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.v2-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--stat-color, var(--v2-gold));
    opacity: 0.3;
    animation: v2-particle-float 6s ease-in-out infinite;
}

.v2-particle:nth-child(1) {
    top: 20%;
    right: 20%;
    animation-delay: 0s;
}

.v2-particle:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

.v2-particle:nth-child(3) {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

/* Responsive stats */
@media (max-width: 1199px) {
    .v2-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .v2-card-body{
        padding: 0 10px 10px;
    }
    .v2-stats-row {
        grid-template-columns: repeat(2, 1fr)
    }

    .v2-stat-value {
        font-size: 28px;
    }
}

/* ==========================================================================
   3. КНОПКИ
   ========================================================================== */

.v2-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    /*font-family: 'Quicksand', sans-serif;*/
    border-radius: var(--v2-radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--v2-duration-fast) var(--v2-ease-smooth);
    text-decoration: none;
    overflow: hidden;
    white-space: normal;
}

.v2-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.v2-btn:hover::before {
    transform: translateX(100%);
}

/* Primary — золотая (главный CTA) */
.v2-btn-primary {
    background: var(--v2-gradient-gold);
    color: #1a1a1a;
    box-shadow: 0 4px 15px var(--v2-gold-glow);
}

.v2-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--v2-gold-glow);
    color: #1a1a1a;
    text-decoration: none;
}

/* Success — зелёная */
.v2-btn-success {
    background: linear-gradient(135deg, var(--v2-green) 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--v2-green-glow);
}

.v2-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--v2-green-glow);
    color: #fff;
    text-decoration: none;
}

/* Danger — красная */
.v2-btn-danger {
    background: linear-gradient(135deg, var(--v2-red) 0%, #b91c1c 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--v2-red-glow);
}

.v2-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--v2-red-glow);
    color: #fff;
}

/* Outline — контурная */
.v2-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--v2-text);
}

.v2-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--v2-gold);
    color: var(--v2-gold);
    text-decoration: none;
}

/* Ghost — призрачная */
.v2-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--v2-text-muted);
}

.v2-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--v2-text);
    text-decoration: none;
}

/* Размеры */
.v2-btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

.v2-btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.v2-btn-block {
    width: 100%;
}

/* Состояния */
.v2-btn:disabled,
.v2-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ==========================================================================
   4. БЕЙДЖИ
   ========================================================================== */

.v2-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--v2-text);
}

.v2-badge-gold {
    background: var(--v2-gold-glow);
    border-color: var(--v2-gold);
    color: var(--v2-gold);
}

.v2-badge-green {
    background: var(--v2-green-glow);
    border-color: var(--v2-green);
    color: var(--v2-green-bright);
}

.v2-badge-red {
    background: var(--v2-red-glow);
    border-color: var(--v2-red);
    color: var(--v2-red-bright);
}

.v2-badge-purple {
    background: var(--v2-purple-glow);
    border-color: var(--v2-purple);
    color: var(--v2-purple);
}

.v2-badge-ice {
    background: var(--v2-ice-glow);
    border-color: var(--v2-ice-blue);
    color: var(--v2-ice-blue);
}

/* ==========================================================================
   5. PROGRESS BARS
   ========================================================================== */

.v2-progress-wrapper {
    margin-bottom: 20px;
}

.v2-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.v2-progress-label {
    color: var(--v2-text-muted);
}

.v2-progress-value {
    color: var(--v2-gold);
    font-weight: 600;
}

.v2-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.v2-progress-bar {
    height: 100%;
    background: var(--v2-gradient-gold);
    border-radius: 10px;
    transition: width 1s var(--v2-ease-smooth);
    position: relative;
}

.v2-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: v2-progress-shine 2s ease-in-out infinite;
}

/* Цветовые варианты */
.v2-progress-bar.success {
    background: linear-gradient(90deg, var(--v2-green) 0%, var(--v2-green-bright) 100%);
}

.v2-progress-bar.danger {
    background: linear-gradient(90deg, var(--v2-red) 0%, var(--v2-red-bright) 100%);
}

/* ==========================================================================
   6. СООБЩЕНИЯ ПЕРСОНАЖЕЙ
   ========================================================================== */

.v2-character-message {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--v2-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

.v2-character-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v2-bg-elevated);
    flex-shrink: 0;
    overflow: hidden;
}

.v2-character-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v2-character-content {
    flex: 1;
}

.v2-character-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--v2-gold);
    margin-bottom: 6px;
}

.v2-character-text {
    font-size: 14px;
    color: var(--v2-text-muted);
    line-height: 1.5;
}

/* Большой вариант */
.v2-character-message-lg {
    padding: 24px;
    margin-bottom: 24px;
}

.v2-character-message-lg .v2-character-avatar {
    width: 80px;
    height: 80px;
    font-size: 48px;
}

.v2-character-message-lg .v2-character-text {
    font-size: 16px;
}

/* Маленький вариант */
.v2-character-message-sm,
.v2-character-message.small {
    padding: 14px;
    gap: 12px;
    margin-top: 16px;
}

.v2-character-message-sm .v2-character-avatar,
.v2-character-message.small .v2-character-avatar {
    width: 44px;
    height: 44px;
    font-size: 24px;
}

.v2-character-message-sm .v2-character-name,
.v2-character-message.small .v2-character-name {
    font-size: 13px;
    margin-bottom: 4px;
}

.v2-character-message-sm .v2-character-text,
.v2-character-message.small .v2-character-text {
    font-size: 13px;
}

/* Компактный вариант */
.v2-character-message-compact {
    padding: 16px;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Позиция аватара справа */
.v2-character-message-right {
    flex-direction: row-reverse;
}

.v2-character-message-right .v2-character-content {
    text-align: right;
}

/* Вариант Гринча (предупреждения) */
.v2-character-grinch {
    background: rgba(231, 81, 90, 0.08);
    border-color: rgba(231, 81, 90, 0.2);
}

.v2-character-grinch .v2-character-name {
    color: #e7515a;
}

.v2-character-grinch .v2-character-avatar {
    background: rgba(231, 81, 90, 0.15);
}

/* Без отступа снизу */
.v2-character-message.v2-mb-0 {
    margin-bottom: 0;
}

/* ==========================================================================
   7. TIPS/ПОДСКАЗКИ
   ========================================================================== */

.v2-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(245, 200, 66, 0.1);
    border: 1px solid rgba(245, 200, 66, 0.2);
    border-radius: var(--v2-radius-md);
    margin-bottom: 20px;
    text-align: left;
}

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

.v2-tip-content {
    flex: 1;
}

.v2-tip-text {
    font-size: 13px;
    color: var(--v2-gold-light);
    line-height: 1.5;
}

.v2-tip-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.v2-tip-success .v2-tip-text {
    color: var(--v2-green-bright);
}

.v2-tip-danger {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
}

.v2-tip-danger .v2-tip-text {
    color: var(--v2-red-bright);
}

/* Поля которые не заполнены */
.v2-missing-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.v2-missing-field {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 12px;
    color: var(--v2-text-muted);
}

/* Profile Badge Complete */
.v2-profile-badge-complete {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: var(--v2-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: 3px solid var(--v2-bg-card);
}

/* ==========================================================================
   8. EMPTY STATE
   ========================================================================== */

.v2-empty-state {
    text-align: center;
    padding: 48px 24px;
}

.v2-empty-state.small {
    padding: 32px 16px;
}

.v2-empty-illustration {
    font-size: 72px;
    margin-bottom: 24px;
    filter: grayscale(0.3);
    animation: v2-float 4s ease-in-out infinite;
}

.v2-empty-state.small .v2-empty-illustration,
.v2-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.v2-empty-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 12px;
}

.v2-empty-text {
    font-size: 15px;
    color: var(--v2-text-muted);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.v2-empty-state.small .v2-empty-text {
    font-size: 14px;
    margin-bottom: 16px;
}

/* Страничный empty state */
.v2-empty-state-page {
    text-align: center;
    padding: 80px 24px;
}

.v2-empty-illustration-large {
    font-size: 96px;
    margin-bottom: 32px;
    filter: grayscale(0.2);
    animation: v2-float 4s ease-in-out infinite;
}

.v2-empty-title-large {
    font-size: 28px;
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 16px;
}

.v2-empty-text-large {
    font-size: 16px;
    color: var(--v2-text-muted);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ==========================================================================
   9. INFO BANNER
   ========================================================================== */

.v2-info-banner {
    position: relative;
    background: var(--v2-bg-card);
    border-radius: var(--v2-radius-lg);
    padding: 32px;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.2);
    text-align: center;
}

.v2-info-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, var(--v2-purple-glow) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, var(--v2-ice-glow) 0%, transparent 60%);
    opacity: 0.5;
}

.v2-info-banner-content {
    position: relative;
    z-index: 2;
}

.v2-info-banner h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--v2-text);
}

.v2-info-banner p {
    color: var(--v2-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.v2-info-banner a {
    color: var(--v2-purple);
    text-decoration: underline;
}

/* ==========================================================================
   10. QUICK ACTIONS
   ========================================================================== */

.v2-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v2-quick-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--v2-radius-md);
    color: var(--v2-text);
    text-decoration: none;
    transition: all var(--v2-duration-fast) var(--v2-ease-smooth);
}

.v2-quick-action:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--v2-gold);
    transform: translateX(4px);
    color: var(--v2-gold);
    text-decoration: none;
}

.v2-quick-action-icon {
    font-size: 20px;
    padding: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--v2-radius-sm);
}

.v2-quick-action-text {
    font-weight: 600;
    font-size: 14px;
}

/* ==========================================================================
   11. TARIFF CARD
   ========================================================================== */

.v2-tariff-card {
    text-align: center;
}

.v2-tariff-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.v2-tariff-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 8px;
}

.v2-tariff-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(245, 200, 66, 0.2) 0%, rgba(217, 119, 6, 0.2) 100%);
    border: 1px solid var(--v2-gold);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--v2-gold);
    margin-bottom: 16px;
}

.v2-tariff-badge.premium {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    border-color: var(--v2-green);
    color: var(--v2-green-bright);
}

.v2-tariff-desc {
    font-size: 14px;
    color: var(--v2-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.v2-tariff-card.premium {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

/* ==========================================================================
   12. PROFILE CARD WIDGET
   ========================================================================== */

.v2-profile-card {
    position: relative;
    text-align: center;
}

.v2-profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.v2-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--v2-gold);
    object-fit: cover;
    box-shadow: 0 0 30px var(--v2-gold-glow);
}

.v2-profile-avatar-ring {
    position: absolute;
    inset: -8px;
    border: 2px dashed rgba(245, 200, 66, 0.3);
    border-radius: 50%;
    animation: v2-rotate 20s linear infinite;
}

.v2-profile-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 4px;
}

.v2-profile-email {
    font-size: 14px;
    color: var(--v2-text-dim);
    margin-bottom: 16px;
}

/* Бейджи статистики профиля */
.v2-profile-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.v2-profile-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--v2-bg-elevated);
    border-radius: var(--v2-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 80px;
}

.v2-profile-badge:hover {
    transform: translateY(-2px);
    border-color: var(--v2-gold);
    box-shadow: 0 4px 16px var(--v2-gold-glow);
    text-decoration: none;
}

.v2-profile-badge-icon {
    font-size: 18px;
    line-height: 1;
}

.v2-profile-badge-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--v2-gold);
    line-height: 1;
}

.v2-profile-badge-label {
    font-size: 11px;
    color: var(--v2-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Light theme для бейджей профиля */
.v2-theme-light .v2-profile-badge {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

.v2-theme-light .v2-profile-badge:hover {
    background: rgba(245, 200, 66, 0.08);
    border-color: var(--v2-gold);
}

/* ==========================================================================
   13. EXCHANGE CARD WIDGET
   ========================================================================== */

.v2-exchanges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.v2-exchange-card {
    position: relative;
    background: var(--v2-bg-elevated);
    border-radius: var(--v2-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--v2-duration-normal) var(--v2-ease-smooth);
}

.v2-exchange-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--v2-gradient-festive);
}

.v2-exchange-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--v2-shadow-hover);
    border-color: var(--v2-gold);
}

.v2-exchange-card:hover::before {
    animation: v2-shimmer 2s ease-in-out infinite;
}

.v2-exchange-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.v2-exchange-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--v2-text);
    margin-bottom: 6px;
}

.v2-exchange-meta {
    font-size: 13px;
    color: var(--v2-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.v2-exchange-body {
    padding: 20px;
}

/* Статусы обмена */
.v2-exchange-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v2-exchange-status.registration {
    background: var(--v2-green-glow);
    border-color: var(--v2-green);
    color: var(--v2-green-bright);
}

.v2-exchange-status.sending {
    background: var(--v2-ice-glow);
    border-color: var(--v2-ice-blue);
    color: var(--v2-ice-blue);
}

.v2-exchange-status.reviews {
    background: var(--v2-gold-glow);
    border-color: var(--v2-gold);
    color: var(--v2-gold);
}

.v2-exchange-status.end {
    background: rgba(100, 116, 139, 0.2);
    border-color: var(--v2-text-dim);
    color: var(--v2-text-muted);
}

.v2-exchange-status.upcoming {
    background: var(--v2-purple-glow);
    border-color: var(--v2-purple);
    color: var(--v2-purple);
}

/* Recipient внутри карточки обмена */
.v2-exchange-recipient {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--v2-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.v2-exchange-recipient-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--v2-gold);
    object-fit: cover;
}

.v2-exchange-recipient-name {
    font-weight: 600;
    color: var(--v2-text);
    margin-bottom: 2px;
}

.v2-exchange-recipient-label {
    font-size: 12px;
    color: var(--v2-text-dim);
}

/* Responsive exchange cards */
@media (max-width: 991px) {
    .v2-exchanges-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   14. ФОРМЫ
   ========================================================================== */

.v2-form-group {
    margin-bottom: 20px;
}

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

.v2-form-label-hint {
    font-weight: 400;
    color: var(--v2-text-muted);
}

.v2-form-input,
.v2-form-select,
.v2-form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--v2-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--v2-radius-md);
    font-family: inherit;
    font-size: 14px;
    color: var(--v2-text);
    transition: border-color var(--v2-duration-fast);
}

.v2-form-input:focus,
.v2-form-select:focus,
.v2-form-textarea:focus {
    outline: none;
    border-color: var(--v2-gold);
}

.v2-form-input::placeholder,
.v2-form-textarea::placeholder {
    color: var(--v2-text-dim);
}

.v2-form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.v2-form-hint {
    font-size: 12px;
    color: var(--v2-text-dim);
    margin-top: 6px;
}

.v2-form-error {
    font-size: 12px;
    color: var(--v2-red-bright);
    margin-top: 6px;
}

/* ==========================================================================
   15. COLLAPSIBLE — Раскрывающиеся секции
   ========================================================================== */

.v2-collapsible {
    background: var(--v2-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--v2-radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
}

.v2-collapsible--warning {
    border-color: rgba(245, 200, 66, 0.3);
}

.v2-collapsible__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.v2-collapsible__header::-webkit-details-marker {
    display: none;
}

.v2-collapsible__icon {
    font-size: 20px;
}

.v2-collapsible__title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--v2-text);
}

.v2-collapsible__arrow {
    font-size: 12px;
    color: var(--v2-text-muted);
    transition: transform 0.3s ease;
}

.v2-collapsible[open] .v2-collapsible__arrow {
    transform: rotate(180deg);
}

.v2-collapsible__content {
    padding: 0 20px 20px;
}

/* ==========================================================================
   16. INFO ZONES — Информационные и предупреждающие зоны
   ========================================================================== */

.v2-info-zone {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--v2-radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.v2-info-zone__text {
    font-size: 14px;
    color: var(--v2-text);
    margin: 0;
    line-height: 1.6;
}

.v2-danger-zone {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--v2-radius-md);
    padding: 16px;
}

.v2-danger-zone__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--v2-red);
    margin: 0 0 8px 0;
}

.v2-danger-zone__text {
    font-size: 14px;
    color: var(--v2-text-muted);
    margin: 0 0 16px 0;
    line-height: 1.6;
}

/* ==========================================================================
   17. ALERTS — Оповещения
   ========================================================================== */

.v2-alert {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--v2-radius-lg);
    margin-bottom: 24px;
}

.v2-alert--info {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.v2-alert--warning {
    background: rgba(245, 200, 66, 0.1);
    border: 1px solid rgba(245, 200, 66, 0.2);
}

.v2-alert--large {
    padding: 24px;
}

.v2-alert__icon {
    font-size: 32px;
    flex-shrink: 0;
}

.v2-alert__content strong {
    display: block;
    font-size: 16px;
    color: var(--v2-text);
    margin-bottom: 4px;
}

.v2-alert__content p {
    font-size: 14px;
    color: var(--v2-text-muted);
    margin: 0;
}

/* ==========================================================================
   18. INFO BOX — Информационные блоки
   ========================================================================== */

.v2-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: var(--v2-radius-md);
    margin-bottom: 16px;
}

.v2-info-box--highlight {
    background: rgba(245, 200, 66, 0.08);
    border-color: rgba(245, 200, 66, 0.2);
}

.v2-info-box__icon {
    font-size: 24px;
    flex-shrink: 0;
}

.v2-info-box__content {
    font-size: 14px;
    color: var(--v2-text);
    line-height: 1.5;
}

/* ==========================================================================
   19. MODAL — Модальные окна
   ========================================================================== */

.v2-modal {
    background: var(--v2-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--v2-radius-xl);
}

.v2-modal__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.v2-modal__icon {
    font-size: 28px;
}

.v2-modal__title {
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    color: var(--v2-text);
    margin: 0;
}

.v2-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--v2-text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.v2-modal__close:hover {
    color: var(--v2-text);
}

.v2-modal__body {
    padding: 24px;
}

.v2-modal__footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   20. УТИЛИТАРНЫЕ КЛАССЫ V2 (дополнение к utils.css)
   ========================================================================== */

.v2-text-gold {
    color: var(--v2-gold) !important;
}

.v2-text-green {
    color: var(--v2-green-bright) !important;
}

.v2-text-red {
    color: var(--v2-red-bright) !important;
}

.v2-text-muted {
    color: var(--v2-text-muted) !important;
}

/* ==========================================================================
   21. LIGHT THEME — Переопределения для компонентов
   ========================================================================== */

.v2-theme-light .v2-missing-field {
    background: rgb(166 166 166 / 14%);
}

.v2-theme-light .v2-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.v2-theme-light .v2-card:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.v2-theme-light .v2-stat-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.v2-theme-light .v2-btn-outline {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--v2-text);
}

.v2-theme-light .v2-btn-outline:hover {
    background: rgba(0, 0, 0, 0.03);
}

.v2-theme-light .v2-btn-ghost {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

.v2-theme-light .v2-character-message {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.v2-theme-light .v2-character-avatar {
    background: #f8fafc;
}

.v2-theme-light .v2-info-banner {
    background: #ffffff;
    border-color: rgba(168, 85, 247, 0.15);
}

.v2-theme-light .v2-empty-state {
    background: transparent;
}

.v2-theme-light .v2-quick-action {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.v2-theme-light .v2-quick-action:hover {
    background: rgba(0, 0, 0, 0.04);
}

.v2-theme-light .v2-exchange-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.v2-theme-light .v2-exchange-header {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.v2-theme-light .v2-form-input,
.v2-theme-light .v2-form-select,
.v2-theme-light .v2-form-textarea {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--v2-text);
}

.v2-theme-light .v2-tip {
    background: rgba(245, 200, 66, 0.08);
}

.v2-theme-light .v2-tip-success {
    background: rgba(16, 185, 129, 0.08);
}

.v2-theme-light .v2-badge {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Light theme для компонентов */
.v2-theme-light .v2-collapsible {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.v2-theme-light .v2-info-zone {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.2);
}

.v2-theme-light .v2-danger-zone {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

.v2-theme-light .v2-alert--info {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.2);
}

.v2-theme-light .v2-alert--warning {
    background: rgba(245, 200, 66, 0.08);
    border-color: rgba(245, 200, 66, 0.2);
}

.v2-theme-light .v2-info-box {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.15);
}

.v2-theme-light .v2-info-box--highlight {
    background: rgba(245, 200, 66, 0.08);
    border-color: rgba(245, 200, 66, 0.2);
}

.v2-theme-light .v2-modal {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
}

.v2-theme-light .v2-modal__header,
.v2-theme-light .v2-modal__footer {
    border-color: rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   22. THEME SWITCHER — Переключатель темы
   ========================================================================== */

.v2-theme-switcher {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 1000;
}

.v2-theme-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--v2-bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all var(--v2-duration-fast) var(--v2-ease-smooth);
    position: relative;
    overflow: hidden;
}

.v2-theme-btn:hover {
    transform: scale(1.1);
    border-color: var(--v2-gold);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--v2-gold-glow);
}

.v2-theme-icon {
    font-size: 24px;
    position: absolute;
    transition: all var(--v2-duration-normal) var(--v2-ease-smooth);
}

/* Dark theme (default) */
.v2-theme-dark .v2-theme-icon-dark,
body:not(.v2-theme-light) .v2-theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.v2-theme-dark .v2-theme-icon-light,
body:not(.v2-theme-light) .v2-theme-icon-light {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

/* Light theme */
.v2-theme-light .v2-theme-icon-dark {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.v2-theme-light .v2-theme-icon-light {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.v2-theme-light .v2-theme-btn {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.v2-theme-light .v2-theme-btn:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15), 0 0 20px rgba(217, 119, 6, 0.2);
}

/* Theme Switcher Responsive */
@media (max-width: 767px) {
    .v2-character-message {
        /*flex-flow: column;*/
        gap: 10px;
        padding: 10px;
    }

    .v2-theme-switcher {
        bottom: 80px;
        right: 7px;
    }

    .v2-theme-btn {
        width: 48px;
        height: 48px;
    }

    .v2-theme-icon {
        font-size: 20px;
    }
}


/* ============================================================================
 * SWEETALERT CUSTOM STYLES
 * ============================================================================
 * Кастомные стили для SweetAlert в стиле V2 "Мастерская Санты"
 */

.v2-swal-popup {
    background: linear-gradient(145deg, #1a2332 0%, #0d1520 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(27, 85, 226, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    padding: 32px !important;
}

.v2-swal-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1b55e2, #8dbf42, #f8b739);
    border-radius: 20px 20px 0 0;
}

.v2-swal-title {
    color: #fff !important;
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-bottom: 8px !important;
}

.v2-swal-content {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

.v2-swal-content small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Кнопки SweetAlert */
.v2-swal-btn {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 12px 28px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin: 4px !important;
}

.v2-swal-btn--primary {
    background: linear-gradient(135deg, #1b55e2, #1445b8) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(27, 85, 226, 0.3) !important;
}

.v2-swal-btn--primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(27, 85, 226, 0.4) !important;
}

.v2-swal-btn--success {
    background: linear-gradient(135deg, #8dbf42, #6fa530) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(141, 191, 66, 0.3) !important;
}

.v2-swal-btn--success:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(141, 191, 66, 0.4) !important;
}

.v2-swal-btn--danger {
    background: linear-gradient(135deg, #e7515a, #c9404a) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(231, 81, 90, 0.3) !important;
}

.v2-swal-btn--danger:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(231, 81, 90, 0.4) !important;
}

.v2-swal-btn--warning {
    background: linear-gradient(135deg, #f8b739, #e5a52a) !important;
    color: #1a2332 !important;
    box-shadow: 0 4px 15px rgba(248, 183, 57, 0.3) !important;
}

.v2-swal-btn--warning:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(248, 183, 57, 0.4) !important;
}

.v2-swal-btn--outline {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.v2-swal-btn--outline:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

/* Иконки SweetAlert */
.v2-swal-popup .swal2-icon {
    border-color: rgba(255, 255, 255, 0.2) !important;
    margin-bottom: 20px !important;
}

.v2-swal-popup .swal2-icon.swal2-warning {
    border-color: rgba(248, 183, 57, 0.5) !important;
    color: #f8b739 !important;
}

.v2-swal-popup .swal2-icon.swal2-error {
    border-color: rgba(231, 81, 90, 0.5) !important;
}

.v2-swal-popup .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #e7515a !important;
}

.v2-swal-popup .swal2-icon.swal2-success {
    border-color: rgba(141, 191, 66, 0.5) !important;
}

.v2-swal-popup .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #8dbf42 !important;
}

.v2-swal-popup .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(141, 191, 66, 0.3) !important;
}

.v2-swal-popup .swal2-icon.swal2-question {
    border-color: rgba(27, 85, 226, 0.5) !important;
    color: #1b55e2 !important;
}

/* Actions Container */
.v2-swal-popup .swal2-actions {
    margin-top: 24px !important;
    gap: 8px !important;
}

/* Светлая тема */
.light-theme .v2-swal-popup {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15),
    0 0 60px rgba(27, 85, 226, 0.05) !important;
}

.light-theme .v2-swal-title {
    color: #1a2332 !important;
}

.light-theme .v2-swal-content {
    color: rgba(26, 35, 50, 0.7) !important;
}

.light-theme .v2-swal-content small {
    color: rgba(26, 35, 50, 0.5);
}

.light-theme .v2-swal-btn--outline {
    color: rgba(26, 35, 50, 0.8) !important;
    border-color: rgba(26, 35, 50, 0.2) !important;
}

.light-theme .v2-swal-btn--outline:hover {
    background: rgba(26, 35, 50, 0.05) !important;
    border-color: rgba(26, 35, 50, 0.3) !important;
    color: #1a2332 !important;
}

.swal2-popup .swal2-styled.swal2-cancel {
    color: #ffffff !important;
    font-weight: 500;
    border: 1px solid #e8e8e8;
    font-size: 16px;
    background-color: rgb(108, 117, 125);
}

a.link-default {
    color: var(--v2-text);
}

.v2-karma-icon {
    background: url(/img/icons/karma.png);
    height: 100%;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 30px;
    background-position: center;
    background-size: contain;
}

.v2-image-banner-default {
    max-width: 100%;
    border-radius: 20px;
    object-fit: cover;
    min-width: 100%;
    height: 100%;
}

/* ═══════════════════════════════════════════════════════════════════
   24. PHONE INPUT — Гибкое поле ввода телефона
   ═══════════════════════════════════════════════════════════════════ */

/* Поле телефона с иконкой */
.v2-phone-input {
    /* Базовые стили наследуются от .v2-form-input */
}

/* Иконка телефона (опционально - можно добавить через псевдоэлемент) */
.v2-phone-input:focus::before {
    content: '📱';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.tick .tick-credits{
    display: none;
}