.qso-recorder-container {
    max-width: 680px;
    margin: 40px 0px;
    padding: 0px;
}

.qso-recorder-fieldset {
    border-radius: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #232d69 0%, #1a2350 100%);
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.3);
}

.qso-status {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #f3ead3;
    font-size: 14px;
    text-align: center;
}

.qso-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.qso-btn {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    min-width: 180px;
}

.qso-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.qso-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.qso-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.qso-btn-start {
    background: linear-gradient(to bottom, #d32f2f 0%, #b71c1c 100%);
    color: white;
}

.qso-btn-start:hover:not(:disabled) {
    background: linear-gradient(to bottom, #e53935 0%, #c62828 100%);
}

.qso-btn-stop {
    background: linear-gradient(to bottom, #4caf50 0%, #388e3c 100%);
    color: white;
}

.qso-btn-stop:hover:not(:disabled) {
    background: linear-gradient(to bottom, #66bb6a 0%, #43a047 100%);
}

.qso-recording-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff5252;
    font-weight: bold;
    font-size: 16px;
}

.qso-recording-indicator .pulse {
    width: 12px;
    height: 12px;
    background: #ff5252;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.qso-files-title {
    color: #00aee8;
    font: 14pt arial, sans-serif;
    font-weight: bold;
    text-shadow: 0.25px 0.25px gray;
    margin: 20px 0 10px;
}

.qso-files-list {
    background: rgba(63, 76, 132, 0.5);
    border-radius: 8px;
    padding: 10px 10px 10px 10px;
    min-height: 10px;
}

.qso-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    margin: 5px 0;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    transition: background 0.2s ease;
    gap: 10px;
}

.qso-file-item:hover {
    background: rgba(255,255,255,0.1);
}

.qso-file-name {
    color: white;
    font-weight: bold;
    font-size: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qso-file-info {
    color: #aaa;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
}

.qso-file-download {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.qso-file-download:hover {
    transform: scale(1.2);
}

.qso-file-download img {
    width: 20px;
    height: 20px;
}

.qso-info-box {
    background: rgba(255,193,7,0.1);
    border: 1px solid rgba(255,193,7,0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 20px 0;
    color: #ffc107;
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
}

.qso-audio-guide {
    margin-top: 20px;
    text-align: center;
}

.qso-audio-guide img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.qso-no-files {
    text-align: center;
    color: #888;
    padding: 30px;
    font-style: italic;
}

.qso-recorder-fieldset-error {
    border: 2px solid white;
    border-radius: 10px;
    padding: 0px;
    margin: 0px 0px 20px 0px;
    background-color: #3f4c84;
    box-shadow: 5px 15px 25px #111;
}
.qso-recorder-error {
    text-align: center;
    padding: 50px 20px;
    color: yellow;
    font-family: 'Oswald', sans-serif;
    font-size: 13pt;
    font-weight: 500;
}

.qso-recorder-error img {
    max-width: 400px;
    margin-top: 20px;
}
