body {
    font-family: Arial, sans-serif;
    background: #1e1e1e;
    color: #f0f0f0;
    padding: 20px;
}

h1 {
    text-align: center;
}

h3 {
    color: #f0f0f0;
    font-size: 1rem;
    margin: 1.5em 0 0.5em;
    border-bottom: 1px solid #444;
    padding-bottom: 0.3em;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 480px) {
    h3 {
        font-size: 1rem;
    }
}

select, button {
    display: block;
    margin: 10px 0;
}

td label {
    display: inline-block;
    margin: 0;
    white-space: nowrap;
}

td input[type="checkbox"] {
    display: inline-block;
    margin-right: 5px;
}

.section {
    border: 1px solid #444;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #2b2b2b;
}

.chord-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .chord-table th, .chord-table td {
        border: 1px solid #444;
        padding: 8px;
        text-align: center;
    }

    .chord-table th {
        background-color: #333;
    }

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
}

    .checkbox-group label {
        margin-right: 15px;
    }

.highlight {
    background-color: SlateBlue !important;
}

.center-element {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

@keyframes slowBlink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.melody-blink {
    font-weight: bold;
    color: black;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bolder;
}

tr[data-scale] {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    tr[data-scale]:hover {
        background-color: #444;
    }

#generate-button {
    background-color: #007BFF;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

    #generate-button:hover {
        background-color: #0056b3;
        transform: scale(1.05);
    }

.section table td {
    padding: 5px 15px;
}

input[type="text"],
input[type="number"],
input[type="email"],
select {
    font-size: 1.1rem;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #666;
    background: #1e1e1e;
    color: #f0f0f0;
    width: 200px;
    box-sizing: border-box;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    transform: scale(1.3);
    cursor: pointer;
}

button {
    font-size: 1.1rem;
    padding: 12px 18px;
    border-radius: 6px;
    cursor: pointer;
}