body {
    font-family: Arial, sans-serif;
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
    background: #f5f5f5;
    color: #333;
}

h1 {
    text-align: center;
    color: #2c3e50;
}

.version {
    font-size: 14px;
    font-weight: normal;
    color: #95a5a6;
}

.input-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

#youtube-url {
    width: 90%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 15px;
}

.genre-selection {
    margin: 10px 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    cursor: pointer;
}

#genre-other {
    width: 120px;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #2980b9;
}

button:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

hr {
    margin: 25px 0;
    border: none;
    border-top: 2px solid #ddd;
}

.loading {
    font-size: 15px;
    color: #555;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin: 15px 0;
}

.progress-step {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-step .step-icon {
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.progress-step.active .step-icon {
    color: #e67e22;
    animation: pulse 1s infinite;
}

.progress-step.active .step-text {
    color: #e67e22;
    font-weight: bold;
}

.progress-step.done .step-icon {
    color: #27ae60;
}

.progress-step.done .step-text {
    color: #888;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.error {
    text-align: center;
    font-size: 16px;
    color: #e74c3c;
    padding: 10px;
    background: #fde8e8;
    border-radius: 4px;
}

.results-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.result-row {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-row label {
    font-weight: bold;
    min-width: 160px;
    text-align: right;
}

.result-row input[type="text"] {
    flex: 1;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.result-row span {
    font-size: 16px;
    font-weight: bold;
    color: #27ae60;
}

.cover-choices {
    display: flex;
    gap: 15px;
}

.cover-option {
    cursor: pointer;
    text-align: center;
    border: 3px solid transparent;
    border-radius: 6px;
    padding: 4px;
}

.cover-option.selected {
    border-color: #3498db;
}

.cover-option img {
    border: 1px solid #ddd;
    border-radius: 4px;
    object-fit: cover;
    background: #eee;
    display: block;
}

.cover-label {
    font-size: 12px !important;
    font-weight: normal !important;
    color: #888 !important;
    margin-top: 4px;
    display: block;
}

.cover-option.selected .cover-label {
    color: #3498db !important;
    font-weight: bold !important;
}

.cover-row {
    align-items: flex-start;
}

.wdsf-info {
    color: #8e44ad;
    font-size: 14px;
}

.rhythm-info {
    color: #2c3e50;
    font-size: 14px;
    font-weight: normal;
    white-space: nowrap;
}

#res-target-mpm {
    padding: 4px 6px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#btn-change {
    padding: 5px 15px;
    font-size: 13px;
    background: #e67e22;
}

#btn-change:hover {
    background: #d35400;
}

#btn-download {
    margin-top: 15px;
    background: #27ae60;
}

#btn-download:hover {
    background: #219a52;
}
