.converter-workspace {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    width: 100%;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    text-align: center;
}

.input-group input:focus {
    border-color: #2196f3;
    outline: none;
}

.exchange-icon {
    font-size: 2rem;
    color: #aaa;
    user-select: none;
}

.error-message {
    text-align: center;
    color: #d32f2f;
    margin-top: 15px;
    height: 1.5em;
    /* reserve space */
    font-weight: bold;
}

.reference-table {
    margin-top: 40px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.reference-table h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #444;
}

.reference-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.reference-table th,
.reference-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.usage-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
}

@media (min-width: 600px) {
    .converter-workspace {
        flex-direction: row;
        align-items: flex-end;
    }

    .exchange-icon {
        padding-bottom: 15px;
        transform: rotate(90deg);
        /* Make arrows horizontal on desktop if desired, but ⇅ implies vertical exchange. Let's start with vertical layout or update icon */
    }

    /* Actually for row layout, we want left-right arrows usually. 
       Let's keep it simple: vertical stack on mobile, horizontal on desktop with horizontal arrows */
    .converter-workspace {
        flex-direction: row;
        align-items: center;
        /* Center vertically */
    }

    .exchange-icon {
        transform: rotate(-90deg);
        /* ⇅ becomes ⇄ */
        margin: 0 10px;
        padding-top: 24px;
        /* Align with input box, offsetting label */
    }
}