#telegram-warning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

#telegram-warning-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    font-family: Arial, sans-serif;
}

#telegram-warning-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

#telegram-warning-box h2 {
    color: #1a1a2e;
    margin: 0 0 15px 0;
    font-size: 22px;
}

#telegram-warning-box p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 15px;
}

#telegram-warning-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

#telegram-open-browser {
    background: #0088cc;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

#telegram-open-browser:hover {
    background: #006aad;
}

#telegram-warning-close {
    background: transparent;
    color: #888;
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

#telegram-warning-close:hover {
    background: #f5f5f5;
    color: #555;
}

#telegram-copied-msg {
    margin-top: 15px;
    padding: 10px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #2e7d32;
    font-size: 14px;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
