/* Стили модального окна */
        .tg-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 10000;
            animation: fadeIn 0.3s ease;
        }
        
        .tg-modal-content {
            background: var(--gray-800);
            border-radius: 12px;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            overflow: hidden;
            animation: slideUp 0.3s ease;
        }
        
        .tg-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 20px 0;
            border-bottom: none;
        }
        
        .tg-modal-title {
            margin: 0;
            color: var(--gray);
            font-weight: 600;
            font-size: 20px;
        }
        
        .tg-close-btn {
            cursor: pointer;
            font-size: 24px;
            color: var(--gray);
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.3s;
        }
        
        .tg-close-btn:hover {
            background: rgba(0,0,0,0.05);
        }
        
        .tg-modal-body {
            padding: 20px;
        }
        
        .qr-container {
            text-align: center;
            margin-bottom: 25px;
        }
        
        .qr-code {
            display: inline-block;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .qr-code img {
            width: 180px;
            height: 180px;
            display: block;
        }
        
        .tg-text-content {
            text-align: center;
        }
        
        .tg-text-content h4 {
            margin-bottom: 15px;
            color: var(--gray);
            font-weight: 600;
            font-size: 18px;
        }
        
        .tg-text-content p {
            margin-bottom: 20px;
            color: var(--gray);
            line-height: 1.5;
            font-size: 14px;
        }
        
        .copy-link-btn {
            background: var(--green);
            color: var(--black);
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .copy-link-btn:hover {
            background: rgba(68, 255, 164, 0.8);
        }
        
        .copy-link-btn.copied {
            background: var(--green);
        }