/* Stanag Vocabulary Plugin Styles */

.test-container, .task-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}

.test-button, .task-button {
    background: linear-gradient(135deg, #007bff, #0056d3);
    color: white;
    border: none;
    padding: 12px 24px;
    margin: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.test-button:hover, .task-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056d3, #003d99);
}

.vocabulary-exercise {
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
}

.word-card {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border: 2px solid #e3f2fd;
    border-radius: 16px;
    padding: 40px 30px;
    margin: 20px auto;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.word-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.word-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.word-card:hover::before {
    left: 100%;
}

.word-card.being-dragged {
    cursor: grabbing !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
    border-color: #007bff !important;
}

.english-word {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.translation {
    font-size: 22px;
    color: #007bff;
    font-weight: 600;
    text-align: center;
    border-top: 2px solid #e3f2fd;
    padding-top: 20px;
    margin-top: 20px;
}

.progress-indicator {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.progress-text {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
}

/* Animacje swipe */
@keyframes swipeRight {
    0% { transform: translateX(0) rotate(0deg); opacity: 1; }
    100% { transform: translateX(100px) rotate(15deg); opacity: 0; }
}

@keyframes swipeLeft {
    0% { transform: translateX(0) rotate(0deg); opacity: 1; }
    100% { transform: translateX(-100px) rotate(-15deg); opacity: 0; }
}

@keyframes swipeDown {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100px) rotate(5deg); opacity: 0; }
}

@keyframes swipeUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-100px) rotate(-5deg); opacity: 0; }
}

.swipe-right-animation {
    animation: swipeRight 0.3s ease-in-out;
}

.swipe-left-animation {
    animation: swipeLeft 0.3s ease-in-out;
}

.swipe-down-animation {
    animation: swipeDown 0.3s ease-in-out;
}

.swipe-up-animation {
    animation: swipeUp 0.3s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .test-container, .task-container, .vocabulary-exercise {
        margin: 20px 10px;
        padding: 15px;
    }
    
    .word-card {
        padding: 30px 20px;
        margin: 15px auto;
    }
    
    .english-word {
        font-size: 24px;
    }
    
    .translation {
        font-size: 20px;
    }
    
    .test-button, .task-button {
        padding: 10px 20px;
        font-size: 14px;
        margin: 5px;
    }
}
