﻿/* Bot Challenge Styles */
#botChallengeOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-challenge-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}

.bot-challenge-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.bot-challenge-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.bot-challenge-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.hold-button {
    width: 100%;
    height: 80px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

    .hold-button:active {
        transform: scale(0.98);
    }

.hold-button-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    width: 0%;
    transition: width 0.1s linear;
}

.hold-button-text {
    position: relative;
    z-index: 2;
}

.attempts-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.attempt-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

    .attempt-dot.failed {
        background: #f44336;
        animation: failShake 0.5s;
    }

@keyframes failShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.challenge-message {
    margin-top: 15px;
    font-size: 14px;
    min-height: 20px;
}

    .challenge-message.warning {
        color: #f44336;
        font-weight: bold;
    }

    .challenge-message.success {
        color: #4caf50;
        font-weight: bold;
    }

.bot-failed-container {
    text-align: center;
}

.bot-failed-icon {
    font-size: 80px;
    color: #f44336;
    margin-bottom: 20px;
}

.bot-failed-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.bot-failed-message {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.bot-failed-ip {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: monospace;
    color: #f44336;
    display: none !important;
    visibility: hidden;
}
