.kalimba-converter {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kalimba-converter textarea {
    width: 100%;
    height: 150px;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    font-size: 16px;
}

.kalimba-converter .button-group {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.kalimba-converter button {
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
    min-width: 200px;
}

.kalimba-converter .btn-piano {
    background-color: #2196F3;
    color: white;
}

.kalimba-converter .btn-number {
    background-color: #4CAF50;
    color: white;
}

.kalimba-converter .btn-letter {
    background-color: #FF9800;
    color: white;
}

.kalimba-converter button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.kalimba-converter button:active {
    transform: translateY(0);
}

.kalimba-converter .detected-format {
    padding: 10px;
    margin: 10px 0;
    background-color: #e8f5e9;
    border-radius: 4px;
    display: none;
}

.kalimba-converter .note-map {
    margin: 20px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    overflow-x: auto;
}

.kalimba-converter table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.kalimba-converter th,
.kalimba-converter td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.kalimba-converter th {
    background-color: #e3f2fd;
}

.kalimba-converter tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Responsive design */
@media screen and (max-width: 600px) {
    .kalimba-converter button {
        width: 100%;
    }

    .kalimba-converter .button-group {
        flex-direction: column;
    }
}/* Add these styles to your existing CSS file */

.kalimba-converter .note-map table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.kalimba-converter .note-map tr:nth-child(8n+1) {
    border-top: 2px solid #2196F3;
}

.kalimba-converter .note-map td,
.kalimba-converter .note-map th {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.kalimba-converter .note-map th {
    background-color: #e3f2fd;
    font-weight: bold;
}

/* Octave color coding */
.kalimba-converter .note-map tr:nth-child(n+2):nth-child(-n+8) td {
    background-color: #f3f9ff; /* Light blue for octave 3 */
}

.kalimba-converter .note-map tr:nth-child(n+9):nth-child(-n+15) td {
    background-color: #fff; /* White for octave 4 */
}

.kalimba-converter .note-map tr:nth-child(n+16):nth-child(-n+22) td {
    background-color: #fff7e6; /* Light orange for octave 5 */
}

.kalimba-converter .note-map tr:nth-child(23) td {
    background-color: #fff0e6; /* Lighter orange for octave 6 */
}

/* Responsive table */
@media screen and (max-width: 600px) {
    .kalimba-converter .note-map {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .kalimba-converter .note-map table {
        min-width: 400px;
    }
}