.mouse-tester {
    padding: 60px 0;
    background: #f8f9fa;
}

.mouse-tester-header h2 {
    color: #333;
    margin-bottom: 15px;
}

.mouse-tester-header .lead {
    color: #666;
    font-size: 1.1rem;
}

.mouse-controls {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.control-group {
    margin-bottom: 0;
}

.control-group.text-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mouse-instructions {
    border-left: 4px solid #007bff;
}

.mouse-test-area {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.test-area {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
    linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
    linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border: 3px dashed #007bff;
    border-radius: 10px;
    position: relative;
    cursor: crosshair;
    overflow: hidden;
}

.test-area-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #666;
    pointer-events: none;
}

.test-area-content h4 {
    color: #333;
    margin-bottom: 10px;
}

.mouse-statistics {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
}

.stat-label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
    font-family: 'Courier New', monospace;
}

.click-button {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.click-button:hover {
    background: #e9ecef;
    border-color: #007bff;
    transform: translateY(-2px);
}

.click-button:active {
    transform: translateY(0);
    background: #007bff;
    color: white;
}

.click-button.flash {
    animation: flash 0.3s ease-in-out;
}

@keyframes flash {
    0% {
        background: #f8f9fa;
        border-color: #dee2e6;
    }
    50% {
        background: #007bff;
        border-color: #0056b3;
        color: white;
        transform: scale(1.05);
    }
    100% {
        background: #f8f9fa;
        border-color: #dee2e6;
        color: inherit;
        transform: scale(1);
    }
}

.click-button i {
    font-size: 1.2rem;
    color: #007bff;
    margin-bottom: 6px;
    display: block;
}

.click-button span {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.8rem;
    line-height: 1.2;
}

.click-count, .scroll-count {
    font-size: 1rem;
    font-weight: bold;
    color: #28a745;
    font-family: 'Courier New', monospace;
}


.mouse-limitations {
    border-left: 4px solid #ffc107;
}

/* Mouse trail effect */
.mouse-trail {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #007bff;
    border-radius: 50%;
    pointer-events: none;
    animation: fadeOut 1s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* SEO Content Styles */
.seo-content {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.seo-content h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.seo-content h3 {
    color: #007bff;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.seo-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.seo-content ul {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.seo-content li {
    margin-bottom: 8px;
}

.seo-content strong {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .test-area {
        height: 300px;
    }

    .click-button {
        padding: 10px 6px;
    }

    .click-button span {
        font-size: 0.7rem;
    }

    .click-button i {
        font-size: 1rem;
    }

    .stat-item {
        padding: 12px 15px;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .stat-value {
        font-size: 1rem;
    }

    .mouse-controls .row {
        flex-direction: column;
        gap: 15px;
    }

    .control-group.text-end {
        justify-content: center;
    }
}
