.transcriber-container {
    max-width: 550px;
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: 1px solid rgba(138, 43, 226, 0.2); /* Púrpura sutil */
    color: #e5e7eb;
}

.transcriber-container h2 {
    text-align: center;
    color: #f3f4f6;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.intro {
    text-align: center;
    color: #9ca3af;
    margin-bottom: 30px;
    font-size: 16px;
}

.upload-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-wrapper label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background: #2d2d2d;
    border: 2px dashed #4b5563;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    font-size: 16px;
    color: #d1d5db;
    min-height: 60px;
    position: relative;
}

.file-input-wrapper label:hover,
.file-input-wrapper.drag-over {
    border-color: #00ffff; /* Cian neón */
    background: #374151;
    color: #00ffff;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.file-input-wrapper.drag-over {
    border-style: solid;
    background: #1f2937;
}

.drag-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 255, 255, 0.9); /* Cian neón */
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
    text-shadow: none;
}

.file-input-wrapper.drag-over .drag-message {
    opacity: 1;
    visibility: visible;
    animation: neonGlow 0.5s ease-in-out;
}

@keyframes neonGlow {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0; box-shadow: 0 0 5px rgba(0, 255, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.8); }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; box-shadow: 0 0 10px rgba(0, 255, 255, 0.6); }
}

.selected-file {
    display: none;
    text-align: center;
    margin-top: 10px;
    padding: 8px 12px;
    background: #1e3a8a; /* Azul oscuro */
    border: 1px solid #60a5fa;
    border-radius: 6px;
    color: #bfdbfe;
    font-size: 14px;
    font-weight: 500;
}

.selected-file.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.change-file-btn {
    background: none;
    border: 1px solid #00ffff;
    color: #00ffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.2s;
}

.change-file-btn:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.transcribe-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed); /* Púrpura */
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
    width: 100%;
}

.transcribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.note {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    margin-top: 25px;
    line-height: 1.5;
}

.loading {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border-radius: 12px;
    color: #bfdbfe;
    margin: 25px 0;
    animation: pulseGlow 1.5s infinite;
    font-weight: 500;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; box-shadow: 0 0 5px rgba(59, 130, 246, 0.3); }
    50% { opacity: 0.8; box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }
}

.transcript-result {
    background: linear-gradient(135deg, #111827, #1f2937);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #8b5cf6; /* Púrpura */
    margin-top: 25px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.transcript-result h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #e5e7eb;
    font-size: 20px;
    font-weight: 600;
}

.transcript-text {
    background: #1f2937;
    padding: 18px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.6;
    white-space: pre-wrap;
    border: 1px solid #374151;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
    color: white; /* Blanco para dark mode */
}

.error-box {
    background: linear-gradient(135deg, #7f1d1d, #991b1b);
    padding: 18px;
    border-radius: 12px;
    border-left: 4px solid #fca5a5;
    color: #fee2e2;
    margin-top: 25px;
    text-align: center;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .transcriber-container {
        margin: 20px;
        padding: 25px;
    }
    .transcriber-container h2 {
        font-size: 24px;
    }
    .drag-message {
        font-size: 16px;
        padding: 10px 20px;
    }
    
css.trim-notice {
    background: #fff3cd;
    padding: 10px;
    border-radius: 6px;
    color: #856404;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #ffeaa7;
}
}