/* Metronome Styles */
.metronome-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.error-message {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.metronome-display {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bpm-display {
    margin-bottom: 30px;
}

.bpm-number {
    font-size: 4rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
}

.bpm-label {
    font-size: 1.2rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.beat-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.beat-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #374151;
    border: 2px solid #4b5563;
    transition: all 0.1s ease;
    position: relative;
}

.beat-indicator.accent {
    border-color: #f59e0b;
}

.beat-indicator.active {
    background-color: #10b981;
    border-color: #10b981;
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    animation: pulse 0.1s ease;
}

.beat-indicator.active.accent {
    background-color: #f59e0b;
    border-color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

@keyframes pulse {
    0% { transform: scale(1.2); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1.2); }
}

.time-signature {
    font-size: 1rem;
    color: #9ca3af;
    margin-top: 20px;
}

.metronome-controls {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
}

.metronome-controls h3 {
    color: #d1d5db;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
}

.control-group {
    margin-bottom: 25px;
}

.control-group label {
    display: block;
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Range Slider Styles */
input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #374151;
    outline: none;
    -webkit-appearance: none;
    margin: 10px 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

input[type="range"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

input[type="range"]:disabled::-webkit-slider-thumb {
    cursor: not-allowed;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 5px;
}

/* Select Styles */
select {
    width: 100%;
    padding: 12px 16px;
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    color: #d1d5db;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: #1f2937;
    border: 2px solid #374151;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #10b981;
    border-color: #10b981;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:disabled + .checkmark {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #10b981;
    color: white;
}

.btn-primary:hover {
    background-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    background-color: #ef4444;
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-large {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .metronome-container {
        padding: 15px;
    }
    
    .bpm-number {
        font-size: 3rem;
    }
    
    .beat-indicator {
        width: 28px;
        height: 28px;
    }
    
    .metronome-controls {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .bpm-number {
        font-size: 2.5rem;
    }
    
    .beat-indicators {
        gap: 8px;
    }
    
    .beat-indicator {
        width: 24px;
        height: 24px;
    }
}

/* SEO Content Styles */
.seo-content {
    max-width: 800px;
    margin: 60px auto 0;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-content h2 {
    color: #000000;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 15px;
}

.seo-content h3 {
    color: #000000;
    font-size: 1.4rem;
    font-weight: 500;
    margin: 30px 0 15px;
    border-left: 4px solid #3b82f6;
    padding-left: 15px;
}

.content-section {
    margin-bottom: 35px;
}

.content-section p {
    color: #030303;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.content-section ul,
.content-section ol {
    color: #000000;
    margin: 15px 0;
    padding-left: 25px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-section strong {
    color: #000000;
    font-weight: 600;
}

.content-section ul li::marker {
    color: #3b82f6;
}

.content-section ol li::marker {
    color: #3b82f6;
    font-weight: bold;
}

/* Responsive adjustments for SEO content */
@media (max-width: 768px) {
    .seo-content {
        margin-top: 40px;
        padding: 30px 15px;
    }
    
    .seo-content h2 {
        font-size: 1.6rem;
    }
    
    .seo-content h3 {
        font-size: 1.2rem;
    }
    
    .content-section ul,
    .content-section ol {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .seo-content h2 {
        font-size: 1.4rem;
    }
    
    .seo-content h3 {
        font-size: 1.1rem;
        padding-left: 12px;
    }
    
    .content-section p,
    .content-section li {
        font-size: 0.95rem;
    }
}