*{
font-family: Verdana, sans-serif;
letter-spacing: 2px;
}
body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    color: #333;
}
.container {
    background-color: #ffffff;
    padding: 24px;
}
h1 {
    font-size: 32px;
    margin-top: 0;
    color: #000000;
    padding-bottom: 12px;
    text-align: center;
}
.section {
    margin: 24px 0;
}
.section h2 {
    font-size: 1.25rem;
    color: #000000;
    margin-top: 35px;
    margin-bottom: 15px;
}
#load-heading {
    cursor: pointer;
    user-select: none;
}
.load-arrow {
    width: 12px;
    height: 12px;
    vertical-align: 1px;
    margin-left: 6px;
}
.load-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-items: flex-start;
    background-color: #ffffff;
    border: 0;
}
.load-row textarea {
    flex: 1;
    min-height: 100px;
    padding: 8px;
    margin-right: 10px;
    border: 2px solid #505050 !important;
    border-radius: 4px;
    font-family: inherit;
    font-size: 17px;
    letter-spacing: 1px;
    resize: vertical;
}
.segment-row textarea {
    outline: none;
    margin-left: 10px;
    margin-right: 10px;
    border: 2px solid #505050 !important;
}

#transcription-output {
    outline: none;
    margin-right: 10px;
    border: 2px solid #505050 !important;
}
.load-row textarea:focus,
.segment-row textarea:focus,
#transcription-output:focus {
    outline: none;
    border: 2px solid #000000 !important;
}
#load-btn {
    height: 44px;
    margin-top: 0;
}
.load-error {
    color: #c53030;
    background-color: #fed7d7;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #fc8181;
    font-size: 14px;
}
.segment-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-items: flex-start;
    padding: 12px;
    background-color: #ffffff;
    border: 0;
}
.segment-row select {
    padding: 6px;
    font-size: 17px;
    letter-spacing: 1px;
    border: 2px solid #505050;
    border-radius: 4px;
    background-color: #ffffff;
    min-width: 120px;
}
.segment-row select:focus {
    border: 2px solid #000000;
}
.segment-row textarea {
    flex: 1;
    min-height: 60px;
    padding: 8px;
    border: 1px solid #cbd5Load <img id="load-arrow" class="load-arrow" inherit;
    font-size: 17px;
    letter-spacing: 1px;
    resize: vertical;
}
.move-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.segment-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.move-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    background-color: #ffffff;
    color: #4a5568;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.move-btn:hover:not(:disabled) {
    background-color: #ececec;
}
.move-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.move-btn img {
    display: block;
    width: 18px;
    height: 18px;
}
.delete-btn {
    padding: 6px 12px;
    border: 2px solid #000000;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.delete-btn:hover {
    background-color: #111111;
}
.delete-btn img {
    display: block;
    width: 18px;
    height: 18px;
}
.btn-primary {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 8px;
    min-width: 80px;
    text-align: center;
}
.btn-primary:hover {
    background-color: #111111;
}
.btn-secondary {
    background-color: #000000;
    color: #ffffff;
    border: 0;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    min-width: 80px;
    text-align: center;
}
.btn-secondary:hover {
    background-color: #111111;
}
.btn-secondary.copied {
    background-color: #111111;
    color: #ffffff;
}
.sequence-display {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    border: 0;
    line-height: 2.2;
    font-size: 16px;
}
.word-wrapper {
    display: flex;
    align-items: center;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.word-wrapper:active, .sortable-chosen {
    cursor: grabbing;
}
.word-content {
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
}
.sortable-ghost {
    opacity: 0.4;
    border: 2px dashed #a0aec0;
    border-radius: 4px;
    background-color: #edf2f7;
}
.sortable-drag {
    opacity: 1;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
}
.transcription-wrapper {
    display: flex;
    gap: 8px;
}
#transcription-output {
    flex: 1;
    min-height: 80px;
    padding: 12px;
    margin-right: 10px;
    border: 1px solid #000000;
    border-radius: 4px;
    font-size: 14px;
    background-color: #ffffff;
    color: #000000;
    resize: vertical;
}
.transcription-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.load-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.side-controls {
    width: 150px;
}
.view-toggle {
    display: flex;
    gap: 4px;
}
.view-btn {
    flex: 1;
    height: 30px;
    padding: 4px 8px;
    border: 2px solid #000000;
    background-color: #ffffff;
    color: #000000;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}
.view-btn:hover {
    background-color: #f6f6f6;
}
.view-btn.active {
    background-color: #000000;
    color: #ffffff;
}
#copy-btn {
    margin-top: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
