/* ========== ВСПЛЫВАЮЩИЕ УВЕДОМЛЕНИЯ ========== */

.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.notification-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    animation: scaleUp 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.notification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.notification-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #667eea;
    animation: bounce 2s infinite;
}

.notification-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.notification-message {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
}

.notification-close-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.notification-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.notification-close-btn:active {
    transform: translateY(0);
}

/* Специальные стили для мобильных */
@media (hover: none) and (pointer: coarse) {
    .keyboard-row.single-row .key:hover,
    .key-action:hover,
    .btn:hover {
        transform: none;
        box-shadow: none;
    }

    .keyboard-row.single-row .key:active,
    .key-action:active,
    .btn:active {
        transform: scale(0.95);
    }
}